van / laravel-plugin
v1.0.7
2022-01-27 03:49 UTC
Requires
- php: >=7.4.0
- ext-zip: *
- laravel/framework: ~6.0|~7.0|~8.0|~9.0|9.*
Requires (Dev)
- orchestra/testbench: ^4.0|^5.0|^6.0
- phpunit/phpunit: ^8.0
README
中文文档
About Laravel Plugin
Laravel Plugin is a plugin mechanism solution for developers who need to build their own ecosystem,With it you can build a wordpress-like ecosystem. It can help you as follows:
- Load plugins based on service registration.
- Through the command line, plugin developers can easily and quickly build plugins and upload plug-ins to the plugin market.
- Provides plugin composer package support. Reference composer separately in the created plugin.
- Execute the logic of plugin installation, uninstallation, enable, and disable in the way of event monitoring. Easy for developers to expand.
- Slot-style plugin market support, by modifying the configuration file, developers can seamlessly connect to their own plugin market.
- Comes with a basic plugin marketplace, where developers can upload plugins and review them.
- Supports multiple versions of plugins.
Requirement
- php >= 7.4
- laravel >= 6.0
installation
- Step 1
composer require yxx/laravel-plugin
- Step 2
php artisan vendor:publish --provider="Van\LaravelPlugin\Providers\PluginServiceProvider"