van/laravel-plugin

v1.0.7 2022-01-27 03:49 UTC

This package is auto-updated.

Last update: 2025-04-27 10:38:09 UTC


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"