fas/example 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

fas/example

Composer 安装命令:

composer require fas/example

包简介

Example using fas

README 文档

README

Build Status Test Coverage

Latest Stable Version Latest Unstable Version License Total Downloads

Installation

composer create-project fas/example myproject

Usage (dev mode)

docker-compose up --build -d

Files

cache/                   # contains precompiled container, routes, preloads, etc.
coverage/                # phpunits test coverage in html

docker/apache.conf       # apache configuration
docker/php.ini           # general php configuration
docker/prod.sh           # init script for docker container in prod mode
docker/php.dev.ini       # php overrides for dev mode
docker/dev.sh            # init script for docker container in dev mode

public/.htaccess         # standard htaccess for sending requests to index.php
public/index.php         # entrypoint for php application

src/ContainerFactory.php # di container setup
src/RouterFactory.php    # routes setup

bin/compile.php          # script for compiling container and routes for prod
bin/compile.config.php   # script for compiling configuration for prod
bin/preload.php          # preload entry point for production
bin/preload.app.php      # preloads specific to this application

config.yaml              # custom configuration file for your project
config.prod.yaml         # example of could-be prod config file

Simplest form

If not using docker, compiled builds or tests, the code sums down to this:

public/.htaccess         # standard htaccess for sending requests to index.php
public/index.php         # entrypoint for php application
src/ContainerFactory.php # di container setup
src/RouterFactory.php    # routes setup

Create prod build

docker build -t fas:prod --target prod .

Run the prod build

docker run -d --name fas --rm -it -p8081:80 -v`pwd`/config.yaml:/app/config.yaml:ro fas:prod

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-07-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固