Download the PHP package arwp/mvc without Composer
On this page you can find all versions of the php package arwp/mvc. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package mvc
Short Description For building Model-View-Controller (MVC) pattern in laravel
License MIT
Informations about the package mvc
MVC Generator V1.0.1
MVC Generator is a powerful package designed to streamline the creation of new modules with CRUD functionality and generate corresponding views. This tool is a time-saving asset for your projects.
This library is specifically crafted for arwp/main-master, and its code structure is optimized to align seamlessly with that template.
Made with ❤️ by ARWP
Requirements
- Laravel 10.0 or higher
- PHP 8.1 or higher
Features
- Utilize
php artisan make:mvc [model name]
to create a new module.- [x] Controller (with CRUD functionality)
- [x] Model (with fillable fields and relationships)
- [x] Migration (with table creation and relationships)
- [x] Views (with CRUD functionality)
- [x] New route (with CRUD functionality)
- Use
php artisan delete:mvc [name]
to delete a module (delete mvc files one by one with confirmation). - Use
php artisan delete:mvc [name] --all
to delete a module (delete all files and tables in the database).
How to install
Create a new module
Delete a module (delete all file and table in database)
Setup and Configuration :
add this code to your config/app.php
you need to publish the resource file to your project ` add this code to your routeServiceProvider.php
open file config/mvc.php and change the key value to your path folder
If you wish to modify the default "PATH ROUTE," you can make adjustments in the config/mvc.php file.
Copy and paste the following code into your specified route file (e.g., routes/web.php):
License
MVC Generator is released as open-source software under the MIT license.
This project is designed to enhance the efficiency and simplicity of your development process. I trust that this tool will prove valuable in accelerating your project development.
If you find this project beneficial, your support in the form of a star ⭐️ would be greatly appreciated. Thank you for your consideration and contribution.