2017 © Pedro Peláez
 

library facade-please

Laravel 5 Facade Generator

image

nauvalazhar/facade-please

Laravel 5 Facade Generator

  • Tuesday, September 5, 2017
  • by nauvalazhar
  • Repository
  • 2 Watchers
  • 2 Stars
  • 140 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 21 % Grown

The README.md

Facade, please!

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!, (*1)

Requirements

  • PHP >= 5.6.*
  • Laravel 5

Installation

composer require nauvalazhar/facade-please

Add to config/app.php, (*2)

'providers' => [
  ...
  Nauvalazhar\FacadePlease\FacadePleaseServiceProvider::class,

Usage

Usage List

php artisan facade usage

Create

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., (*3)

Delete

php artisan facade:delete YourFacade

List All Facades

php artisan facade:list

Get Facade Information

php artisan facade:diag YourFacade [--methods] [--public] [--private]

Configuration

php artisan vendor:publish --tag=facadeplease

Changelogs

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

Credits

Thanks to @rizalio for any help!, (*4)

License

MIT License, (*5)

The Versions

05/09 2017

dev-master

9999999-dev

Laravel 5 Facade Generator

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Muhamad Nauval Azhar

generator facade

01/09 2017

0.2.0

0.2.0.0

Laravel 5 Facade Generator

  Sources   Download

MIT

The Requires

  • php >=5.6.0

 

by Muhamad Nauval Azhar

generator facade

01/09 2017

0.1.1

0.1.1.0

Laravel 5 Facade Generator

  Sources   Download

MIT

by Muhamad Nauval Azhar

generator facade

31/08 2017

0.1.0

0.1.0.0

Laravel 5 Facade Generator

  Sources   Download

MIT

by Muhamad Nauval Azhar