Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Core Laravel Package

redaxo/core

REDAXO core is a PHP-based CMS and framework for building and managing websites. It provides the admin backend, addon system, content structure, and essential services like routing, media handling, and templating—forming the foundation for REDAXO projects.

View on GitHub
Deep Wiki
Context7

REDAXO, a PHP-based CMS since 2004. Both simple and flexible.

Frequently asked questions about Core
Can I use REDAXO as a headless CMS backend for Laravel?
Yes, REDAXO’s built-in REST and GraphQL plugins (rex_api) work well as a headless backend for Laravel. Use Laravel’s HTTP client or API resources to fetch content, while keeping the admin interface in REDAXO. For real-time workflows, consider caching API responses with Laravel’s cache drivers.
How do I install REDAXO alongside Laravel in the same project?
REDAXO isn’t a Composer package but can be integrated via subdirectory installation (e.g., `/redaxo`). Use Laravel’s service providers to wrap REDAXO’s procedural functions (e.g., `rex()`) into dependency-injected services. Avoid direct Composer conflicts by namespacing database tables (e.g., `redaxo_articles` vs. `laravel_posts`).
Will REDAXO’s MySQL schema conflict with Laravel’s migrations?
Potential conflicts exist, especially for shared tables like `users` or `sessions`. Mitigate this by using a data access layer (DAL) or Doctrine Migrations to handle schema changes incrementally. For new projects, consider a hybrid setup with separate schemas or namespaced tables to avoid overlaps.
How can I sync REDAXO’s user system with Laravel’s authentication?
Extend Laravel’s `Authenticatable` to fetch users from REDAXO’s `rex_user` table, or use Laravel Passport/Sanctum to proxy REDAXO’s authentication endpoints. For seamless integration, create a custom guard or leverage OAuth packages to bridge the two systems without duplicating user data.
Does REDAXO support PHP 8.1+ and Laravel’s dependency injection?
REDAXO core supports PHP 8.1+, but its legacy procedural patterns (e.g., global `rex()` functions) may require refactoring. Wrap these functions in Laravel service providers or facades to align with Laravel’s DI container. Test thoroughly, as some older plugins may not be fully compatible.
Can I use Laravel Blade templates with REDAXO’s content?
Direct Blade compatibility is limited, but you can create a templating bridge using custom Blade directives or middleware to render REDAXO content in Laravel views. For headless setups, REDAXO’s REST API integrates cleanly with Laravel’s HTTP client or API resources for dynamic content delivery.
What are the performance implications of mixing REDAXO and Laravel?
REDAXO’s legacy components (e.g., YAML configs, procedural code) may introduce overhead. Profile with Laravel Debugbar or Blackfire to identify bottlenecks, especially in hybrid workflows. Optimize by caching API responses, using Redis for session storage, and refactoring procedural code into Laravel’s service layer.
Are there Laravel-specific testing tools for REDAXO integration?
Laravel’s PHPUnit and Dusk can test hybrid workflows, but REDAXO’s procedural nature may require mocking its services. Focus on unit testing Laravel-REDAXO bridges (e.g., API clients, auth guards) and integration tests for critical paths like content fetching or user synchronization.
What alternatives exist for integrating a CMS with Laravel?
For Laravel-native solutions, consider Spatie’s Laravel Media Library (for media), October CMS (headless or hybrid), or Statamic (flat-file or database-backed). If sticking with REDAXO, prioritize its REST API for decoupled workflows or use wrapper packages (e.g., `laravel-redaxo/media`) to bridge gaps.
How do I handle caching between REDAXO and Laravel?
Extend Laravel’s cache drivers to wrap REDAXO’s `rex_cache` system. For example, create a custom cache store in a service provider to use Redis or Memcached instead of REDAXO’s file-based cache. This avoids duplication and leverages Laravel’s robust caching ecosystem for performance.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
boundwize/jsonrecast
nexmo/api-specification
capell-app/block-library
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata