承接 sebsept/php-starter 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

sebsept/php-starter

Composer 安装命令:

composer create-project sebsept/php-starter

包简介

SoigneMoi webcli

README 文档

README

! This repository is at an early stage of development. I use it to fast start my own projects/tests.

PHP / Docker / Composer Project Bedrock

Ready to use repository for any symfony project. This provides a Docker image and files to bootstrap a Symfony project.

Motivation

Avoid doing always the same things when starting a composer project. Learn Docker, php server admin.

Features

  • docker php image based on php-fpm (alpine linux)
    • xdebug, intl, pdo_pgsql
    • composer
    • fish shell
    • symfony cli
    • psysh
  • just file for just task runner

Justfile

Shortcuts to run commands in the container using just task runner in .justfile to help with common tasks.

  • up # docker-compose up -d
  • update # update source files + docker compose down+up + tests
  • fish # open a fish shell on the container
  • new-controller
  • new-api # new api controller + migrations
  • db-create # drop and recreates the db (for dev)
  • db-migrate # doctrine:migrations:migrate --no-interaction
  • db-create-test # create test db
  • db-fixtures-make # create fixtures in dev db
  • make:fixtures
  • db-fixtures-load
  • console # run a symfony console
  • req package # composer req
  • req-dev package
  • tests # run phpunit tests
  • test # run a single test
  • make-test
  • sql # run sql command using {{console}} dbal:run-sql
  • psysh

Requirements

  • docker compose
  • just task runner
  • xdg-open for init command (type xdg-open in your terminal to test)

Getting started

Check requirements above.

  • Click the Use this template green button on top of this page (github).
  • Clone your new repository
  • Adjust the .env file if needed
  • Adjust composer.json file
  • In your terminal : just init (or just init-alt if xdg-open not available)

Done ! Ready to dev.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-20