|
| 1 | +# :package_description |
| 2 | + |
| 3 | +[](https://packagist.org/packages/vendor_slug/package_slug) |
| 4 | +[](https://github.com/vendor_slug/package_slug/actions?query=workflow%3Arun-tests+branch%3Amain) |
| 5 | +[](https://github.com/vendor_slug/package_slug/actions?query=workflow%3A"Check+%26+fix+styling"+branch%3Amain) |
| 6 | +[](https://packagist.org/packages/vendor_slug/package_slug) |
| 7 | + |
| 8 | +--- |
| 9 | +This repo can be used to scaffold a Laravel package. Follow these steps to get started: |
| 10 | + |
| 11 | +1. Press the "Use template" button at the top of this repo to create a new repo with the contents of this skeleton |
| 12 | +2. Run "./configure-skeleton.sh" to run a script that will replace all placeholders throughout all the files |
| 13 | +3. Remove this block of text. |
| 14 | +4. Have fun creating your package. |
| 15 | +5. If you need help creating a package, consider picking up our <a href="https://laravelpackage.training">Laravel Package Training</a> video course. |
| 16 | +--- |
| 17 | + |
| 18 | +This is where your description should go. Limit it to a paragraph or two. Consider adding a small example. |
| 19 | + |
| 20 | +## Support us |
| 21 | + |
| 22 | +[<img src="https://github-ads.s3.eu-central-1.amazonaws.com/:package_name.jpg?t=1" width="419px" />](https://spatie.be/github-ad-click/:package_name) |
| 23 | + |
| 24 | +We invest a lot of resources into creating [best in class open source packages](https://spatie.be/open-source). You can support us by [buying one of our paid products](https://spatie.be/open-source/support-us). |
| 25 | + |
| 26 | +We highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using. You'll find our address on [our contact page](https://spatie.be/about-us). We publish all received postcards on [our virtual postcard wall](https://spatie.be/open-source/postcards). |
| 27 | + |
| 28 | +## Installation |
| 29 | + |
| 30 | +You can install the package via composer: |
| 31 | + |
| 32 | +```bash |
| 33 | +composer require vendor_slug/package_slug |
| 34 | +``` |
| 35 | + |
| 36 | +You can publish and run the migrations with: |
| 37 | + |
| 38 | +```bash |
| 39 | +php artisan vendor:publish --provider="VendorName\Skeleton\SkeletonServiceProvider" --tag="package_slug-migrations" |
| 40 | +php artisan migrate |
| 41 | +``` |
| 42 | + |
| 43 | +You can publish the config file with: |
| 44 | +```bash |
| 45 | +php artisan vendor:publish --provider="VendorName\Skeleton\SkeletonServiceProvider" --tag="package_slug-config" |
| 46 | +``` |
| 47 | + |
| 48 | +This is the contents of the published config file: |
| 49 | + |
| 50 | +```php |
| 51 | +return [ |
| 52 | +]; |
| 53 | +``` |
| 54 | + |
| 55 | +## Usage |
| 56 | + |
| 57 | +```php |
| 58 | +$skeleton = new VendorName\Skeleton(); |
| 59 | +echo $skeleton->echoPhrase('Hello, Spatie!'); |
| 60 | +``` |
| 61 | + |
| 62 | +## Testing |
| 63 | + |
| 64 | +```bash |
| 65 | +composer test |
| 66 | +``` |
| 67 | + |
| 68 | +## Changelog |
| 69 | + |
| 70 | +Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently. |
| 71 | + |
| 72 | +## Contributing |
| 73 | + |
| 74 | +Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details. |
| 75 | + |
| 76 | +## Security Vulnerabilities |
| 77 | + |
| 78 | +Please review [our security policy](../../security/policy) on how to report security vulnerabilities. |
| 79 | + |
| 80 | +## Credits |
| 81 | + |
| 82 | +- [:author_name](https://github.com/:author_username) |
| 83 | +- [All Contributors](../../contributors) |
| 84 | + |
| 85 | +## License |
| 86 | + |
| 87 | +The MIT License (MIT). Please see [License File](LICENSE.md) for more information. |
0 commit comments