2017 © Pedro Peláez
 

library bare-migration

A simple PHP command line tool to generate CodeIgniter bare migration file.

image

phplucidframe/bare-migration

A simple PHP command line tool to generate CodeIgniter bare migration file.

  • Friday, November 4, 2016
  • by cithukyaw
  • Repository
  • 1 Watchers
  • 2 Stars
  • 46 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 3 Versions
  • 10 % Grown

The README.md

CodeIgniter Bare Migration Generator

A simple PHP command line tool to generate a CodeIgniter blank migration class file. It is very similiar to doctrine:migrations:generate of Symfony DoctrineMigrationsBundle., (*1)

Installation using Composer

composer require phplucidframe/bare-migration

or, (*2)

php composer.phar require phplucidframe/bare-migration

Installation without Composer

If you don't want to use Composer, you can download the zip file and unzip it to your project vendor folder. However, make sure the directory path is /vendor/phplucidframe/bare-migration/ where the script file ci should exist., (*3)

Example Usage

$ php vendor/phplucidframe/bare-migration/ci migration:bare add_new_post_table

OR, you can also CD to the package directory., (*4)

$ cd vendor/phplucidframe/bare-migration
$ php ci migration:bare add_new_post_table

The above example will create a new migration file application/migrations/{YmdHis}_add_new_post_table.php where {YmdHis} would be the current timestamp., (*5)

The Versions

04/11 2016

dev-master

9999999-dev

A simple PHP command line tool to generate CodeIgniter bare migration file.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

console generator

04/11 2016

v1.1.0

1.1.0.0

A simple PHP command line tool to generate CodeIgniter bare migration file.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

console generator

20/10 2016

v1.0.0

1.0.0.0

A simple PHP command line tool to generate CodeIgniter bare migration file.

  Sources   Download

MIT

The Requires

  • php >=5.3

 

console generator