{"id":19519976,"url":"https://github.com/chrispecoraro/mega-make","last_synced_at":"2025-08-09T16:15:54.283Z","repository":{"id":56952498,"uuid":"78421658","full_name":"chrispecoraro/mega-make","owner":"chrispecoraro","description":"\"php artisan make:all\" for Laravel 5.5+","archived":false,"fork":false,"pushed_at":"2017-09-24T22:24:10.000Z","size":25,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-26T07:35:30.190Z","etag":null,"topics":["controllers","laravel","laravel-5-package","models","scaffolding"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chrispecoraro.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-09T11:11:36.000Z","updated_at":"2019-11-15T14:16:41.000Z","dependencies_parsed_at":"2022-08-21T09:20:20.636Z","dependency_job_id":null,"html_url":"https://github.com/chrispecoraro/mega-make","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chrispecoraro/mega-make","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispecoraro%2Fmega-make","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispecoraro%2Fmega-make/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispecoraro%2Fmega-make/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispecoraro%2Fmega-make/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrispecoraro","download_url":"https://codeload.github.com/chrispecoraro/mega-make/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrispecoraro%2Fmega-make/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269600423,"owners_count":24444927,"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","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["controllers","laravel","laravel-5-package","models","scaffolding"],"created_at":"2024-11-11T00:23:04.316Z","updated_at":"2025-08-09T16:15:54.215Z","avatar_url":"https://github.com/chrispecoraro.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Megamake for Laravel\r\n\r\nLaravel's `php artisan make:` on steroids\r\n\r\n`artisan mega:make Department` produces:\r\n\r\n\r\n```php\r\n /**\r\n     * Display a listing of the Department resource.\r\n     *\r\n     * @return \\Illuminate\\Http\\Response\r\n     */\r\n    public function index(): ResourceCollection\r\n    {\r\n        return new DepartmentResourceCollection(Department::all());\r\n    }\r\n\r\n    /**\r\n     * Store a newly created Department resource in storage.\r\n     *\r\n     * @param  \\Illuminate\\Http\\Request $request\r\n     * @return \\Illuminate\\Http\\Response\r\n     */\r\n    public function store(Request $request): Response\r\n    {\r\n        $input = $request-\u003evalidate([\r\n            // TODO\r\n            // write validator\r\n        ]);\r\n        $department = Department::create($input-\u003etoArray());\r\n\r\n        return response($department, 201);\r\n    }\r\n\r\n```\r\n\r\nThe `mega:make` artisan command creates most of the various pieces of a Laravel 5.5 entity, adding boilerplate code and `//TODO`'s, giving you an extra boost, eliminating extra typing.\r\n\r\n* A Model\r\n* A Model Factory\r\n* A Seeder\r\n* A Migration\r\n* A Resource Controller\r\n* A Single API Resource\r\n* An API Resource Collection\r\n* A Test\r\n\r\nAuthors:\r\n* [Christopher Pecoraro](https://github.com/chrispecoraro) - [@chris__pecoraro](https://twitter.com/chris__pecoraro)\r\n* [Dylan De Souza](https://github.com/dylan-dpc) - [@DPC_22](https://twitter.com/dpc_22)\r\n\r\n_This package was created in loving memory of my father, Dr. George Anthony Pecoraro._\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrispecoraro%2Fmega-make","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrispecoraro%2Fmega-make","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrispecoraro%2Fmega-make/lists"}