croct/plug-php
Croct PHP SDK brings dynamic, personalized content natively into your applications. Install via Composer and connect your Laravel or PHP app to Croct's headless CMS for content management, A/B testing, and personalization without complex integrations.
Architecture fit
croct/plug-php is a vendor SDK—a thin client over Croct’s personalization/content API—not an application framework or persistence layer. It fits Laravel as an infrastructure adapter behind a service class, not as a domain model or repository.Integration feasibility
composer require croct/plug-php plus environment-based credentials (application ID/token).Technical risk
.env files or front-end bundles.Key questions
Stack fit
composer.json before committing.PersonalizationService::resolveSlot()). Controllers, Blade components, and API resources depend on that interface, not on Croct classes.Migration path
Compatibility
curl, json, openssl) and confirm no ext-* conflicts with the deployment image.Http::fake() directly; plan for an adapter or a mock of the internal interface.Sequencing
PersonalizationService interface with a static fallback implementation.Maintenance
Support
Scaling
Failure modes
Ramp-up
How can I help you explore Laravel packages today?