Package Data | |
---|---|
Maintainer Username: | nauvalazhar |
Maintainer Contact: | nauvalazhar2@gmail.com (Muhamad Nauval Azhar) |
Package Create Date: | 2017-08-31 |
Package Last Update: | 2017-09-05 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-12-15 15:04:24 |
Package Statistics | |
---|---|
Total Downloads: | 546 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 2 |
Total Watchers: | 3 |
Total Forks: | 2 |
Total Open Issues: | 0 |
Sometimes you want to create a facade for globally accessible method, but you don't like doing it because you have to take a few steps. Facade, please! is a laravel package to solve your problem, just one command and your facade is ready to use!
composer require nauvalazhar/facade-please
Add to config/app.php
'providers' => [
...
Nauvalazhar\FacadePlease\FacadePleaseServiceProvider::class,
php artisan facade usage
php artisan facade:please YourFacade
The Generated facade will be stored in the app/MyFacades
folder by default, but you can change the destination folder in the config/facadeplease.php
file. Before doing that, you need to do this step.
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
Thanks to @rizalio for any help!
MIT License