pollora / framework
Laravel & WordPress blend for coding as sweet as honey. Join the hive!
Requires
- php: ^8.3
- coduo/php-humanizer: 5.0.3
- cweagans/composer-patches: ^1.7
- illuminate/auth: ^13.5
- illuminate/config: ^13.5
- illuminate/console: ^13.5
- illuminate/database: ^13.5
- illuminate/routing: ^13.5
- illuminate/support: ^13.5
- laravel/prompts: ^0.3.17
- log1x/sage-directives: ^2.0
- nwidart/laravel-modules: ^13.0
- pollora/colt: ^10.0
- pollora/entity: ^1.2
- pollora/helper-overrider: ^1.0
- pollora/query: ^1.0
- roots/bedrock-autoloader: ^1.1
- spatie/php-structure-discoverer: ^2.4
- symfony/process: ^7.4 || ^8.0
- watson/rememberable: ^7.1
Requires (Dev)
- driftingly/rector-laravel: ^2.3
- larastan/larastan: ^3.0
- laravel/pint: ^v1.29.1
- mockery/mockery: ^1.6
- orchestra/testbench: ^10.0|^11.0
- pestphp/pest: ^v3.8.2
- pestphp/pest-plugin-type-coverage: ^3.6
- php-stubs/wordpress-stubs: 6.*
- symfony/var-dumper: ^7.4 || ^8.0
- symplify/vendor-patches: ^12.0
- szepeviktor/phpstan-wordpress: *
- wp-cli/wp-cli: ^2.12
- dev-main
- v13.3.0
- v13.2.0
- v13.1.0
- v13.0.0
- v12.0.0
- dev-dependabot/composer/develop/symfony/var-dumper-tw-8.0.8
- dev-dependabot/composer/develop/larastan/larastan-tw-3.9
- dev-dependabot/composer/develop/cweagans/composer-patches-tw-2.0
- dev-dependabot/composer/develop/orchestra/testbench-tw-11.1.0
- dev-dependabot/github_actions/develop/actions/download-artifact-8
- dev-dependabot/github_actions/develop/actions/upload-artifact-7
- dev-dependabot/github_actions/develop/actions/cache-5
- dev-feature/phpstan-baseline-cleanup
- dev-feature/make-block
- dev-release/v13.4.0
- dev-feature/dashboard
- dev-feature/i18n-text-domain-v2
- dev-feature/testbench-feature-tests
- dev-feature/brain-monkey-migration
- dev-feature/type-coverage-ci
- dev-develop
- dev-feature/pest-migration
- dev-feature/seo_http_status
- dev-feature/code_cleanup
- dev-feature/option_abstration
- dev-feature/plugin_module
- dev-feature/theme_downloader
- dev-feature/rework_discovery
- dev-feature/modular_theme
- dev-feature/discoverer_rework
- dev-feature/router_rework
- dev-codex/analyser-et-compléter-les-commentaires-phpdoc
- dev-codex/analyser-le-code-pour-détecter-du-texte-en-français
- dev-codex/rédiger-spécifications-architecture-hexagonale
- dev-codex/rédiger-document-de-contribution
- dev-codex/ajouter-des-commentaires-phpdoc-et-traduire-le-texte
- dev-ca6y3e-codex/trouver-et-corriger-un-bug
- dev-codex/trouver-et-corriger-un-bug
- dev-feature/command_arg_factorisation
- dev-feature/domain_centric_architecture
- dev-feature/template_hierarchy
- dev-fix/constants_error
- dev-feature/external_theme_manager
- dev-feature/improved_wp_install
- dev-feature/modules
- dev-feature/hook_rework
- dev-feature/code_quality
- dev-feature/wordpress_custom_route
- dev-feature/cpt_and_taxonomie_attributes
- dev-feature/event_declarations
- dev-feature/scheduler_attribute
- dev-feature/wp_rest_api_attributes
- dev-feature/hook_attributes
- dev-feature/hook_command
- dev-feature/woocommerce
- dev-feature/laravel_recommandations
- dev-feature/fix_wpcli_import_db_wp_not_installed
- dev-feature/asset_container
- dev-feature/wp_launchpad
This package is auto-updated.
Last update: 2026-04-27 16:48:24 UTC
README
About Pollora Framework
Pollora is a framework that bridges Laravel and WordPress, combining Laravel's architecture patterns with WordPress's content management capabilities. It allows developers to use Laravel's service providers, dependency injection, Blade templates, and Eloquent ORM while maintaining full WordPress functionality.
Key Features
- WordPress routing via
Route::wp()with template hierarchy support - PHP attributes for hooks (
#[Action],#[Filter]), post types (#[PostType]), taxonomies (#[Taxonomy]), scheduling (#[Schedule]), and REST routes (#[WpRestRoute]) - Auto-discovery system that scans and registers components automatically
- Blade templates with Sage Directives for WordPress data
- Theme system with dynamic PSR-4 autoloading, parent/child theme support, and Vite asset management
- WordPress authentication guard and password hashing integration
- Event dispatching for WordPress core, WooCommerce, Gravity Forms, and Yoast SEO
- Module system via nwidart/laravel-modules
Documentation
Full documentation is available at github.com/Pollora/documentation.
Installation
Pollora is installed via the skeleton project:
composer create-project pollora/pollora my-project
See the skeleton README for detailed setup instructions.
Requirements
- PHP ^8.3
- Laravel 13.x
- WordPress 6.9+
Testing
composer test # Run all checks (Rector, Pint, PHPStan, Pest) composer test:unit # Run Pest tests with 100% coverage requirement composer test:types # Run PHPStan static analysis composer test:lint # Check code style with Pint composer test:refacto # Check refactoring rules with Rector
Contributing
Please see CONTRIBUTING.md for details.
Security
If you discover a security vulnerability, please report it via GitHub Security Advisories. See SECURITY.md for details.
Changelog
All notable changes are documented in CHANGELOG.md.
License
Pollora is open-sourced software licensed under the GPL-2.0-or-later.