2017 © Pedro Peláez
 

library kotori-php-cli

A Command-Line-Interface tool for the PHP framework Kotori.php

image

kasumi/kotori-php-cli

A Command-Line-Interface tool for the PHP framework Kotori.php

  • Saturday, August 12, 2017
  • by kasumi
  • Repository
  • 3 Watchers
  • 0 Stars
  • 19 Installations
  • PHP
  • 0 Dependents
  • 1 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 6 % Grown

The README.md

Kotori PHP CLI

Just a simple CLI scffold tool for the PHP framework Kotori.php, you can use it for scaffolding Kotori.php projects., (*1)

Installation

Kotori.php CLI requires PHP(>=5.5) and composer installed on your environment., (*2)

$ composer global require kasumi/kotori-php-cli:dev-master

Make sure that you have added composer global vendor bin directory to your PATH., (*3)

Let's take Linux for example:, (*4)

$ export PATH="$HOME/.composer/vendor/bin:$PATH"

Usage

$ kotori <command> [arg1] [arg2]...

Here are some examples:, (*5)

# initialize a pure Kotori.php project
$ kotori init
$ kotori i vendor/name

# modify config
$ kotori config <set|set-array|remove|list|reset>

# generate a pure controller/model named Hello
$ kotori generate controller Hello
$ kotori g model Hello

# start a dev server on localhost:8000
$ kotori serve --port 8000

# import or export database
$ kotori db export db_instance_name ./db.sql
$ kotori db import db_instance_name ./db.sql

Other commands and detailed usage can be found by executing kotori help command., (*6)

License

Apache v2, (*7)

The Versions

12/08 2017

dev-master

9999999-dev

A Command-Line-Interface tool for the PHP framework Kotori.php

  Sources   Download

Apache2