https://github.com/2lenet/sf7
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/2lenet/sf7
- Owner: 2lenet
- License: mit
- Created: 2024-07-05T08:07:30.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-07T14:16:37.000Z (11 months ago)
- Last Synced: 2025-07-25T12:46:38.323Z (11 months ago)
- Language: Makefile
- Size: 134 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sf7
Sf7 2le project template
To bootstrap a project use the following steps:
```bash
composer create-project 2lenet/sf7 project_name --no-scripts
```
or with docker :
```bash
docker run -it -v $PWD:/var/www/html registry.2le.net/2le/2le:base-sf7 composer create-project 2lenet/sf7 project_name --no-scripts
```
Say Yes to all recipes question exept Doctrine
```
cd project_name
make init
```
add the project to git ( git init or add to existing project )
```
make start
```
Create your first migration for bundle entities
```
make console
bin/console make:migration
bin/console doc:mi:mi
```
This will create your project, modify all reference to [PROJECT] in config files
After that you have :
* sf7 project
* Docker and Docker Compose config
* CI with test, build and deploy
* PHPStan, PHPCS and SonarQube configuration