{"id":22238878,"url":"https://github.com/tomatophp/filament-artisan","last_synced_at":"2025-03-17T03:07:01.323Z","repository":{"id":232138643,"uuid":"783571285","full_name":"tomatophp/filament-artisan","owner":"tomatophp","description":"Simple but yet powerful library for running some artisan commands. this packages is a fork of artisan-gui with some custom for filament UI","archived":false,"fork":false,"pushed_at":"2024-09-17T16:35:20.000Z","size":3418,"stargazers_count":25,"open_issues_count":6,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-11T23:01:52.338Z","etag":null,"topics":["artisan","command","command-runner","filamentphp-plugin","manage-commands"],"latest_commit_sha":null,"homepage":"https://tomatophp.com/en/open-source/filament-artisan","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/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-08T06:45:14.000Z","updated_at":"2025-03-05T19:37:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"3d2b67a4-cb05-4642-9b11-0c3931e3d1b9","html_url":"https://github.com/tomatophp/filament-artisan","commit_stats":null,"previous_names":["tomatophp/filament-artisan"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomatophp%2Ffilament-artisan","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomatophp%2Ffilament-artisan/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomatophp%2Ffilament-artisan/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomatophp%2Ffilament-artisan/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomatophp","download_url":"https://codeload.github.com/tomatophp/filament-artisan/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243965771,"owners_count":20375917,"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":["artisan","command","command-runner","filamentphp-plugin","manage-commands"],"created_at":"2024-12-03T03:17:28.158Z","updated_at":"2025-03-17T03:07:01.304Z","avatar_url":"https://github.com/tomatophp.png","language":"PHP","funding_links":["https://github.com/sponsors/3x1io"],"categories":[],"sub_categories":[],"readme":"![Screenshot](https://raw.githubusercontent.com//tomatophp/filament-artisan/master/arts/3x1io-tomato-artisan.jpg)\n\n# Filament Artisan Command Runner\n\n[![Latest Stable Version](https://poser.pugx.org/tomatophp/filament-artisan/version.svg)](https://packagist.org/packages/tomatophp/filament-artisan)\n[![License](https://poser.pugx.org/tomatophp/filament-artisan/license.svg)](https://packagist.org/packages/tomatophp/filament-artisan)\n[![Downloads](https://poser.pugx.org/tomatophp/filament-artisan/d/total.svg)](https://packagist.org/packages/tomatophp/filament-artisan)\n\nSimple but yet powerful library for running some [artisan](https://laravel.com/docs/8.x/artisan) commands for FilamentPHP\n\n## Screenshots\n\n![Commands List](https://raw.githubusercontent.com/tomatophp/filament-artisan/master/arts/commands.png)\n![Commands Form](https://raw.githubusercontent.com/tomatophp/filament-artisan/master/arts/commands-form.png)\n![Commands Output](https://raw.githubusercontent.com/tomatophp/filament-artisan/master/arts/command-output.png)\n\n## Installation\n\n```bash\ncomposer require tomatophp/filament-artisan\n```\n\nfinally reigster the plugin on `/app/Providers/Filament/AdminPanelProvider.php`\n\n```php\n-\u003eplugin(\\TomatoPHP\\FilamentArtisan\\FilamentArtisanPlugin::make())\n```\n\n## Running command\n\nBy default, you can access this page only in local environment. If you wish\nyou can change `local` key in config.\n\nSimply go to `http://you-domain.com/PANEL/artisan` and here we go!\nSelect needed command from list, fill arguments and options/flags and hit `run` button.\n\n## Configuration\nDefault config is:\n```php \n\u003c?php\n\nreturn [\n\n    /*\n    |--------------------------------------------------------------------------\n    | Middleware list for web routes\n    |--------------------------------------------------------------------------\n    |\n    | You can pass any middleware for routes, by default it's just [web] group\n    | of middleware.\n    |\n    */\n    'middlewares' =\u003e [\n        'web',\n//        'auth'\n    ],\n\n    /*\n    |--------------------------------------------------------------------------\n    | Route prefix\n    |--------------------------------------------------------------------------\n    |\n    | Prefix for gui routes. By default url is [/~artisan-gui].\n    | For your wish you can set it for example 'my-'. So url will be [/my-artisan-gui].\n    |\n    | Why tilda? It's selected for prevent route names correlation.\n    |\n    */\n    'prefix' =\u003e '~',\n\n    /*\n    |--------------------------------------------------------------------------\n    | Home url\n    |--------------------------------------------------------------------------\n    |\n    | Where to go when [home] button is pressed\n    |\n    */\n    'home' =\u003e '/',\n\n    /*\n    |--------------------------------------------------------------------------\n    | Only on local\n    |--------------------------------------------------------------------------\n    |\n    | Flag that preventing showing commands if environment is on production\n    |\n    */\n    'local' =\u003e true,\n\n    /*\n    |--------------------------------------------------------------------------\n    | List of commands\n    |--------------------------------------------------------------------------\n    |\n    | List of all default commands that has end of execution. Commands like\n    | [serve] not supported in case of server side behavior of php.\n    | Keys means group. You can shuffle commands as you wish and add your own.\n    |\n    */\n    'commands' =\u003e [\n        // ...\n    ]\n\n];\n\n```\n\n\nand now clear cache\n\n```bash\nphp artisan optimize:clear\n```\n\n\n## Publish Assets\n\nyou can publish config file by use this command\n\n```bash\nphp artisan vendor:publish --tag=\"filament-artisan-config\"\n```\n\nyou can publish views file by use this command\n\n```bash\nphp artisan vendor:publish --tag=\"filament-artisan-views\"\n```\n\nyou can publish languages file by use this command\n\n```bash\nphp artisan vendor:publish --tag=\"filament-artisan-lang\"\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-artisan","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomatophp%2Ffilament-artisan","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomatophp%2Ffilament-artisan/lists"}