Skip to content

rogervila/wplumen

Repository files navigation

Build Status

WpLumen

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 :)

Installation

  1. Install a new Wordpress project.

  2. Clone the repo content into wp-content\themes\wplumen folder

  3. Open the terminal, go to the wplumen folder and run composer.

  4. On the same folder, with the terminal, run $ sudo npm install, and then $ sudo gulp (without the $ sign!)

  5. On the wplumen folder, rename the .env.example to .env, and change the database values with the Wordpress values, that you will find on a wp-config.php file at the root of the project.

  6. Login in to your wordpress admin panel and change the current theme to 'WpLumen'

  7. Profit

Todos

  • Eloquent models and relationships for Wordpress database
  • Automatically get wp-config.php database values instead of retrieving them from .env configuration
  • Tests
  • Woocommerce Support

License

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!).

About

Laravel Lumen framework dressed as a Wordpress theme, using Eloquent Models.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published