Pollora (@PolloraWP) header
Pollora (@PolloraWP) profile picture

Use WordPress as a Laravel package

France
Joined November 2024
Photo by Pollora (@PolloraWP)Photo by Pollora (@PolloraWP)Photo by Pollora (@PolloraWP)Photo by Pollora (@PolloraWP)Photo by Pollora (@PolloraWP)Photo by Pollora (@PolloraWP)Photo by Pollora (@PolloraWP)Photo by Pollora (@PolloraWP)Photo by Pollora (@PolloraWP)
Pollora v13.x beta is out, our first public beta 🎉 Laravel meets WordPress: PHP 8 attributes, Blade, Laravel routing, Eloquent models & AI-ready tooling. Auto-discovered, zero boilerplate. $ pollora new my-site 👉 pollora.dev #WordPress #Laravel
1
1
1
5
443
Valet, Herd, MAMP, DDEV, Apache, nginx: pick your local setup, Pollora has a page for it. The three conditions to get right, the steps for each tool, and a checklist for blank pages and 404s. pollora.dev/getting-started/… #Laravel #WordPress
1
1
124
What if your WordPress uploads lived on S3 with two lines in .env? MEDIA_DISK=media MEDIA_URL=media.client.fr Pollora 13.37 → 13.38.1. pollora.dev #Laravel #WordPress
1
1
5
144
register_post_type() is a wall of arrays. And a typo like 'show_in_reset' is silently ignored. In Pollora, a post type is a class: #[PostType('book')] #[HasArchive('books')] #[ShowInRest] Labels generated. Auto-discovered. pollora.dev/content/post-typ… pollora.dev/content/taxonomi…
1
2
118
Need one feature? Install the whole framework? Pollora v13.36.1 splits out four more packages: assets, meta, roles, block-bindings. Same class names, same code in a plugin, a classic theme, Bedrock or Pollora. pollora.dev/blog/pollora-13-… #Laravel #WordPress #FridayRelease
1
2
228
Claude can't touch your WordPress site. Unless you let it. Declare an #[Ability] in PHP: a typed schema, a permission check, a behaviour (reads, creates, deletes…). Any MCP client can then use it. Ask Claude, your site answers. pollora.dev/advanced/abiliti… #Laravel #WordPress
1
3
70
Pollora v13.36 is out, built on Laravel 13.36 (released yesterday). The framework is now split into standalone packages: → pollora/discovery → pollora/attributes → pollora/schedule → pollora/wp-rest → pollora/wp-cli Class names don't change. pollora.dev/changelog/#v13.3…
1
1
73
Gutenberg blocks, minus the plumbing. php artisan pollora:make:block → Blade for the server render → React + Vite (HMR) for the editor → #[BlockBinding] to feed core blocks with server data See it live in the editor 👇 pollora.dev/blocks/gutenberg… #laravel #wordpress
1
2
195
functions.php is a junk drawer! In Pollora, a hook is a class and an attribute: #[Action('save_post')] #[Async(delay: 60, tries: 3)] Auto-discovered. No add_action(). Runs after the request. Scaffold it: pollora make:action pollora.dev/hooks/actions-fi… #laravel #wordpress
1
1
5
91
🙌
New Laravel package! Pollora/framework: The Laravel framework for WordPress: Blade, Laravel routing and Eloquent, PHP 8 attributes for hooks, post types and REST routes. github.com/pollora/framework
1
16