{"id":33981915,"url":"https://github.com/techindeck/laravel-module-generator","last_synced_at":"2025-12-13T03:51:45.749Z","repository":{"id":62041054,"uuid":"557308190","full_name":"techindeck/laravel-module-generator","owner":"techindeck","description":"Create laravel application modules followed by CLEAN pattern","archived":false,"fork":false,"pushed_at":"2023-03-13T22:31:20.000Z","size":33,"stargazers_count":22,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"1.x","last_synced_at":"2025-11-23T06:23:45.841Z","etag":null,"topics":["clean-architecture","laravel","laravel-api","solid-principles"],"latest_commit_sha":null,"homepage":null,"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/techindeck.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,"publiccode":null,"codemeta":null}},"created_at":"2022-10-25T13:03:46.000Z","updated_at":"2025-10-22T01:16:35.000Z","dependencies_parsed_at":"2024-11-17T03:41:26.942Z","dependency_job_id":"82ff3af7-b517-4fa0-b4bc-73d6897fe65e","html_url":"https://github.com/techindeck/laravel-module-generator","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"5097e66b19dbe5e9d29ebdc74fdb29866489331d"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/techindeck/laravel-module-generator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techindeck%2Flaravel-module-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techindeck%2Flaravel-module-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techindeck%2Flaravel-module-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techindeck%2Flaravel-module-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techindeck","download_url":"https://codeload.github.com/techindeck/laravel-module-generator/tar.gz/refs/heads/1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techindeck%2Flaravel-module-generator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27699671,"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-12-13T02:00:09.769Z","response_time":147,"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":["clean-architecture","laravel","laravel-api","solid-principles"],"created_at":"2025-12-13T03:51:45.162Z","updated_at":"2025-12-13T03:51:45.739Z","avatar_url":"https://github.com/techindeck.png","language":"PHP","readme":"# laravel-module-generator\n\nCreate laravel application modules inspired by CLEAN design pattern\n\n[Latest Version on Packagist](https://packagist.org/packages/techindeck/laravel-module-generator)\n\n[Total Downloads](https://packagist.org/packages/techindeck/laravel-module-generator)\n\nThis package allows you to easily generate a application module followed by [SOLID](https://en.wikipedia.org/wiki/SOLID) Principle and CLEAN Architecture\n\n[\u003cimg src=\"https://cdn-images-1.medium.com/max/1200/1*B7LkQDyDqLN3rRSrNYkETA.jpeg\" /\u003e](CLEAN)\n\n## Installation\n\nYou can install the package via composer:\n\n```bash\ncomposer require techindeck/laravel-module-generator\n```\n\n## Usage\n\nYou can generate a module using the `make:module \u003cmodule name\u003e`  on the `Artisan CLI`, will generate a module under `App\\Modules` directory in the Laravel application\n\n```php\nWith all option         :    php artisan make:module 'module' -a\nWith specific options   :    php artisan make:module 'module' -CUGMRF -curdf\n```\n\nAvailable options:\n\n```php\nShorthand   Options             Description\n  -a        --all               create module with all options\n  -C        --controller        crate cases controller\n  -U        --case              create usecases\n  -G        --gateway           crate module gateway\n  -R        --repo              create module repository\n  -M        --model             create module model\n  -F        --request           create gateway form request validation policy\n\n  -c        --add               create usecase add\n  -u        --update            create usecase update\n  -r        --read              create usecase read\n  -d        --delete            create usecase delete\n  -f        --find              create usecase find\n\n```\n\nWhen using a module command to generating a module, you will need that options create entities followed by CLEAN pattern.\n\n## Direct Usage\n\nThis package aims to be very lightweight and easy to use. If you need to create individually of any options `case, controller, gateway, repo, model`, consider using of one these alternatives:\n\n```php\nUsecases Example\n- php artisan module:case-create 'name'\n- php artisan module:case-update 'name'\n- php artisan module:case-read 'name'\n- php artisan module:case-delete 'name'\n- php artisan module:case-find 'name'\n```\n\n```php\nUsecases Controller Example\n- php artisan module:controller-create 'name'\n- php artisan module:controller-update 'name'\n- php artisan module:controller-read 'name'\n- php artisan module:controller-delete 'name'\n- php artisan module:controller-find 'name'\n```\n\n```php\nUsecases Gateway Example\n- php artisan module:gateway 'name'\n\n```\n\n```php\nUsecases Model Example\n- php artisan module:model 'name'\n\n```\n\n```php\nUsecases Repository Example\n- php artisan module:repository 'name'\n\n```\n\n## Credits\n\n- [Techindeck](https://github.com/techindeck)\n- [All Contributors](../../contributors)\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE.md) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechindeck%2Flaravel-module-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechindeck%2Flaravel-module-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechindeck%2Flaravel-module-generator/lists"}