radiocubito / laravel-package-tools
Useful tools to help you with your next Laravel package.
Fund package maintenance!
radiocubito
Requires
- php: ^7.4
- illuminate/contracts: ^8.0
- mnapoli/silly: ^1.7
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16
- orchestra/testbench: ^6.0
- phpunit/phpunit: ^9.3
- spatie/phpunit-snapshot-assertions: ^4.2
- vimeo/psalm: ^3.11
This package is auto-updated.
Last update: 2021-10-16 14:42:18 UTC
README
This package is entirely based on BeyondCodes's laravel-package-tools package.
Gives you the make: commands that you know and love from Laravel - outside of Laravel. Ready to use in your next package.
Installation
You can install the package via composer:
composer require radiocubito/laravel-package-tools
Usage
You can use this package from the root of the package that you are developing. You can use the pkg-tools binary to create and scaffold new classes.
The package will automatically detect your namespace from your composer.json autoload configuration and apply it to the generated files.
Available commands
./vendor/bin/pkg-tools make:command name [--command=] [--force]
./vendor/bin/pkg-tools make:request name [--force]
./vendor/bin/pkg-tools make:job name [--sync] [--force]
./vendor/bin/pkg-tools make:event name [--force]
./vendor/bin/pkg-tools make:notification name [--force]
./vendor/bin/pkg-tools make:rule name [--force]
./vendor/bin/pkg-tools make:controller name [--force]
./vendor/bin/pkg-tools make:livewire name [--force]
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.