2017 © Pedro Peláez
 

project yii2-app-console

Simple Yii 2 Console Project Template

image

adlandh/yii2-app-console

Simple Yii 2 Console Project Template

  • Monday, June 26, 2017
  • by adlandh
  • Repository
  • 1 Watchers
  • 0 Stars
  • 13 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 44 % Grown

The README.md

Simple Yii 2 Console Project Template

Simple Yii 2 Console Project Template is a skeleton Yii 2 application best for rapidly creating console applications., (*1)

DIRECTORY STRUCTURE

  commands/           contains console commands (controllers)
  config/             contains application configurations
  mail/               contains view files for e-mails
  models/             contains model classes  
  runtime/            contains files generated during runtime
  vendor/             contains dependent 3rd-party packages

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 5.4.0., (*2)

INSTALLATION

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org., (*3)

You can then install this project template using the following command:, (*4)

php composer.phar global require "fxp/composer-asset-plugin:^1.2.0"
php composer.phar create-project --prefer-dist --stability=dev adlandh/yii2-app-console console

CONFIGURATION

Database

Edit the file config/db.php with real data, for example:, (*5)

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2basic',
    'username' => 'root',
    'password' => '1234',
    'charset' => 'utf8',
];

NOTES: - Yii won't create the database for you, this has to be done manually before you can access it. - Check and edit the other files in the config/ directory to customize your application as required., (*6)

The Versions

26/06 2017

dev-master

9999999-dev https://github.com/adlandh/yii2-app-console

Simple Yii 2 Console Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 console project template

26/06 2017

1.0

1.0.0.0 https://github.com/adlandh/yii2-app-console

Simple Yii 2 Console Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 console project template

23/01 2017

0.2

0.2.0.0 https://github.com/adlandh/yii2-app-console

Simple Yii 2 Console Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 console project template

23/01 2017

0.1

0.1.0.0 https://github.com/adlandh/yii2-app-console

Simple Yii 2 Console Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 console project template