Laravel Lumen framework dressed as a Wordpress theme, that uses Eloquent Models.
As a starter, it comes with Rollup.js and Stylus for Laravel Elixir, but you can change this from the package.json
and gulpfile.js
files.
All questions/bugs/pull requests related with Lumen itself should be made on the original Lumen repository, but if you find some problems with the Wordpress integration, all issues and pull requests will be appreciated :)
-
Clone the repo content into
wp-content\themes\wplumen
folder -
Open the terminal, go to the
wplumen
folder and run composer. -
On the same folder, with the terminal, run
$ sudo npm install
, and then$ sudo gulp
(without the $ sign!) -
On the
wplumen
folder, rename the.env.example
to.env
, and change the database values with the Wordpress values, that you will find on awp-config.php
file at the root of the project. -
Login in to your wordpress admin panel and change the current theme to 'WpLumen'
-
Profit
- Eloquent models and relationships for Wordpress database
- Automatically get
wp-config.php
database values instead of retrieving them from.env
configuration - Tests
- Woocommerce Support
Since Lumen is under MIT License and Wordpress is under GNU General Public License, and this repo is nothing more than a merge of both projects, this repo has no license. (But it will be nice if you say my name when you share it!).