saberliou/whetstone

A Laravel package with console commands like `php artisan make` for generating self-defined PHP blank classes.

1.0.13 2018-12-12 16:57 UTC

This package is auto-updated.

Last update: 2024-12-15 08:20:49 UTC


README

Latest Version on Packagist Total Downloads Total Downloads Total Downloads

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.