Skip to content

Daniel-Marynicz/ContactApp

Repository files navigation

Contact App

======

Tech

App uses a number of open source projects to work properly:

  • Docker - A Enterprise Container Platform
  • Docker Compose - A a tool for defining and running multi-container Docker applications.
  • Symfony - Symfony, High Performance PHP Framework for Web Development
  • Composer - A Dependency Manager for PHP
  • PHP_CodeSniffer PHP_CodeSniffer tokenizes PHP, JavaScript and CSS files and detects violations of a defined set of coding standards
  • PHPUnit The PHP Testing Framework
  • Behat A php framework for autotesting your business expectations.
  • PHPStan PHP Static Analysis Tool - discover bugs in your code without running it!
  • Deptrac Keep your architecture clean.

Coding standards

The application uses the following coding standards and quality tools:

Installation

App requires Docker, Docker Compose to setup your local development environment.

You need install latest versions of these apps.

Then you have to copy:

  • .env.docker.dist to .env.docker
  • Create an empty .env.local or create copy from .env to .env.local
  • Edit copied files for your needs.

Build Docker instance with:

$ docker-compose build

And start with:

$ docker-compose up 

To execute a symfony bin/console you can use

$ docker-compose exec php bin/console

To run all tests

$ docker-compose exec php composer tests

License

PROPRIETARY

Have fun!