{"id":16955480,"url":"https://github.com/xammie/make-commands","last_synced_at":"2025-12-30T05:59:27.284Z","repository":{"id":41874167,"uuid":"458123906","full_name":"Xammie/make-commands","owner":"Xammie","description":"Extended laravel make commands","archived":true,"fork":false,"pushed_at":"2023-10-09T10:21:53.000Z","size":76,"stargazers_count":9,"open_issues_count":2,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-16T14:20:02.303Z","etag":null,"topics":["artisan-commands","laravel","php"],"latest_commit_sha":null,"homepage":"https://hoogenbos.ch/blog/extended-make-commands-in-laravel/","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/Xammie.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":".github/SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"Xammie"}},"created_at":"2022-02-11T09:35:07.000Z","updated_at":"2025-01-10T22:23:24.000Z","dependencies_parsed_at":"2024-10-13T22:12:26.881Z","dependency_job_id":null,"html_url":"https://github.com/Xammie/make-commands","commit_stats":{"total_commits":50,"total_committers":4,"mean_commits":12.5,"dds":0.56,"last_synced_commit":"76917a7c5b05bac2e5bceda72ac6a592e07a85ab"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":"spatie/package-skeleton-laravel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xammie%2Fmake-commands","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xammie%2Fmake-commands/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xammie%2Fmake-commands/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Xammie%2Fmake-commands/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Xammie","download_url":"https://codeload.github.com/Xammie/make-commands/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244962908,"owners_count":20539242,"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-commands","laravel","php"],"created_at":"2024-10-13T22:12:25.453Z","updated_at":"2025-12-12T20:02:18.349Z","avatar_url":"https://github.com/Xammie.png","language":"PHP","funding_links":["https://github.com/sponsors/Xammie"],"categories":[],"sub_categories":[],"readme":"# Extended make commands for laravel\n\n[![Latest Version on Packagist](https://img.shields.io/packagist/v/xammie/make-commands.svg?style=flat-square)](https://packagist.org/packages/xammie/make-commands)\n[![GitHub Tests Action Status](https://img.shields.io/github/actions/workflow/status/xammie/make-commands/run-tests.yml?branch=main\u0026label=tests\u0026style=flat-square)](https://github.com/xammie/make-commands/actions?query=workflow%3Arun-tests+branch%3Amain)\n[![GitHub Code Style Action Status](https://img.shields.io/github/actions/workflow/status/xammie/make-commands/pint.yml?branch=main\u0026label=code%20style\u0026style=flat-square)](https://github.com/xammie/make-commands/actions?query=workflow%3A\"Fix+PHP+code+style+issues\"+branch%3Amain)\n[![Total Downloads](https://img.shields.io/packagist/dt/xammie/make-commands.svg?style=flat-square)](https://packagist.org/packages/xammie/make-commands)\n\nThis package extends the default laravel make commands to create classes like actions, services, enums and more.\n\n```bash\nphp artisan make:action CreateUserAction\n```\n\nThis will create the file `app/Actions/CreateUserAction.php`\n\n```php\n\u003c?php\n\nnamespace App\\Actions;\n\nclass CreateUserAction\n{\n    public function handle()\n    {\n        //\n    }\n}\n```\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require --dev xammie/make-commands\n```\n\nYou can publish the stubs with:\n\n```bash\nphp artisan vendor:publish --tag=\"make-commands-stubs\"\n```\n\nYou can publish the config file with:\n\n```bash\nphp artisan vendor:publish --tag=\"make-commands-config\"\n```\n\nThis is the contents of the published config file:\n\n```php\nreturn [\n    'namespaces' =\u003e [\n        'action' =\u003e 'Actions',\n        'collection' =\u003e 'Collections',\n        'config' =\u003e 'config',\n        'contract' =\u003e 'Contracts',\n        'dto' =\u003e 'Dtos',\n        'enum' =\u003e 'Enums',\n        'interface' =\u003e 'Interfaces',\n        'repository' =\u003e 'Repositories',\n        'service' =\u003e 'Services',\n        'trait' =\u003e 'Traits',\n    ],\n];\n```\n\n## Usage\n\nThe following commands are available.\n\n```\nphp artisan make:action CreateUserAction\nphp artisan make:collection OrderCollection\nphp artisan make:config config-file\nphp artisan make:contract CreatesUserContract\nphp artisan make:dto RestRequestObject\nphp artisan make:enum OrderStatusEnum\nphp artisan make:interface OrderRepositoryInterface\nphp artisan make:repository OrderRepository\nphp artisan make:service PaymentService\nphp artisan make:trait TraitHelper\n```\n\n## Testing\n\n```bash\ncomposer test\n```\n\n## Changelog\n\nPlease see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.\n\n## Contributing\n\nPlease see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.\n\n## Security Vulnerabilities\n\nPlease review [our security policy](../../security/policy) on how to report security vulnerabilities.\n\n## Credits\n\n- [Max Hoogenbosch](https://github.com/Xammie)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxammie%2Fmake-commands","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxammie%2Fmake-commands","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxammie%2Fmake-commands/lists"}