PHPackages                             isaeken/plugin-system - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. isaeken/plugin-system

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

isaeken/plugin-system
=====================

Plugin support and management library for your project

2.0(3y ago)2615041MITPHPPHP ^8.1

Since Oct 31Pushed 3y ago2 watchersCompare

[ Source](https://github.com/isaeken/plugin-system)[ Packagist](https://packagist.org/packages/isaeken/plugin-system)[ Docs](https://www.isaeken.com.tr)[ RSS](/packages/isaeken-plugin-system/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)Dependencies (8)Versions (6)Used By (1)

Plugin System
=============

[](#plugin-system)

[![Plugin System](https://camo.githubusercontent.com/682b5b9fdf6dec425b75e7ad98ab7e5ed2ae63a288f0f6ed26f44aeccf49f407/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f506c7567696e25323053797374656d2e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d697361656b656e253246706c7567696e2d73797374656d267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4d616b652b706c7567696e732b746f2b796f75722b7363726970742b616e642b6d616b652b69742b666c657869626c652e266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d70757a7a6c65)](https://camo.githubusercontent.com/682b5b9fdf6dec425b75e7ad98ab7e5ed2ae63a288f0f6ed26f44aeccf49f407/68747470733a2f2f62616e6e6572732e6265796f6e64636f2e64652f506c7567696e25323053797374656d2e706e673f7468656d653d6c69676874267061636b6167654d616e616765723d636f6d706f7365722b72657175697265267061636b6167654e616d653d697361656b656e253246706c7567696e2d73797374656d267061747465726e3d617263686974656374267374796c653d7374796c655f31266465736372697074696f6e3d4d616b652b706c7567696e732b746f2b796f75722b7363726970742b616e642b6d616b652b69742b666c657869626c652e266d643d312673686f7757617465726d61726b3d3126666f6e7453697a653d313030707826696d616765733d70757a7a6c65)

Make and add own plugins to your script and make it flexible

[![run-tests](https://github.com/isaeken/plugin-system/actions/workflows/run-tests.yml/badge.svg)](https://github.com/isaeken/plugin-system/actions/workflows/run-tests.yml)[![Libraries.io dependency status for latest release](https://camo.githubusercontent.com/474ac2999cfa284aa18f8a4c42a66c80a9f0fda7c411af4fc74132745eda6ace/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f72656c656173652f6769746875622f697361656b656e2f706c7567696e2d73797374656d)](https://camo.githubusercontent.com/474ac2999cfa284aa18f8a4c42a66c80a9f0fda7c411af4fc74132745eda6ace/68747470733a2f2f696d672e736869656c64732e696f2f6c6962726172696573696f2f72656c656173652f6769746875622f697361656b656e2f706c7567696e2d73797374656d)[![GitHub](https://camo.githubusercontent.com/f0bbd9209bf2312192e6b529a2a4160fcd9376e9040abfff99d8278475360d09/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f697361656b656e2f706c7567696e2d73797374656d)](https://camo.githubusercontent.com/f0bbd9209bf2312192e6b529a2a4160fcd9376e9040abfff99d8278475360d09/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f697361656b656e2f706c7567696e2d73797374656d)[![Packagist PHP Version Support](https://camo.githubusercontent.com/26e7722150ad4bbe5118570cb8f30e33ee788be318ccce642c72bfc3e9433cf3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f697361656b656e2f706c7567696e2d73797374656d)](https://camo.githubusercontent.com/26e7722150ad4bbe5118570cb8f30e33ee788be318ccce642c72bfc3e9433cf3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f697361656b656e2f706c7567696e2d73797374656d)[![Packagist Version](https://camo.githubusercontent.com/c482173bd0e43f678a386b8b43101019506c5a20dff079a4d78d5116314a4567/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f697361656b656e2f706c7567696e2d73797374656d)](https://camo.githubusercontent.com/c482173bd0e43f678a386b8b43101019506c5a20dff079a4d78d5116314a4567/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f697361656b656e2f706c7567696e2d73797374656d)

Features
--------

[](#features)

- Execute specific function for plugin(s) at the synchronously
- Execute methods using arguments
- Enable, disable or load plugins in runtime
- Track method execution times

Installation
------------

[](#installation)

Install plugin-system with composer

```
  composer require isaeken/plugin-system
```

### Publish service provider and configs (Laravel)

[](#publish-service-provider-and-configs-laravel)

```
php artisan vendor:publish --provider="IsaEken\PluginSystem\PluginSystemServiceProvider"
```

Set your configuration

```
// config/plugins.php
