mp3000mp / tos-bundle
Simple terms of service bundle.
Installs: 19
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: ^7.3
- doctrine/doctrine-bundle: ^2.1
- symfony/framework-bundle: ^4.4|^5.1
- symfony/orm-pack: ^2.0
- symfony/security-bundle: ^4.4|^5.1
Requires (Dev)
- friendsofphp/php-cs-fixer: ^2.16.7
- php-coveralls/php-coveralls: ^2.4
- phpstan/phpstan: ^0.12.48
- phpunit/phpunit: ^9.4
- symfony/browser-kit: ^4.4|^5.1
- symfony/phpunit-bridge: ^4.4|^5.1
This package is auto-updated.
Last update: 2025-02-22 12:30:08 UTC
README
Simple bundle that will help you forcing users to agree with terms of service before being able to use your application.
Table of Contents
Documentation
todo
Installation
composer require mp3000mp/tos-bundle
Configuration
Doctrine
You can define the User
class to be used as relationship with TermsOfSericeSignature entity in config/package/mp3000mp_tos.yaml
mp3000mp_tos:
user_provider: App\Entity\User
Routes
You can choose the route prefix in config/routes/mp3000mp_tos.yaml
mp3000mp_tos:
resource: "@Mp3000mpTOSBundle/Resources/config/routes.yaml"
prefix: /tos
Templates
You can override all templates located in vendor/Mp3000mp/TOSBundle/Resources/views/
in your own project directory src/templates/bundles/Mp3000mpTOSBundle/
License
This bundle is under the Apache 2.0 license. See the complete license in the bundle
About
TOSBundle is a mp3000mp initiative.