Skip to content
Dan Alvidrez edited this page Jul 23, 2018 · 9 revisions

As a huge fan of Laravel, I wrote a boilerplate that integrates a full Lumen MicroFramework instance within the Wordpress Plugin format. I created this to help Wordpress developers learn Laravel and for clients that might use Wordpress but want some custom functionality that's easily created with Laravel's api's but don't need a full blown app or might want to integrate that functionality within Wordpress itself.

A full instance of Lumen will run in a compact plugin, building and inserting controllers where defined in the Wordpress Service Provider. Database configuration is automatic. Artisan console commands work and can fire on "install", "deactivate" and "uninstall".

**Initially I wrote everything from scratch which allowed me to learn how Laravel instantiates an app and how to use service providers resolved from the container. This taught me a substantial amount of knowledge of how Laravel works on the inside. I recently re-wrote the concept using Lumen which has made the setup run faster.

Give it a try and feel free to contribute to project if you find it useful.

Clone this wiki locally