saberliou / whetstone
A Laravel package with console commands like `php artisan make` for generating self-defined PHP blank classes.
Installs: 2 158
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 1
Forks: 0
Open Issues: 0
Requires
Requires (Dev)
- mockery/mockery: ^1.1
- orchestra/testbench: ~3.0
- phpunit/phpunit: ~7.0
- sempro/phpunit-pretty-print: ^1.0
README
A Laravel package with console commands like php artisan make
for generating self-defined PHP blank classes as below:
- Helper
- Presenter
- Repository
- Service
- ViewComposer
Installation
Via Composer
$ composer require saberliou/whetstone --dev
Usage
$ php artisan vendor:publish --provider="saberLiou\Whetstone\WhetstoneServiceProvider"
to decide the directory path of carved class by the namespace.
Commands
$ php artisan carve:helper $ php artisan carve:presenter $ php artisan carve:repository $ php artisan carve:service $ php artisan carve:view-composer
Change log
Please see the changelog for more information on what has changed recently.
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email saberliou@gmail.com instead of using the issue tracker.
Credits
License
MIT. Please see the license file for more information.