Laravel 13
PHP 8.3+
There's a lot of open issues
Laravel & WordPress blend for coding as sweet as honey. Join the hive!
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

^v1.29.1
pestphp/pest-plugin-type-coverage
^3.6
symfony/var-dumper
^7.4 || ^8.0
szepeviktor/phpstan-wordpress
*
php-stubs/wordpress-stubs
6.*
symplify/vendor-patches
^12.0
brain/monkey
^2.6
mockery/mockery
^1.6
wp-cli/wp-cli
^2.12

Runtime

pollora/entity
^1.2
cweagans/composer-patches
^1.7
log1x/sage-directives
^2.0
roots/bedrock-autoloader
^1.1
pollora/query
^1.0
spatie/php-structure-discoverer
^2.4
coduo/php-humanizer
5.0.3
symfony/process
^7.4 || ^8.0
 Project Readme

Pollora

Latest Stable Version Total Downloads Coverage License

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.