{"id":23311915,"url":"https://github.com/lozemc/laravel-actions","last_synced_at":"2026-04-17T03:02:35.259Z","repository":{"id":224372857,"uuid":"763097892","full_name":"lozemc/laravel-actions","owner":"lozemc","description":"Simple command to create Actions class in Laravel","archived":false,"fork":false,"pushed_at":"2024-04-21T17:31:45.000Z","size":10,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-13T09:53:02.169Z","etag":null,"topics":["action","actions","command","commands","laravel"],"latest_commit_sha":null,"homepage":"","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/lozemc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-25T14:57:13.000Z","updated_at":"2024-04-21T09:09:12.000Z","dependencies_parsed_at":"2024-04-19T15:59:54.313Z","dependency_job_id":"65820434-396b-4e45-ac45-90b15856b9e7","html_url":"https://github.com/lozemc/laravel-actions","commit_stats":null,"previous_names":["lozemc/laravel-actions"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lozemc%2Flaravel-actions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lozemc%2Flaravel-actions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lozemc%2Flaravel-actions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lozemc%2Flaravel-actions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lozemc","download_url":"https://codeload.github.com/lozemc/laravel-actions/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247578621,"owners_count":20961270,"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":["action","actions","command","commands","laravel"],"created_at":"2024-12-20T14:17:16.428Z","updated_at":"2026-04-17T03:02:30.207Z","avatar_url":"https://github.com/lozemc.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Action Command\n\n## Installation\n\nTo get started with Laravel Action Command, simply require the package\nvia [Composer](https://packagist.org/packages/lozemc/laravel-actions):\n\n```bash\ncomposer require lozemc/laravel-actions\n```\n\u003cbr\u003e\u003cbr\u003e\n### Installation for Laravel 10.x\n\nNext, add the following line to the $commands array in your `/app/Console/Kernel.php` file:\n\n```php\nprotected $commands = [\n    \n    // ...\n\n    \\App\\Console\\Commands\\ActionMakeCommand::class,\n];\n```\n\nIf the protected $commands array does not exist, you will need to add it.\n\u003cbr\u003e\u003cbr\u003e\u003cbr\u003e\n### Installation for Laravel 11.x\n\nThen add the following line to the returned array in `/bootstrap/providers.php`:\n```php\nreturn [\n\n    // ...\n\n    \\Lozemc\\Actions\\Providers\\MakeActionProvider::class,\n];\n```\n\u003cbr\u003e\n\n## Usage\n\nOnce installed and configured, you can use the artisan command to create a new action:\n\n```bash\nphp artisan make:action UpdatePostAction\n```\n\nThis will generate a new action class named `UpdatePostAction` in the `App\\Actions` namespace. You can then implement\nyour business logic within this action class.\n\n### Other\n- [Laravel Service Command](https://github.com/lozemc/laravel-services)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flozemc%2Flaravel-actions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flozemc%2Flaravel-actions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flozemc%2Flaravel-actions/lists"}