定制 imanilchaudhari/yii2-asset-free 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

imanilchaudhari/yii2-asset-free

Composer 安装命令:

composer create-project imanilchaudhari/yii2-asset-free

包简介

Yii 2 Project Template With Asset Free Bundles. Suitable for API & Console Apps

README 文档

README

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.

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.

INSTALLATION

Install via Composer

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

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

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.

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

CONFIGURATION

Database

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

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.

统计信息

  • 总下载量: 25
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-12-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固