All Projects → samdark → Yii2 Minimal

samdark / Yii2 Minimal

Licence: other
Yii 2 minimal application template

Projects that are alternatives of or similar to Yii2 Minimal

Yii2 App Advanced
Yii 2.0 Advanced Application Template
Stars: ✭ 1,569 (+1079.7%)
Mutual labels:  yii2, project-template
project-template
Yii2 Project Template
Stars: ✭ 53 (-60.15%)
Mutual labels:  yii2, project-template
Yii2 App Basic
Yii 2.0 Basic Application Template
Stars: ✭ 548 (+312.03%)
Mutual labels:  yii2, project-template
Yiicms
yiicms 是采用yii2 开发的企业站系统 http://www.qxylsb.com/
Stars: ✭ 118 (-11.28%)
Mutual labels:  yii2
Template
A template for data analysis projects structured as R packages
Stars: ✭ 118 (-11.28%)
Mutual labels:  project-template
Yii2 Rbac
RBAC Manager for Yii 2
Stars: ✭ 128 (-3.76%)
Mutual labels:  yii2
Liftoff
Stars: ✭ 1,633 (+1127.82%)
Mutual labels:  project-template
Teenyicons
Tiny minimal 1px icons designed to fit in the smallest places.
Stars: ✭ 1,631 (+1126.32%)
Mutual labels:  minimal
Yii2 Twig
Yii 2 Twig extension.
Stars: ✭ 130 (-2.26%)
Mutual labels:  yii2
Cms
SkeekS CMS (Yii2)
Stars: ✭ 128 (-3.76%)
Mutual labels:  yii2
Holmes
Fast and easy searching inside a page
Stars: ✭ 1,679 (+1162.41%)
Mutual labels:  minimal
Yii2fullcalendar
JQuery Fullcalendar Yii2 Extension
Stars: ✭ 120 (-9.77%)
Mutual labels:  yii2
Yii2 Date Picker Widget
Bootstrap DatePicker Widget for Yii2
Stars: ✭ 128 (-3.76%)
Mutual labels:  yii2
Yii2 Cart
Yii2 shopping cart
Stars: ✭ 118 (-11.28%)
Mutual labels:  yii2
Seahorse
A minimal CLI framework written in Rust
Stars: ✭ 132 (-0.75%)
Mutual labels:  minimal
Yii2 Ace Admin
我的Yii2 Admin后台项目
Stars: ✭ 130 (-2.26%)
Mutual labels:  yii2
Yii2 Save Relations Behavior
Validate and save automatically related Active Record models.
Stars: ✭ 125 (-6.02%)
Mutual labels:  yii2
Craft
Composer starter project for Craft CMS
Stars: ✭ 122 (-8.27%)
Mutual labels:  yii2
Redmine Theme Minimalflat2
Minimal and flat theme for Redmine.
Stars: ✭ 128 (-3.76%)
Mutual labels:  minimal
Gabriel Adorf Portfolio
Gabriel Adorf's personal website
Stars: ✭ 133 (+0%)
Mutual labels:  minimal

Yii 2 Minimal Application Template

Yii 2 Minimal Application Template is a skeleton Yii 2 application best for starting totally from scratch.

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.

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.

INSTALLATION

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

You can then install this application template using the following command:

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.

http://localhost/

CONFIGURATION

Database

Edit the file config/db.php with real data, for example:

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.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].