Real-time facades in laravel are great, but they have a problem. When you use them, you quickly fall out of ide auto-completion and you are out of confidence. This package generates the facade file with enough doc-blocks to provide you with all the neat IDE helps. Nice?
It works exactly like the internal laravel realtime facades.
Sample Generated File:
composer require imanghafoori/smart-realtime-facades
Just prefix your class namespace path with
_Facades\ and convert the
:: then you are good to go.
In case you want to facadize
App\Services\MyKlass, change it to
(new MyKlass)->hi(); will turn into
If you find an issue or have a better way to do something, feel free to open an issue, or a pull request. If you use smart-realtime-facades in your open source project, create a pull request to provide its URL as a sample application in the README.md file.
If you discover any security-related issues, please email
firstname.lastname@example.org instead of using the issue tracker.
💎 It allows us to write expressive code to authorize, validate and authenticate.
💎 Find bugs before they bit.
The MIT License (MIT). Please see License File for more information.
Mock your eloquent queries without the repository pattern
The list of people from Iran who have contributed to the laravel framework
Fearless refactoring, it does a lot of smart checks to find certain errors.
A minimal package that helps you login with any password on local environments
Temporarily and Transparently, tag your eloquent models
Delete the obsolete cache files in the storage directory