trulyao/php-starter 问题修复 & 功能扩展

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

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

trulyao/php-starter

最新稳定版本:2.0.1

Composer 安装命令:

composer require trulyao/php-starter

包简介

A PHP starter project

README 文档

README

This is a PHP starter project. It allows you to quickly set up a dockerized PHP project loaded with the bare minimum you need. It also includes a good routing package suitable for APIs and static sites; the .htaccess file has been written to match this. It has also been tested in production on Render (using docker) and Heroku (using the Heroku PHP buildpack with Apache2).

Create a new project

composer create-project trulyao/php-starter hello-world

Requirements

  • PHP 7.1+
  • Docker and Docker Compose

Includes

Setup

Run the following command to run it in detached mode:

$ docker-compose up -d

To force-rebuild the images, use the included Setup.sh script.

You can also edit the api.conf file to change your Apache configuration. The installed router depends on your .htaccess file, be careful with that. Some headers will not come through depending on your Apache configuration, you would need to enable them in your configuration file.

Access

  • Web (API or Application): http://localhost:8085
  • PHPMyAdmin: http://localhost:8085/v1/phpmyadmin or directly http://localhost:2083/
  • MySQL is on port 3307 outside the container and can be accessed directly using TablePlus, MySQL WorkBench etc

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固