This Symfony-based mobile store project is a comprehensive web application for mobile device sales and management. It includes Docker support for consistent deployment and Xdebug integration for enhanced debugging capabilities, streamlining development while ensuring productivity and maintainability.
- Symfony 6.0.7
- PHP 8.1
- Apache
- Mariadb latest
- Xdebug 3.14
- Composer latest
- symfony/apache-pack 1.0.1
- Git
The application/Symfony code in under the /src folder.
The src folder is mounted into /var/www/html inside the app container.
- Clone the project.
- Copy
.env.samplefile to.envfile in the main directory. - Inside the main folder, start the docker-compose:
docker-compose up -d - Connect to the
appcontainer:docker-compose exec app bash - Install composer inside the container
composer install - Check http://localhost, you should see the Symfony welcome page.
Start the docker-compose
docker-compose up -dTo rebuild the container
docker-compose up -d --buildStart the docker-compose
docker-compose downTo remove the dependent orphaned containers
docker-compose down --remove-orphansConnect to container
docker-compose exec app bashDisable the xdebug
bin/xdebug disableEnable the xdebug
bin/xdebug enableThis project is licensed under the MIT License.