hyperbolaa/laravel-plugins

Laravel plugin management

Downloads

1

Stars

1

Version

Laravel-Plugins

Install

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"

Autoloading

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.

Documentation

You'll find installation instructions and full documentation on https://fresns.cn/plugins/.

License

The MIT License (MIT). Please see License File for more information.

hyperbolaa

Author

hyperbolaa