fsi / resource-repository-bundle
Resource repository bundle
Installs: 25 208
Dependents: 3
Suggesters: 0
Security: 0
Stars: 3
Watchers: 7
Forks: 6
Open Issues: 5
Type:symfony-bundle
Requires
- php: ^7.4|^8.0
- doctrine/dbal: ^2.8|^3.0
- doctrine/doctrine-bundle: ^1.12|^2.0
- symfony/dependency-injection: ^4.4|^5.4|^6.0
- symfony/doctrine-bridge: ^4.4|^5.4|^6.0
- symfony/form: ^4.4|^5.4|^6.0
- symfony/framework-bundle: ^4.4|^5.4|^6.0
- symfony/property-access: ^4.4|^5.4|^6.0
- symfony/validator: ^4.4|^5.4|^6.0
- twig/twig: ^3.7
Requires (Dev)
- doctrine/orm: ^2.5|^3.0
- friendsofsymfony/ckeditor-bundle: ^2.1
- fsi/files: ^2.0.4
- fsi/form-extensions-bundle: ^2.2
- phpspec/phpspec: ^7.4
- phpstan/phpstan: ^1.10
- phpstan/phpstan-phpunit: ^1.3
- phpunit/phpunit: ^9.5|^10.0
- squizlabs/php_codesniffer: ^3.5
- symfony/phpunit-bridge: ^6.3
Suggests
- friendsofsymfony/ckeditor-bundle: For using ckeditor resource type
- fsi/files: For using web_file resource type
This package is auto-updated.
Last update: 2024-10-01 11:44:47 UTC
README
This bundle provides an easy and extendible way of creating various editable resources. Be it simple or formatted text, a number, an image or a PDF file, you can use one of the predefined types to handle it's database storage and displaying in template. Should you require to, you can define your own types.
Basically, this bundle exists so you do not have to create dedicated entities for simple content.
In order to access and modify said resources, you will have to use the Repository/Repository class (registered as a service). It will automatically fetch, save and handle the values conversion.
For displaying the values in templates, the bundle is integrated with Twig templating language.
All of the above are described in detail in the documentation linked below.
Build Status:
- Master
- 2.0
- 1.0
Documentation: