Download the PHP package divix1988/laminas-cli-commands without Composer
On this page you can find all versions of the php package divix1988/laminas-cli-commands. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package laminas-cli-commands
laminas-cli-commands
CLI Commands for Laminas projects. WARNING, STILL IN BETA.
Official website: http://laminasstarterkit.omelak.com
Installation
Via Composer
Install the library using Composer:
Setup
Add the following config into your config/local.php
file:
Usage
or for Windows users:
Available commands
Controller
Generate sample controller with a list of available actions:
New file in: [root]/module/[moduleName]/src/Controller/[name].php
Sample output:
Model
Generate sample model with a list of properties:
New file in: [root]/module/[moduleName]/src/Model/[name].php
Sample output:
Form
Generate sample model with a list of properties:
New file in: [root]/module/[moduleName]/src/Form/[name]Form.php
Sample output:
Rowset
Generate sample rowset with a list of params:
New file in: [root]/module/[moduleName]/src/Model/Rowset/[name].php
Sample output:
View
Generate sample .phtml view file:
New file in: [root]/module/[moduleName]/view/[controllerName]/[name].phtml
Sample output:
CRUD
Generate a full working example with Form, Rowset, Model, View and Controller with given name:
New files in:
Configuration in:
config/generated.crud.php
Sample output for module: ModuleName
and name: NewUsers
:
Users Login & Registration
Generate Users registration and login feature with custom user properties
New files in:
Configuration in:
config/module.config.php
src/Module.php
Admin Panel
Add an admin panel to your Laminas MVC project and provide Reports and Users managment tool.
New files in:
Configuration in:
config/module.config.php
src/Module.php
Navigation
Add a default menu navigation specified with given items.
New files in:
Configuration in:
config/autoload/global.php
Sitemap
Add a sitemap controller serving file in XML Google foramt.
New files in:
Configuration in:
[root]/module/[moduleName]/config/module.config.php
All versions of laminas-cli-commands with dependencies
laminas/laminas-cli Version ^1.7
laminas/laminas-code Version ^4.7