facade please
ve this
グローバルにアクセス可能な方法のファサードを作成したい場合もありますが、いくつかのステップを踏む必要があるため、やりたいと思っていません。ファサードをお願いします!問題を解決するためのLaravelパッケージであり、1つのコマンドだけで、ファサードが使用できます!
composer require nauvalazhar/facade-please
config/app.phpに追加します
'providers' => [
...
NauvalazharFacadePleaseFacadePleaseServiceProvider::class,
php artisan facade usage
php artisan facade:please YourFacade
生成されたファサードは、デフォルトでapp/MyFacadesフォルダーに保存されますが、 config/facadeplease.phpファイルの宛先フォルダーを変更できます。それを行う前に、このステップを実行する必要があります。
php artisan facade:delete YourFacade
php artisan facade:list
php artisan facade:diag YourFacade [--methods] [--public] [--private]
php artisan vendor:publish --tag=facadeplease
0.2.0 - Hope you love this
-----
New
---
- Optional argument for command: php artisan facade
- Automatically adds a comma at the end of the provider array element and aliases array in `config/app.php`
- Added a new command to list all facades
- Added a new command to diagnose the facade
- Added new command for usage
Changes
-------
- Add 'require' in composer.json
- Some changes to the 'php artisan facade' command
- Some changes to the 'php artisan facade:delete' command
0.1.1 - Initial release
-----
Fix
---
- fix Composer.json
0.1.0 - First release (Don't use this)
- First commit
助けてくれた@Rizalioに感謝します!
MITライセンス