======
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.
The application uses the following coding standards and quality tools:
- Doctrine Coding Standard
- PSR2
- PHPStan at level max
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
- You app is available at http://localhost:10012/.
- Documentation for the api is available at http://localhost:10012/api/doc.
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
PROPRIETARY
Have fun!