Skip to content

Basic skeleton of PHP app. With container, PHPUnit, filesystem and docker-compose configured.

License

Notifications You must be signed in to change notification settings

omoustaouda/skeleton-php-app-base

Repository files navigation

Build Status Maintainability

Base PHP app template

This repo provides a skeleton for a minimal PHP app.

What is provided is:

  • filesystem: src, testing directories and structure
  • container: PHP-DI is installed and configured (see src/container.php)
  • testing framework: PHPUnit is ready to be used (tests can be run via $ make tests)
  • docker-compose.yml: PHP 8 Alpine image is used
  • logger: Monolog is being used

What is NOT included is:

  • HTTP router
  • ORM or DB library

In order to keep the skeleton as minimal and flexible as possible, no specific framework (i.e. Lumen, Slim, Symfony, ...) is being used. The components present have been installed and configured ad-hoc.

First run

$ make composer-install
$ make tests

License

AGPLv3 with "Commons Clause" License Condition v1.0. See ./LICENSE

About

Basic skeleton of PHP app. With container, PHPUnit, filesystem and docker-compose configured.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published