cborgas / symfony-api

An opinionated Symfony API skeleton repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cborgas/symfony-api

Build

An opinionated Symfony API Skeleton

Requirements

  • Git, with your $GITHUB_TOKEN environment variable set
  • Docker

Install

  1. Clone this repository
  2. Build the Docker containers with make build

Development

Commands are available through the Makefile to aid development

  • make start To start the Docker containers
  • make stop To stop the Docker containers
  • make sh To shell into the PHP container

The PHP container is ready with Git, Composer, the Symfony CLI, PHP 8.0 and commands for testing

  • composer test To run all tests
  • composer test:unit To run the Unit Tests with PHPUnit
  • composer test:stan To run the static analysis with PHPStan
  • composer test:cs To run the code stanards with PHPCS

About

An opinionated Symfony API skeleton repository

License:MIT License


Languages

Language:PHP 56.0%Language:Shell 27.0%Language:Dockerfile 12.2%Language:Makefile 4.8%