定制 infinitycube/quicksite 二次开发

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

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

infinitycube/quicksite

Composer 安装命令:

composer create-project infinitycube/quicksite

包简介

Slim 4 scaffolding for creating web applications. QuickSite creates a project structure with all essential packages pre-bundled.

README 文档

README

QuickSite

A Slim 4 scaffolding for creating web applications at lightning speed.

QuickSite let you focus on the application and data structure. The scaffolding creates a project structure with an example application for your reference. A powerful view render engine, Twig helps you create awesome templates to render pages. It also has a Database Abstraction Layer (DABL) from Doctrine, your application need not directly interact with the database.

Prerequisites

For working with QuickSite scaffolding, you need the following

  • Skill: Object Oriented PHP
  • Skill: Twig Templating (if you use Twig)
  • Skill: Doctrine ORM (if you use Doctrine)
  • Composer installed on your machine
  • Docker (if you use Docker as your server stack)
  • MySQL (if you are not using Docker)
  • PHP 7.2 or greater

Setup Project

You can setup your Slim 4 project with QuickSite in a line of command in terminal / command-prompt.

$ composer create-project infinitycube/quicksite myproject

Go to your project directory

$ cd myproject

If you are have Docker installed and running, you may start your development server immediately by running.

$ docker-compose up

No Docker For those who don't have Docker, you must create a database and assign user access in your local mysql server. Then you need to edit the file ./app/settings.php look for db and give values to host dbname port user and password

Now you can start local server

$ composer start

Example Todo App

To make the example todo app working you need to run the migration bundled with this scaffolding.

For those who use Docker, you need to SSH into your docker container while it is running.

$ docker exec -it quick_site bash

Those who don't use Docker can skip the above step.

Now run the bundled migration.

$ php vendor/bin/doctrine-migrations migrations:migrate

You may now view the Todo app by pointing your browser to http://localhost:8080/todo/

Note

You may or may not require the pre-bundled packages within QuickSite. You may remove those packages if you know exactly what you are doing. You may find more about QuickSite in the QuickSite Documentation.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-09

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固