https://github.com/alun-price/package-skeleton-laravel
This package uses the Spatie package-skeleton-laravel base to build a contact form tutorial package.
https://github.com/alun-price/package-skeleton-laravel
Last synced: about 2 months ago
JSON representation
This package uses the Spatie package-skeleton-laravel base to build a contact form tutorial package.
- Host: GitHub
- URL: https://github.com/alun-price/package-skeleton-laravel
- Owner: Alun-Price
- License: mit
- Created: 2021-10-01T15:57:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-10-02T16:14:42.000Z (over 4 years ago)
- Last Synced: 2025-02-21T09:33:36.271Z (11 months ago)
- Language: PHP
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
- Security: .github/SECURITY.md
Awesome Lists containing this project
README
# contactformapi [tutorial]
[](https://packagist.org/packages/ecoonline/contactformapi)
[](https://github.com/ecoonline/contactformapi/actions?query=workflow%3Arun-tests+branch%3Amain)
[](https://github.com/ecoonline/contactformapi/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain)
[](https://packagist.org/packages/ecoonline/contactformapi)
This package uses the Spatie package-skeleton-laravel base to build a contact form tutorial package.
## Installation
You can install the package via composer:
```bash
composer require ecoonline/contactformapi
```
You can publish and run the migrations with:
```bash
php artisan vendor:publish --provider="EcoOnline\Contactformapi\ContactformapiServiceProvider" --tag="contactformapi-migrations"
php artisan migrate
```
You can publish the config file with:
```bash
php artisan vendor:publish --provider="EcoOnline\Contactformapi\ContactformapiServiceProvider" --tag="contactformapi-config"
```
This is the contents of the published config file:
```php
return [
];
```
## Usage
```php
$contactformapi = new EcoOnline\Contactformapi();
echo $contactformapi->echoPhrase('Hello, EcoOnline!');
```
## Testing
```bash
composer test
```
## Changelog
Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.
## Contributing
Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.
## Security Vulnerabilities
Please review [our security policy](../../security/policy) on how to report security vulnerabilities.
## Credits
- [alun-price](https://github.com/Alun-Price)
- [All Contributors](../../contributors)
## License
The MIT License (MIT). Please see [License File](LICENSE.md) for more information.