gsaulmon / laravel-facade-dump
Creates a JSON dump of Laravel's Facade structure. Meant for generating up to date cheat sheets
Requires
- php: >=5.3.0
- illuminate/console: 4.x
- illuminate/filesystem: 4.x
- illuminate/support: 4.x
- phpdocumentor/reflection-docblock: 2.0.0
- symfony/class-loader: ~2.3
This package is not auto-updated.
Last update: 2020-01-20 07:16:14 UTC
README
Create a json dump of Laravel's Facade structure. Meant for having an auto updated cheat sheet
Require this package in your composer.json and run composer update:
"gsaulmon/laravel-facade-dump": "dev-master"
After updating composer, add the ServiceProvider to the providers array in app/config/app.php
'Gsaulmon\LaravelFacadeDump\FacadeDumpServiceProvider',
You can now create the json dump
php artisan facade-dump
Note: bootstrap/compiled.php has to be cleared first, so run php artisan clear-compiled
before generating (and php artisan optimize
after..)
You can also publish the config-file to change implementations (ie. interface to specific class) or add an override
php artisan config:publish gsaulmon/laravel-facade-dump
https://github.com/barryvdh/laravel-ide-helper was used as the base for this module & I highly recommend it for IDE auto-completion.