simple-first/php-project 问题修复 & 功能扩展

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

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

simple-first/php-project

最新稳定版本:v1.0.2

Composer 安装命令:

composer create-project simple-first/php-project

包简介

A simple and fast PHP project template.

README 文档

README

Introduction

Welcome to simple-first/php-project. This repository aims to be the simplest and fastest way to set up a PHP project. It comes with the bare minimum code to get you started. This is a part of the Simple-First initiative, which is fully open-source.

Prerequisites

  • Docker
  • Docker-Compose
  • Composer

Setup

# 1. Create the project
composer create-project simple-first/php-project my-project --ignore-platform-reqs

# 2. Navigate to the project folder.
cd my-project

# 3. Start the Docker services.
docker-compose up -d

# 4. Open your browser and go to `localhost`.

You should see the Welcome message.

Folder Structure

  • public/: Web entry
  • src/: Your PHP source files

Tech Stack

  • PHP 8.2
  • Docker

Configuration

Docker-Compose

The docker-compose.yml file contains the Docker services configurations.

Composer

The composer.json file has project's autoload and dev dependencies.

Contributing

Feel free to contribute and make this even simpler. Open a pull request or an issue.

License

This project is licensed under the MIT License. This means you can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the software.

For the full license text, please see the LICENSE file in the repository.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 1
  • Forks: 0
  • 开发语言: Dockerfile

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-10-14