unkonf / sulu-schemaorg-event-bundle
Sulu bundle for rendering schema.org event information
Installs: 0
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:sulu-bundle
Requires
- php: ^8.2 | ^8.3
- sulu/sulu: ^2.6
- symfony/dependency-injection: ^6.0
- symfony/framework-bundle: ^6.0
- symfony/http-foundation: ^6.0
- symfony/http-kernel: ^6.0
- symfony/routing: ^6.0
Requires (Dev)
- jackalope/jackalope: ^1.4
- jackalope/jackalope-doctrine-dbal: ^1.8
- madewithlove/license-checker: ^1.4
- phly/keep-a-changelog: ^2.12
- phpstan/extension-installer: ^1.2
- phpstan/phpstan: ^1.9
- phpstan/phpstan-phpunit: ^1.3
- phpstan/phpstan-strict-rules: ^1.4
- phpunit/phpunit: ^11.2
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.7
This package is auto-updated.
Last update: 2024-11-02 06:48:48 UTC
README
This is a Sulu bundle to manage Schema.org Event metadata for your Sulu webspaces.
Installation
composer require unkonf/sulu-schemaorg-event-bundle
- Register the bundle in the file
config/bundles.php
UnKonf\Sulu\SchemaOrgEventBundle\UnKonfSuluSchemaOrgEventBundle::class => ['all' => true],
- Configure the routing as follows:
Create file config/routes/schemaorgevent_admin.yaml
:
schemaorgevent_api: resource: "@UnKonfSuluSchemaOrgEventBundle/Resources/config/routing_api.yaml" type: rest prefix: /admin/api
- Run Doctrine Schema Update
./bin/adminconsole doctrine:schema:update -f
Usage
Once installed, this bundle adds a tab called "Schema.org Event" to the webspaces configuration which allows you to create new schema.org Event entries for the different webspaces. For each webspace only one event configuration can be saved.
The tab is only visible once the user got the permissions assigned. Create a new role via "Settings > User role" first, and assign it to the users that should be able to manage the settings.
Contribute
Please feel free to fork and extend existing or add new features and send a pull request with your changes! To establish a consistent code quality, please provide unit tests for all your changes and adapt the documentation.
Want To Contribute?
If you feel that you have something to share, then we’d love to have you. Check out the contributing guide to find out how, as well as what we expect from you.
License
Sulu Schema.org Event Bundle is released under the MIT License.