pollora/framework

Laravel & WordPress blend for coding as sweet as honey. Join the hive!

Maintainers

Package info

github.com/Pollora/framework

Type:project

pkg:composer/pollora/framework

Statistics

Installs: 2 833

Dependents: 2

Suggesters: 0

Stars: 0

Open Issues: 11

v13.3.0 2026-04-22 11:05 UTC

This package is auto-updated.

Last update: 2026-04-27 16:48:24 UTC


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.