croct / plug-symfony
Symfony bundle to plug your Symfony applications into Croct.
Requires
- php: ^8.2
- ext-json: *
- croct/plug-php: 0.1.0
- nyholm/psr7: ^1.8
- psr/cache: ^3.0
- symfony/cache: ^6.4 || ^7.4 || ^8.0
- symfony/config: ^6.4 || ^7.4 || ^8.0
- symfony/dependency-injection: ^6.4 || ^7.4 || ^8.0
- symfony/event-dispatcher: ^6.4 || ^7.4 || ^8.0
- symfony/http-client: ^6.4 || ^7.4 || ^8.0
- symfony/http-foundation: ^6.4 || ^7.4 || ^8.0
- symfony/http-kernel: ^6.4 || ^7.4 || ^8.0
- symfony/service-contracts: ^3.6
Requires (Dev)
- croct/coding-standard: ^0.4.5
- ergebnis/composer-normalize: ^2.28
- php-http/mock-client: ^1.6
- phpstan/extension-installer: ^1.4
- phpstan/phpstan: ^2.2
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^11.5
- squizlabs/php_codesniffer: ^4.0
- symfony/browser-kit: ^6.4 || ^7.4 || ^8.0
- symfony/framework-bundle: ^6.4 || ^7.4 || ^8.0
- symfony/security-bundle: ^6.4 || ^7.4 || ^8.0
- twig/twig: ^3.0
Suggests
- croct/plug-storyblok: Serves Croct content inside Storyblok stories; auto-wired alongside the Storyblok bundle.
- symfony/security-bundle: Enables built-in user identification from the authenticated user.
- twig/twig: Enables the {{ croct_script() }} Twig function for placing the client bootstrap manually.
This package is auto-updated.
Last update: 2026-06-17 18:41:48 UTC
README
Croct Symfony Bundle
Bring dynamic, personalized content natively into your Symfony applications.
Introduction
Croct is a headless CMS that helps you manage content, run AB tests, and personalize experiences without the hassle of complex integrations.
This bundle provides seamless integration between Croct and Symfony, letting you inject a ready-to-use client into your controllers and services to deliver personalized content with no glue code.
Installation
Run this command to install the bundle:
composer require croct/plug-symfony
See our quick start guide for more details.
Documentation
Visit our official documentation.
Support
Join our official Slack channel to get help from the Croct team and other developers.
Contribution
Contributions are always welcome!
- Report any bugs or issues on the issue tracker.
- For major changes, please open an issue first to discuss what you would like to change.
- Please make sure to update tests as appropriate. Run tests with
composer test.
License
This library is licensed under the MIT license.