https://github.com/tidjee-dev/symfony-template
This repository is a boilerplate for quickly setting up a new Symfony 7 project with a ready-to-use Docker configuration in a dev environment.
https://github.com/tidjee-dev/symfony-template
castor development php symfony
Last synced: about 1 month ago
JSON representation
This repository is a boilerplate for quickly setting up a new Symfony 7 project with a ready-to-use Docker configuration in a dev environment.
- Host: GitHub
- URL: https://github.com/tidjee-dev/symfony-template
- Owner: tidjee-dev
- Created: 2025-02-08T21:53:50.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-06-14T12:09:52.000Z (about 1 year ago)
- Last Synced: 2025-06-14T13:18:36.971Z (about 1 year ago)
- Topics: castor, development, php, symfony
- Language: PHP
- Homepage:
- Size: 106 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Tidjee's Symfony 7 Template
 [](https://github.com/tidjee-dev/symfony-template/commits/main) [](https://github.com/tidjee-dev/symfony-template/issues) [](https://github.com/tidjee-dev/symfony-template/fork)  [](https://github.com/tidjee-dev/symfony-template/generate)
## 📝 Description
This repository is a boilerplate for quickly setting up a new Symfony 7 project with a ready-to-use Docker configuration in a dev environment.
> [!WARNING]
> The Docker configuration in this template is for development purposes only (for now).
> It is not intended for production use.
It provides:
✅ An **Apache web server**
✅ Support for **SQLite** or **MySQL** databases
✅ Database management tools: **PHPMyAdmin**
✅ **Mailpit** as fake SMTP server
✅ A **Docker** environment for easy setup
✅ **Castor** as a task runner
## 🚀 Tech Stack
- **Languages & Database**
[](https://www.php.net/) [](https://www.mysql.com/) [](https://www.sqlite.org/)
- **Frameworks**
[](https://symfony.com/)
- **Web Server**
[![Apache]()](https://httpd.apache.org/)
- **Mail Server**
[](https://mailpit.axllent.org/)
- **Tools**
[](https://castor.jolicode.com/) [](https://docs.docker.com/) [](https://www.phpmyadmin.net/)
## 📌 Requirements
Before using this template, ensure you have:
- [PHP](https://www.php.net/) installed
- [Castor](https://castor.jolicode.com/installation) installed
- [Docker](https://docs.docker.com/engine/install/) & [Docker Compose](https://docs.docker.com/compose/)
## 🛠️ How to Use
1. **Create** a new Symfony project using this template

2. **Clone** your newly created repository
3. **Initialize the project** with:
```sh
castor project:init
```
4. **Adapt the Docker configuration** to your needs
Follow the instructions in the `compose.dev.yml` file to configure the Docker development environment.
5. **Start the Docker Stack** with:
```sh
castor docker:start
```
## 🤝 Contributing
If you have any suggestions or find any issues, please [open an issue](https://github.com/tidjee-dev/symfony-template/issues/new).
## 🎉 Happy Coding! 🚀