{"id":19771098,"url":"https://github.com/isaeken/plugin-system","last_synced_at":"2025-04-30T17:32:39.369Z","repository":{"id":40553867,"uuid":"308909071","full_name":"isaeken/plugin-system","owner":"isaeken","description":"Plugin system for your PHP projects","archived":false,"fork":false,"pushed_at":"2022-06-26T17:36:10.000Z","size":113,"stargazers_count":24,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T03:31:50.477Z","etag":null,"topics":["composer","extension","extension-system","library","packagist","php","php-plugin-system","plugin","plugin-system"],"latest_commit_sha":null,"homepage":"https://isaeken.github.io/plugin-system/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/isaeken.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-10-31T15:13:37.000Z","updated_at":"2024-08-31T01:35:05.000Z","dependencies_parsed_at":"2022-09-17T08:20:28.503Z","dependency_job_id":null,"html_url":"https://github.com/isaeken/plugin-system","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaeken%2Fplugin-system","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaeken%2Fplugin-system/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaeken%2Fplugin-system/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/isaeken%2Fplugin-system/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/isaeken","download_url":"https://codeload.github.com/isaeken/plugin-system/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251751301,"owners_count":21637899,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["composer","extension","extension-system","library","packagist","php","php-plugin-system","plugin","plugin-system"],"created_at":"2024-11-12T05:01:08.685Z","updated_at":"2025-04-30T17:32:39.062Z","avatar_url":"https://github.com/isaeken.png","language":"PHP","readme":"\n# Plugin System\n\n![Plugin System](https://banners.beyondco.de/Plugin%20System.png?theme=light\u0026packageManager=composer+require\u0026packageName=isaeken%2Fplugin-system\u0026pattern=architect\u0026style=style_1\u0026description=Make+plugins+to+your+script+and+make+it+flexible.\u0026md=1\u0026showWatermark=1\u0026fontSize=100px\u0026images=puzzle)\n\nMake and add own plugins to your script and make it flexible\n\n[![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)\n![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/github/isaeken/plugin-system)\n![GitHub](https://img.shields.io/github/license/isaeken/plugin-system)\n![Packagist PHP Version Support](https://img.shields.io/packagist/php-v/isaeken/plugin-system)\n![Packagist Version](https://img.shields.io/packagist/v/isaeken/plugin-system)\n\n## Features\n\n- Execute specific function for plugin(s) at the synchronously\n- Execute methods using arguments\n- Enable, disable or load plugins in runtime\n- Track method execution times\n\n## Installation\n\nInstall plugin-system with composer\n\n```bash \n  composer require isaeken/plugin-system\n```\n\n### Publish service provider and configs (Laravel)\n\n```bash\nphp artisan vendor:publish --provider=\"IsaEken\\PluginSystem\\PluginSystemServiceProvider\"\n```\n\nSet your configuration\n\n```php\n// config/plugins.php\n\u003c?php\n\nreturn [\n    'directory' =\u003e base_path('plugins'),\n    'namespace' =\u003e '',\n];\n```\n\nAdd service provider to ``config/app.php``\n```php\n\\IsaEken\\PluginSystem\\PluginSystemServiceProvider::class\n```\n\n## Usage\n\n```php\n$pluginSystem = new \\IsaEken\\PluginSystem\\PluginSystem();\n$pluginSystem-\u003eload(__DIR__ . '/plugins');\n$pluginSystem-\u003ehandle();\n```\n\n### Laravel\n\n```php\napp('plugins')-\u003ehandle();\n```\n\n## Running Tests\n\nTo run tests, run the following command\n\n```bash\n  composer run test\n```\n\n\n## Documentation\n\n[Documentation](https://isaeken.github.io/plugin-system)\n\n\n## Feedback \u0026 Support\n\nIf you have any feedback, please reach out to us at hello@isaeken.com.tr\n\n\n## Authors\n\n- [@isaeken](https://www.github.com/isaeken)\n\n\n## License\n\n[MIT](LICENSE.md)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaeken%2Fplugin-system","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fisaeken%2Fplugin-system","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fisaeken%2Fplugin-system/lists"}