Skip to content

You can control user access from outside the called method, and you can also add listener classes before and after the method is called.

License

Notifications You must be signed in to change notification settings

hosseinsheikh-web/advanced-multifunction-facade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

advanced-multifunction-facade

You can control user access from outside the called method, and you can also add listener classes before and after the method is called.

How to install this facade?

composer require hosseinsheikh/advanced-multifunction-facade

How to use this facade?

  • Create simple Facade:

    php artisan palpalasi:make-facade {Facade name}
    
  • Create simple Facade with check authorization:

      php artisan palpalasi:make-facade {Facade name} {option}
    
  • All options are:

    • -a or --authorize
    • -c or --calling
    • -f or --full or -a && -c or --authorize && --calling
    • -h or --help
  • If you use the Facade name without the 'Facade' word in a command, this will be appended to the end of Facade name

About

You can control user access from outside the called method, and you can also add listener classes before and after the method is called.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages