2017 © Pedro Peláez
 

project yii2-app-onion

Yii 2 Onion architecture Project Template

image

cherif/yii2-app-onion

Yii 2 Onion architecture Project Template

  • Sunday, January 3, 2016
  • by cherif_b
  • Repository
  • 1 Watchers
  • 1 Stars
  • 8 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 5 Versions
  • 0 % Grown

The README.md

Yii 2 Onion Project Template

Yii 2 Onion Project Template is a skeleton Yii 2 application best for rapidly creating enterprise projects based on onion architecture., (*1)

The template contains the basic features including user login/logout and a contact page. It includes all commonly used configurations that would allow you to focus on adding new features to your application., (*2)

REQUIREMENTS

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

INSTALLATION

Install via Composer

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

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

php composer.phar global require "fxp/composer-asset-plugin:~1.1.0"
php composer.phar create-project --prefer-dist --stability=dev cherif/yii2-onion-app onion

Now you should be able to access the application through the following URL, assuming basic is the directory directly under the Web root., (*6)

http://localhost/onion/web/

CONFIGURATION

Database

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

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2onion',
    '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. - Refer to the README in the tests directory for information specific to basic application tests., (*8)

The Versions

03/01 2016

dev-master

9999999-dev http://www.yiiframework.com/

Yii 2 Onion architecture Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 project template hexagonal onion layered

03/01 2016

0.4

0.4.0.0 http://www.yiiframework.com/

Yii 2 Onion architecture Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 project template hexagonal onion layered

03/01 2016

0.3

0.3.0.0 http://www.yiiframework.com/

Yii 2 Onion architecture Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 project template hexagonal onion layered

03/01 2016

0.2

0.2.0.0 http://www.yiiframework.com/

Yii 2 Onion architecture Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 project template hexagonal onion layered

03/01 2016

0.1

0.1.0.0 http://www.yiiframework.com/

Yii 2 Onion architecture Project Template

  Sources   Download

BSD-3-Clause

The Requires

 

The Development Requires

framework yii2 project template hexagonal onion layered