stillat/model-cannon
Larablocks Analysis
stillat/model-cannon works with Laravel 5 (latest release 1.0, Aug 16, 2016), which reached end of life: no more fixes, even for security.
Recommendation checks
Not advisedNot advised: no release or commit in over 2 years.
- No release or commit in over 2 years
- Supports only Laravel 5, past end of life
- No release in the last 12 months (last: Aug 16, 2016)
- 0 downloads a month (needs 10,000)
- 0 GitHub stars (needs 100)
State
Likely abandoned- No release or commit in over 2 years.
- Last stable release: Aug 16, 2016.
- No releases in the last 12 months.
- First released: Aug 16, 2016.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Dec 2, 2026.
| Install | |
|---|---|
composer require stillat/model-cannon |
|
| Latest Version: | 1.0 |
| Laravel: | 5 |
| License: | MIT |
| Last Updated: | Aug 16, 2016 |
| Links: | GitHub · Packagist |
Model Cannon for Laravel
Model 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.
Configuration
Composer
First, you need to add the Model Cannon package to your composer.json file and run the composer update command:
"stillat/model-cannon": "~1.0"
Service Provider
Next, register the Stillat\ModelCannon\ModelCannonServiceProvider service provider in your app configuration file. Simply add this line to the "packages" section of the app config:
Stillat\ModelCannon\ModelCannonServiceProvider::class,
Usage
It 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.
php artisan make:model User
License
Model Cannon is open-sourced software licensed under the MIT license.
Related Packages
Powerful PHP database abstraction layer (DBAL) with many features for database s...
Laravel Serializable Closure provides an easy and secure way to serialize closur...
Cli error handling for console/command-line PHP applications.
Version History
| Version | Released | Laravel | License |
|---|---|---|---|
| 1.0 | ^5.2 | MIT |