Skip to content
PolloraPublic
forked from laravel/laravel

About

Pollora skeleton: start a WordPress project running inside Laravel with composer create-project pollora/pollora.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

12 stars

Watchers

2 watching

Forks

 
 

Latest commit

 

History

7,511 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pollora: The Laravel framework for WordPress

Latest Version Total Downloads Tests License

Pollora is the Laravel framework for WordPress, and this repository is the skeleton composer create-project installs. WordPress runs inside a Laravel application: the front end uses Laravel routing, controllers, Blade and Eloquent, while the WordPress admin, database and plugins keep working as usual. You start a WordPress site with a real Laravel project around it, instead of a theme folder full of functions.php code.

Website · Documentation · Why Pollora · How Pollora compares with Acorn, Sage, Radicle and Corcel · 1-minute tour

Installation

With the Pollora CLI, which can also set up a DDEV environment:

composer global require pollora/cli
pollora new my-project --ddev

Or with Composer:

composer create-project pollora/pollora my-project
cd my-project
# Configure your .env with database credentials, then:
php artisan pollora:install

The installation guide covers both paths, the interactive setup and DDEV.

Requirements:

  • PHP 8.4+ (this skeleton's composer.lock ships Symfony 8, which requires it)
  • Composer 2.x
  • Node.js 20.19+ or 22.12+ & npm (the floor Vite 7 requires)
  • A database (MySQL, MariaDB, or SQLite)
  • WordPress 7.1+ is installed for you through Composer

What you get

  • WordPress routing with Route::wp() and template hierarchy support
  • PHP attributes for hooks, post types, taxonomies, scheduling, and REST routes
  • Blade templates with Sage Directives (@title, @content, @permalink...)
  • Eloquent ORM with WordPress models via Colt
  • Multi-theme support with parent/child themes and Vite asset bundling
  • Auto-discovery for service providers, hooks, and components
  • Gutenberg blocks rendered with Blade, block patterns and categories
  • Laravel's database migrations, sessions, and cache, next to WordPress

Documentation

Full documentation is available at pollora.dev, starting with the installation guide.

Changelog

All notable changes are documented in the CHANGELOG.

Support the project

Questions, ideas and feedback are welcome in GitHub Discussions.

Contributing

Contributions are welcome: see the contributing guide. Branch from main: this repository has no develop branch. Participation is covered by our Code of Conduct. Report security issues privately, as described in the security policy.

License

Pollora is open-source software licensed under the MIT license. © RuBee group

About

Pollora skeleton: start a WordPress project running inside Laravel with composer create-project pollora/pollora.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

12 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages