{"id":22238638,"url":"https://github.com/tomatophp/filament-plugins","last_synced_at":"2025-04-23T17:46:22.400Z","repository":{"id":233255518,"uuid":"786381402","full_name":"tomatophp/filament-plugins","owner":"tomatophp","description":"Manage your modules as a plugin system with plugin generator","archived":false,"fork":false,"pushed_at":"2024-09-26T10:07:26.000Z","size":4769,"stargazers_count":43,"open_issues_count":2,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-22T06:57:27.226Z","etag":null,"topics":["filamentphp","filamentphp-plugin","filamentphp-plugin-manager","hmvc","laravel","laravel-modules","modules","plugins","plugins-list"],"latest_commit_sha":null,"homepage":"https://tomatophp.com/en/open-source/filament-plugins","language":"Dart","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/tomatophp.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":["3x1io"]}},"created_at":"2024-04-14T09:34:47.000Z","updated_at":"2025-03-21T15:05:41.000Z","dependencies_parsed_at":"2024-04-22T12:30:04.126Z","dependency_job_id":"27487b3b-249e-40d5-aade-5a6a7887eb9a","html_url":"https://github.com/tomatophp/filament-plugins","commit_stats":null,"previous_names":["tomatophp/filament-plugins"],"tags_count":23,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomatophp%2Ffilament-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomatophp%2Ffilament-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomatophp%2Ffilament-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomatophp%2Ffilament-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomatophp","download_url":"https://codeload.github.com/tomatophp/filament-plugins/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245040693,"owners_count":20551308,"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":["filamentphp","filamentphp-plugin","filamentphp-plugin-manager","hmvc","laravel","laravel-modules","modules","plugins","plugins-list"],"created_at":"2024-12-03T03:17:10.302Z","updated_at":"2025-03-23T01:07:47.122Z","avatar_url":"https://github.com/tomatophp.png","language":"Dart","funding_links":["https://github.com/sponsors/3x1io"],"categories":["Plugins List"],"sub_categories":["Filament Plugins"],"readme":"![Screenshot](https://raw.githubusercontent.com/tomatophp/filament-plugins/master/arts/3x1io-tomato-plugins.jpg)\n\n# Filament Plugins Manager \u0026 Generator \n\n[![Latest Stable Version](https://poser.pugx.org/tomatophp/filament-plugins/version.svg)](https://packagist.org/packages/tomatophp/filament-plugins)\n[![License](https://poser.pugx.org/tomatophp/filament-plugins/license.svg)](https://packagist.org/packages/tomatophp/filament-plugins)\n[![Downloads](https://poser.pugx.org/tomatophp/filament-plugins/d/total.svg)](https://packagist.org/packages/tomatophp/filament-plugins)\n\nManage your modules as a plugin system with plugin generator\n\n## Screenshots\n\n![Plugins](https://raw.githubusercontent.com/tomatophp/filament-plugins/master/arts/plugins.png)\n![Tables](https://raw.githubusercontent.com/tomatophp/filament-plugins/master/arts/tables.png)\n![Generate](https://raw.githubusercontent.com/tomatophp/filament-plugins/master/arts/generate.png)\n![Create Col](https://raw.githubusercontent.com/tomatophp/filament-plugins/master/arts/create-col.png)\n![Table cols](https://raw.githubusercontent.com/tomatophp/filament-plugins/master/arts/table-cols.png)\n\n## Installation\n\n```bash\ncomposer require tomatophp/filament-plugins\n```\nafter install your package please run this command\n\n```bash\nphp artisan filament-plugins:install\n```\n\nBy default the module classes are not loaded automatically. You can autoload your modules by adding merge-plugin to the extra section:\n\n```json\n\"extra\": {\n    \"laravel\": {\n        \"dont-discover\": []\n    },\n    \"merge-plugin\": {\n        \"include\": [\n            \"Modules/*/composer.json\"\n        ]\n    }\n},\n```\n\nnow you need to run this command to autoload your modules\n\n```bash\ncomposer dump-autoload\n```\n\nfinally reigster the plugin on `/app/Providers/Filament/AdminPanelProvider.php`\n\n```php\n-\u003eplugin(\\TomatoPHP\\FilamentPlugins\\FilamentPluginsPlugin::make())\n```\n\n## Usage\n\nyou can create a new plugin using just a command\n\n```bash\nphp artisan filament-plugins:generate\n```\n\nor you can use the GUI to create a new plugin, after create a plugin you need to make sure that it's loaded on composer by run this command\n\n```bash\ncomposer dump-autoload\n```\n\nafter create the plugin you can create a new table inside it and than run the migration generator to convert it to a migration file then you can use the GUI to generate resources, pages, widget or model, or you can easy use this commands\n\n```bash\nphp artisan filament-plugins:model\nphp artisan filament-plugins:resource\nphp artisan filament-plugins:page\nphp artisan filament-plugins:widget\n```\n\nit will generate the files for you and you can use it directly, please note that you need to generate the model first than use other commands\n\n## Install Plugins using command line\n\nyou can install a plugins using the command line by using this command\n\n```bash\nphp artisan filament:plugins\n```\n\nyou can select all to install all TomatoPHP ecosystem plugins or you can select the plugin you want to install\n\n## List of all TomatoPHP Plugins\n\nyou can list all TomatoPHP plugins by using this command\n\n```bash\nphp artisan filament-plugins:list\n```\n\n## List your package on the plugins list\n\nyou can list your package on the plugins list by adding this a json file in your package root folder with name `module.json` with content like this:\n\n```json\n{\n    \"name\": \"FilamentAccounts\",\n    \"alias\": \"filament-accounts\",\n    \"description\": {\n        \"ar\": \"full accounts manager with API\\/Notifications\\/Contacts to manage your contacts and accounts\",\n        \"en\": \"full accounts manager with API\\/Notifications\\/Contacts to manage your contacts and accounts\",\n        \"gr\": \"full accounts manager with API\\/Notifications\\/Contacts to manage your contacts and accounts\",\n        \"sp\": \"full accounts manager with API\\/Notifications\\/Contacts to manage your contacts and accounts\"\n    },\n    \"keywords\": [],\n    \"priority\": 0,\n    \"providers\": [\n        \"TomatoPHP\\\\FilamentAccounts\\\\FilamentAccountsServiceProvider\"\n    ],\n    \"files\": [],\n    \"title\": {\n        \"ar\": \"Filament Accounts\",\n        \"en\": \"Filament Accounts\",\n        \"gr\": \"Filament Accounts\",\n        \"sp\": \"Filament Accounts\"\n    },\n    \"color\": \"#007dff\",\n    \"icon\": \"heroicon-c-user-circle\",\n    \"placeholder\": \"placeholder.webp\",\n    \"type\": \"lib\",\n    \"version\": \"v1.0\",\n    \"github\" : \"https://github.com/tomatophp/filament-accounts\",\n    \"docs\" : \"https://github.com/tomatophp/filament-accounts\"\n}\n```\n\nmake sure you allow packages scan on the `filament-plugins.php` config file\n\n```php\n'scan' =\u003e true\n```\n\nnow you can publish your package as module with the very easy way use this command\n\n```php\nphp artisan filament-plugins:publish\n```\n\nand input your package name from the list and it will move it to your module folder and register the provider to you, so you can custom anything you like on the package.\n\n## Use Selected Module in your panel\n\nyou can use the selected module in your panel by using this code in your PanelProvider\n\n```php\n-\u003eplugin(\\TomatoPHP\\FilamentPlugins\\FilamentPluginsPlugin::make()-\u003emodules([\n    'CRM'\n]))\n```\n\nso you will see only the selected modules in your panel\n\n## Get Only Current Panel Plugins\n\non any plugin you can create a Page/Resource/Widget for selected panel, so if you need to showup only the current panel Page/Resources/Widgets you can use this code in your PanelProvider\n\n```php\n-\u003eplugin(\\TomatoPHP\\FilamentPlugins\\FilamentPluginsPlugin::make()-\u003ediscoverCurrentPanelOnly())\n```\n\n## Stop Auto Discover Module Resources\n\nyou can stop auto-load module resources by using this code in your PanelProvider\n\n```php\n-\u003eplugin(\\TomatoPHP\\FilamentPlugins\\FilamentPluginsPlugin::make()-\u003eautoDiscoverModules(false))\n```\n\n## Stop Using Plugins UI\n\nyou can stop using the plugins UI by using this code in your PanelProvider\n\n```php\n-\u003eplugin(\\TomatoPHP\\FilamentPlugins\\FilamentPluginsPlugin::make()-\u003euseUI(false))\n```\n\n## Publish Assets\n\nyou can publish config file by use this command\n\n```bash\nphp artisan vendor:publish --tag=\"filament-plugins-config\"\n```\n\nyou can publish views file by use this command\n\n```bash\nphp artisan vendor:publish --tag=\"filament-plugins-views\"\n```\n\nyou can publish languages file by use this command\n\n```bash\nphp artisan vendor:publish --tag=\"filament-plugins-lang\"\n```\n\nyou can publish migrations file by use this command\n\n```bash\nphp artisan vendor:publish --tag=\"filament-plugins-migrations\"\n```\n\n## Other Filament Packages\n\nCheckout our [Awesome TomatoPHP](https://github.com/tomatophp/awesome)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomatophp%2Ffilament-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomatophp%2Ffilament-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomatophp%2Ffilament-plugins/lists"}