https://github.com/rogervila/wplumen
Laravel Lumen framework dressed as a Wordpress theme, using Eloquent Models.
https://github.com/rogervila/wplumen
laravel lumen theme wordpress
Last synced: 3 months ago
JSON representation
Laravel Lumen framework dressed as a Wordpress theme, using Eloquent Models.
- Host: GitHub
- URL: https://github.com/rogervila/wplumen
- Owner: rogervila
- Created: 2016-08-17T08:28:01.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2022-04-04T12:43:43.000Z (about 4 years ago)
- Last Synced: 2026-04-10T20:46:42.902Z (3 months ago)
- Topics: laravel, lumen, theme, wordpress
- Language: PHP
- Homepage:
- Size: 97.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://travis-ci.org/rogervila/wplumen)
# WpLumen
[Laravel Lumen](https://lumen.laravel.com/docs/5.2) framework dressed as a Wordpress theme, that uses Eloquent Models.
As a starter, it comes with [Rollup.js](https://github.com/JeffreyWay/Laravel-Elixir-Rollup) and [Stylus](https://github.com/JeffreyWay/laravel-elixir-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](https://github.com/laravel/lumen), 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](https://codex.wordpress.org/Installing_WordPress).
2) Clone the repo content into `wp-content\themes\wplumen` folder
3) Open the terminal, go to the `wplumen` folder and [run composer](https://getcomposer.org/doc/00-intro.md).
6) 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](https://codex.wordpress.org/Database_Description)
- Automatically get `wp-config.php` database values instead of retrieving them from `.env` configuration
- Tests
- Woocommerce Support
## License
Since Lumen is under [MIT License](https://opensource.org/licenses/MIT) and Wordpress is under [GNU General Public License](https://wordpress.org/about/gpl/), 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](http://www.rogervila.es) when you share it!).