This plugin enables you to use the Laravel Facades inside your Wordpress Theme. Especially usefull to check the Laravel authenticated user.
This is very early version, please send suggestions. This is a BETA version so PLEASE DO NOT USE IN PRODUCTION ENVIRONMENT UNLESS YOU KNOW THE RISKS.
We have not fully tested the impact of loading Laravel with Wordpress. So we don't know yet if there are any negative impact or Conflict. Early test have shown it doesn't have much impact and no issues have been found. We appriciate all feedback to make this plugin more robust.
We provide no warranty.
This plugin require at least PHP 5.5.9 and Laravel 5. Don't bother asking question if you are not running PHP 5.5.9+ or Laravel 5.
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/plugin-name
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
- Go to Settings > Laravel Bootstrap and then setup your Laravel 5 root directory.
- Your current Wordpress web server need access to the Laravel folder, so make sure you are having the right folder setup. E.g: Install Wordpress inside the Laravel public folder as a subfolder like public/blog.