Download the PHP package dptsi/laravel-modular without Composer
On this page you can find all versions of the php package dptsi/laravel-modular. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dptsi/laravel-modular
More information about dptsi/laravel-modular
Files in dptsi/laravel-modular
Package laravel-modular
Short Description Laravel modular template developed for DPTSI projects
License
Informations about the package laravel-modular
Laravel Modular
A package to generate modules for a Laravel project.
Requirements
- PHP 7.4 or greater
- Laravel version 8
Installation
Install using composer:
Usage
-
(Optional) To change application namespace, run:
Note: All namespace inside app directory (app/) will change into custom namespace.
Note: in Mac OS or Linux use double backslash.
Custom\\Namespace
. -
To create a new module, run:
By default this will create a new module using mvc skeleton and sqlsrv database configuration.
Note: the module name must be in StudlyCase
-
If you want to create a new module with a specific skeleton you can use
--skeleton
or-S
option. Supported skeletononion
andmvc
. - If you want to create a new modul using specific database you can use
--database
or-D
option. Supported databasesqlsrv
,mysql
andpgsql
.