redaxo/source
REDAXO is an easy-to-learn, multilingual website framework/CMS with custom modules for full control over input and output. Simple yet flexible since 2004, highly extendable and adaptable to your workflow, backed by an active community and solid docs.
EP_*, SLICE_BE_PREVIEW). This aligns well with Laravel’s modularity but requires a hybrid approach—Laravel’s service container can wrap REDAXO’s core classes (e.g., rex_*) for dependency injection.RexArticleService extending ArticleRepository)./redaxo/ directory) with Laravel routing to its frontend/backend.rex_sql) and active record patterns (rex_article, rex_media). Laravel’s Eloquent can coexist but requires custom model bindings (e.g., RexArticleModel extending Model with static find() overrides).EP_ARTICLE_SAVE → event(new ArticleSaved($article)))./index.php?page=...), and fetch content via REDAXO’s API addon or custom endpoints./admin to REDAXO and /api to Laravel.rex_user.symfony/console, symfony/http-foundation) may cause version conflicts.replace or vendor patching to isolate dependencies.| Risk Area | Severity | Mitigation Strategy |
|---|---|---|
| PHP Version Mismatch | High | Pin REDAXO to PHP 8.3 (Laravel’s min version) via .php-version or Docker. |
| Database Schema Conflicts | Medium | Use separate databases or a shared schema with migrations (risky). |
| Event Hook Gaps | Medium | Build a bridge service to translate REDAXO events to Laravel events. |
| Performance Overhead | Medium | Profile REDAXO’s Smarty templates vs. Laravel’s Blade; cache aggressively. |
| Long-Term Maintenance | High | REDAXO’s German-centric community may limit support; prioritize documentation. |
RexArticleService).| Component | Laravel Fit | REDAXO Fit | Integration Notes |
|---|---|---|---|
| Routing | Excellent | Basic | Use Laravel routes for /api, proxy /admin to REDAXO. |
| Authentication | Excellent | Basic | Sync users via rex_user table or custom bridge. |
| Database | Excellent | Basic | Shared schema (risky) or separate DBs. |
| Templates | Blade | Smarty | Avoid mixing; use REDAXO for admin, Blade for frontend. |
| Event System | Events | EP_Hooks | Build a translator service. |
| Dependency Mgmt | Composer | Composer | Risk of version conflicts (Symfony, PHPMailer). |
rex_article, rex_media).EP_ARTICLE_SAVE → Laravel article.saved).rex_session).rex_* tables). Laravel’s Eloquent can coexist but requires:
RexArticle extends Model with static find() overrides).replace or vendor patching.rex_user).EP_ARTICLE_SAVE → Laravel eventHow can I help you explore Laravel packages today?