cloudbase / symfony-base
A base Symfony 7.3 project template with Latte templating
Installs: 18
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Type:project
pkg:composer/cloudbase/symfony-base
Requires
- php: >=8.3
- cloudbase/asset-node: ^1.0
- cloudbase/latte-helper: ^1.2.0
- doctrine/dbal: ^4.3
- doctrine/doctrine-bundle: ^2.18
- doctrine/orm: ^3.5
- symfony/console: 7.3.*
- symfony/dotenv: 7.3.*
- symfony/form: ^7.3
- symfony/framework-bundle: 7.3.*
- symfony/mailer: ^7.3
- symfony/mime: ^7.3
- symfony/runtime: 7.3.*
- symfony/security-bundle: ^7.3
- symfony/validator: ^7.3
- symfony/yaml: 7.3.*
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.89
- loomsoftware/badger: ^1.0
- phpstan/phpstan: ^2.1
- phpstan/phpstan-doctrine: ^2.0
README
A highly opinionated, ready-to-use Symfony 7.3 project template with the Latte templating engine.
Installation
composer create-project cloudbase/symfony-base my-project
What's Included?
- Symfony 7.3
- Latte Templating Engine
- Full Authentication System: Login, Registration, Password Reset and Email Verification
- Doctrine ORM/DBAL
- NPM with Webpack
- TailwindCSS
- TypeScript
- SCSS
Basic Usage
After installation, run npm install to install node dependencies. This has been excluded from the auto-setup script to
allow you to run this in your container or your own environment without requiring node/npm locally.
Update your projects .env file with your database credentials and run the SQL manually (data/setup.sql).
Customising
This is just a base project with some helpful features baked in. Modify anything and everything to suit your needs.
Your app homepage route is defined in src/Application/IndexController.php and the template is located
at templates/application/index.latte - remove the default content and replace it with your own.
All the auth code has been included and can be found in the src/Auth directory. Out of the box this includes:
- Login
- Registration
- Password Reset
- Email Verification
Again, feel free to modify any part of this to suit your needs.