{"id":24764090,"url":"https://github.com/stillat/model-cannon","last_synced_at":"2026-05-06T21:31:41.173Z","repository":{"id":57059954,"uuid":"65847441","full_name":"Stillat/model-cannon","owner":"Stillat","description":"A super simple Laravel package that gives you back the \"Models\" directory, if you are into that sort of thing.","archived":false,"fork":false,"pushed_at":"2016-08-16T19:45:36.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T21:39:13.107Z","etag":null,"topics":[],"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/Stillat.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-08-16T19:24:17.000Z","updated_at":"2017-06-17T20:31:45.000Z","dependencies_parsed_at":"2022-08-24T14:53:29.417Z","dependency_job_id":null,"html_url":"https://github.com/Stillat/model-cannon","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stillat%2Fmodel-cannon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stillat%2Fmodel-cannon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stillat%2Fmodel-cannon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Stillat%2Fmodel-cannon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Stillat","download_url":"https://codeload.github.com/Stillat/model-cannon/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245122334,"owners_count":20564286,"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":[],"created_at":"2025-01-28T21:32:37.950Z","updated_at":"2026-05-06T21:31:41.115Z","avatar_url":"https://github.com/Stillat.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Model Cannon for Laravel\n\nModel Cannon is an incredibly simple Laravel package that gives you back your \"Models\" directory, if you are into that sort of thing. Using it is super simple.\n\n## Configuration\n\n### Composer\n\nFirst, you need to add the Model Cannon package to your `composer.json` file and run the `composer update` command:\n\n```\n\"stillat/model-cannon\": \"~1.0\"\n```\n\n### Service Provider\n\nNext, register the `Stillat\\ModelCannon\\ModelCannonServiceProvider` service provider in your `app` configuration file. Simply add this line to the \"packages\" section of the `app` config:\n\n```\nStillat\\ModelCannon\\ModelCannonServiceProvider::class,\n```\n\n## Usage\n\nIt couldn't be simpler! Just use Laravel's `make:model` command like you always have. The only difference is now models will be stored in a `Models` directory and have the correct `Models` namepsace added automatically. Seriously, that is all there is to it.\n\n```\nphp artisan make:model User\n```\n\n## License\n\nModel Cannon is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstillat%2Fmodel-cannon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstillat%2Fmodel-cannon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstillat%2Fmodel-cannon/lists"}