Folivoro is a polymorphic WordPress application framework. It brings Laravel patterns — Dependency Injection, Service Providers, Facades, Eloquent, Events, Cache — into WordPress, without requiring the full Laravel stack.
The word polymorphic is deliberate: Sloth adapts to how your project is structured, rather than enforcing a fixed directory layout. A modern WordPress theme framework built with Laravel components, designed for developers who want to build powerful WordPress themes with a clean, object-oriented architecture.
- Laravel Components: Container, Validation, Pagination, View, Cache, Events and more — without the full Laravel stack
- Symfony Routing: Laravel-esque custom routing backed by
symfony/routing— zero extra dependencies - HTTP Layer:
Response::make(),Response::json(),Response::redirect()and more - ACF Support: Seamless integration with Advanced Custom Fields
- Module System: Organized module-based architecture for theme components
- Template Hierarchy:
brain/hierarchyintegration for intelligent template loading - WordPress REST API: Easy API endpoint creation with auto-discovery
- DebugBar: PHP DebugBar integration for development
- WP-CLI: Artisan-style console commands via
wp sloth
The best point to get you started with Folivoro is the documentation, making it a breeze to get started with the framework.