2017 © Pedro Peláez
 

library yii2-asset-free

Yii 2 Advanced Project Template With Asset Free Bundles

image

imanilchaudhari/yii2-asset-free

Yii 2 Advanced Project Template With Asset Free Bundles

  • Friday, January 19, 2018
  • by imanilchaudhari
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

, (*1)

Yii 2 Asset Free Template


This is a project template suitable for API & console apps. This app template is without the bower & npm package, which makes it lightweight., (*2)

DIRECTORY STRUCTURE

  config/             contains application configurations
  database/           contains database migrations, seeders
  public/             contains the entry script and Web resources
  resources/          contains various tests for the basic application
    mail/             contains view files for e-mails
  runtime/            contains files generated during runtime
  src/
    commands/         contains console commands (controllers)
    controllers/      contains Web controller classes
    models/           contains model classes
  tests/              contains various tests for the basic application
  vendor/             contains dependent 3rd-party packages

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 7.4., (*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)

composer create-project --prefer-dist imanilchaudhari/yii2-asset-free basic-api

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

http://localhost/basic-api/public/

CONFIGURATION

Database

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

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'mysql:host=localhost;dbname=database',
    '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

19/01 2018

dev-master

9999999-dev

Yii 2 Advanced Project Template With Asset Free Bundles

  Sources   Download

The Requires

 

19/01 2018

1.2

1.2.0.0

Yii 2 Advanced Project Template With Asset Free Bundles

  Sources   Download

The Requires

 

27/11 2017

1.0

1.0.0.0

Yii 2 Advanced Project Template With Asset Free Bundles

  Sources   Download

The Requires

 

27/11 2017

1.1

1.1.0.0

Yii 2 Advanced Project Template With Asset Free Bundles

  Sources   Download

The Requires