Downloads
Stars
Version
To install through Composer, by run the following command:
composer require hyperbolaa/laravel-plugins
The package will automatically register a service provider and alias.
Optionally, publish the package's configuration file by running:
php artisan vendor:publish --provider="Hyperbolaa\Plugins\LaravelPluginsServiceProvider"
By default, the plugin classes are not loaded automatically. You can autoload your plugins using psr-4
. For example:
{
"autoload": {
"psr-4": {
"App\\": "app/",
"Plugins\\": "Plugins/"
}
}
}
Tip: don't forget to run composer dump-autoload
afterwards.
You'll find installation instructions and full documentation on https://fresns.cn/plugins/.
The MIT License (MIT). Please see License File for more information.