Download the PHP package vandersangen/project-template-bundle without Composer
On this page you can find all versions of the php package vandersangen/project-template-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download vandersangen/project-template-bundle
More information about vandersangen/project-template-bundle
Files in vandersangen/project-template-bundle
Package project-template-bundle
Short Description Reusable Symfony bundle with authentication, user management, and master data loading
License MIT
Homepage https://github.com/vandersangen/project-template-bundle
Informations about the package project-template-bundle
Project Template Bundle
A reusable Symfony bundle providing authentication, user management, and master data loading functionality.
Features
- JWT Authentication: Complete authentication system with login, register, password reset
- User Management: User entity, repository, and service layer
- Master Data Loading: Flexible master data loading from PHP configuration files
- Database Tools: Git branch-based database naming, database copy command
- Health Checks: API health check endpoints
- Queue (Messenger): Async message handling,
QueueJobLogfor monitoring, failed jobs in a separate transport - SuperAdmin: Eigen login en gebruikers; alleen SuperAdmin-users hebben toegang. Zie docs/super-admin.md
- Cron: Scheduler command; cron-beheer (API en web UI) zit in de SuperAdmin-module. Zie docs/cron-module.md
- Fully Tested: 35 tests with 96 assertions (100% passing)
Installation
Via Composer (from Packagist)
Requirements
- PHP >= 8.5
- Symfony >= 7.4
- Doctrine ORM >= 3.6
- Lexik JWT Authentication Bundle >= 3.2
Quick Start
1. Register the Bundle
Add to config/bundles.php:
2. Configure the Bundle
Create config/packages/project_template.yaml:
3. Import Routes
Add to config/routes.yaml (path relative to your config/ directory):
With a path repository use e.g. ../project-template-bundle/config/routes.yaml. Then run php bin/console cache:clear and php bin/console debug:router to verify.
4. Configure Security
Update config/packages/security.yaml:
5. Generate JWT Keys
6. Configure JWT
Create config/packages/lexik_jwt_authentication.yaml:
7. Run Migrations
The bundle automatically registers its migrations in your application. When you run the migrations command, both your application's migrations and the bundle's migrations will be executed:
The bundle's migrations are registered under the DoctrineMigrations\ProjectTemplateBundle namespace and will create the required tables (users, mails, queue_job_logs).
8. Load Master Data
Usage
Authentication Endpoints
The bundle provides the following authentication endpoints:
Register
Login
Response:
Forgot Password
Reset Password
Queue and failed jobs
The bundle registers a failed Messenger transport. Jobs that fail after all retries are moved there. To list or retry them:
See docs/messenger-failed-jobs.md for details and cron examples.
Protected Endpoints
Use the JWT token in the Authorization header:
License
MIT
Support
- Issues: GitHub Issues
- Source: GitHub Repository
All versions of project-template-bundle with dependencies
ext-ctype Version *
ext-iconv Version *
doctrine/doctrine-bundle Version ^3.2
doctrine/doctrine-migrations-bundle Version ^4.0
doctrine/orm Version ^3.6
dragonmantank/cron-expression Version ^3.3
lexik/jwt-authentication-bundle Version ^3.2
symfony/config Version 7.4.*
symfony/console Version 7.4.*
symfony/dependency-injection Version 7.4.*
symfony/doctrine-bridge Version 7.4.*
symfony/event-dispatcher Version 7.4.*
symfony/filesystem Version 7.4.*
symfony/finder Version 7.4.*
symfony/form Version 7.4.*
symfony/framework-bundle Version 7.4.*
symfony/http-foundation Version 7.4.*
symfony/http-kernel Version 7.4.*
symfony/mailer Version 7.4.*
symfony/messenger Version 7.4.*
symfony/mime Version 7.4.*
symfony/password-hasher Version 7.4.*
symfony/process Version 7.4.*
symfony/routing Version 7.4.*
symfony/security-bundle Version 7.4.*
symfony/security-core Version 7.4.*
symfony/security-http Version 7.4.*
symfony/string Version 7.4.*
symfony/twig-bundle Version 7.4.*
symfony/yaml Version 7.4.*
sentry/sentry-symfony Version ^5.0
symfony/monolog-bundle Version ^4.0