Download the PHP package bluzphp/bluzman without Composer
On this page you can find all versions of the php package bluzphp/bluzman. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bluzphp/bluzman
More information about bluzphp/bluzman
Files in bluzphp/bluzman
Package bluzman
Short Description Bluzman - Simple workflow manager for Bluz Skeleton
License MIT
Informations about the package bluzman
Bluzman - Simple workflow manager for Bluz Framework
Bluzman is a set of command-line tools which provides a simple workflow with an application based and maintained by Bluz framework.
Achievements
Features
- Code-generator of the application components
- Shorthand for phinx and composer tools
- Shorthand for built-in web-server
Requirements
- OS: Linux
- PHP: 7.3 (or later)
Usage
List of available commands
Code generators
All generators don't rewrite exists files, but you can run generate command with flag --force
, to rewrite all of them
Model generator
For create new model you should run the following command in the terminal:
- _modelname - the name of model. With this name will be created folder of model.
- _tablename - the name of databases table for pattern formation properties object model.
Module generator
For create new module you should run the following command in the terminal:
- _modulename - the name of module. With this name will be created folder of module.
- _controllername - the name(s) of controller(s). With this name will be created controller and view. Optional.
Controller generator
For create new controller you should run the following command in the terminal:
- _modulename - the name of module. With this name will be created folder of module.
- _controllername - the name of controller. With this name will be created controller and view.
CRUD generator
For create CRUD class you should run the following command in the terminal:
Generator will create a class in model_name/Crud.php
If you want to generate CRUD controller and view you should run the next command:
Generator will create a controller in module_name/controllers/crud.php
and a view module_name/views/crud.php
REST generator
For create REST controller you should run the following command in the terminal:
Generator will create a controller in module_name/controllers/rest.php
.
GRID generator
For create GRID class you should run the following command in the terminal:
Generator will create a class in model_name/Grid.php
If you want to generate GRID controller and view you should run the following command in the terminal:
Generator will create a controller in module_name/controllers/grid.php
and a view module_name/views/grid.php
All-in-one generator - scaffold
Generator scaffold
will generate:
- Model
- Module
- Crud
- Grid
For generate all of them run the following command in the terminal:
Migrations
All
db:command
commands is just shorthand to callphp /vendor/bin/phinx command -e default -c phinx.php
Status
Create migration
Migrate
Rollback last migration
Create seed
Apply seed data
Install and remove modules
Information about available modules will retrieve from https://github.com/bluzphp by
bluz-module
tag
Retrieve available modules:
Install module:
Remove module:
Tests
For run all tests:
For run specified group:
Server
Bluzman provides a commands list to operate with built-in PHP server.
To launch built-in PHP server you should run the following command in the terminal:
By default server will be available by the address 0.0.0.0:8000 and you will see all logs in the terminal.
But there is an option to run server in the background, this requires an option -b:
And if server launched in the background, it can be stopped with following command:
If you want to know the status of the server you should run the command in the terminal:
All versions of bluzman with dependencies
bluzphp/framework Version ~7.13
codeception/codeception Version ~4.1
composer/composer Version ~2.1
robmorgan/phinx Version ~0.12
symfony/console Version ~5.3
symfony/event-dispatcher Version ~5.3
symfony/filesystem Version ~5.3
symfony/finder Version ~5.3
symfony/process Version ~5.3
symfony/yaml Version ~5.3