2017 © Pedro Peláez
 

project yii2-minimal

Yii 2 minimal Application Template

image

samdark/yii2-minimal

Yii 2 minimal Application Template

  • Monday, December 7, 2015
  • by samdark
  • Repository
  • 9 Watchers
  • 108 Stars
  • 1,236 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 24 Forks
  • 0 Open issues
  • 5 Versions
  • 4 % Grown

The README.md

Yii 2 Minimal Application Template

Yii 2 Minimal Application Template is a skeleton Yii 2 application best for starting totally from scratch., (*1)

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

DIRECTORY STRUCTURE

  commands/           contains console commands (controllers)
  config/             contains application configurations
  controllers/        contains Web controller classes
  models/             contains model classes
  runtime/            contains files generated during runtime
  vendor/             contains dependent 3rd-party packages
  views/              contains view files for the Web application
  web/                contains the entry script and Web resources

REQUIREMENTS

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

INSTALLATION

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

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

composer create-project --prefer-dist --stability=dev samdark/yii2-minimal path/to/your/project

Now you should be able to access the application through the following URL, assuming your server webroot is pointed to project/web directory., (*6)

http://localhost/

CONFIGURATION

Database

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

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=yii2minimal',
    '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., (*8)

The Versions

07/12 2015

dev-master

9999999-dev https://github.com/samdark/yii2-minimal

Yii 2 minimal Application Template

  Sources   Download

BSD-3-Clause

The Requires

 

framework application template yii minimal

07/12 2015

2.0.3

2.0.3.0 https://github.com/samdark/yii2-minimal

Yii 2 minimal Application Template

  Sources   Download

BSD-3-Clause

The Requires

 

framework application template yii minimal

07/12 2015

2.0.2

2.0.2.0 https://github.com/samdark/yii2-minimal

Yii 2 minimal Application Template

  Sources   Download

BSD-3-Clause

The Requires

 

framework application template yii minimal

05/11 2014

2.0.1

2.0.1.0 https://github.com/samdark/yii2-minimal

Yii 2 minimal Application Template

  Sources   Download

BSD-3-Clause

The Requires

 

framework application template yii minimal

05/11 2014

2.0.0

2.0.0.0 https://github.com/samdark/yii2-minimal

Yii 2 minimal Application Template

  Sources   Download

BSD-3-Clause

The Requires

 

framework application template yii minimal