该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

LaraPress

描述

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.

  1. Upload the plugin files to the /wp-content/plugins/plugin-name directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Go to Settings > Laravel Bootstrap and then setup your Laravel 5 root directory.
  4. 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.

评价

2017年3月23日
this plugin provide this type functionality ? I am currently having a Laravel site using laravel auth. In one of my links on the site, I want it to link to a child url to lead to a page with child pages controlled by wordpress. The content on the page needs to be restricted access based on the laravel user auth. 2 components are required: 1. Laravel integration 2. WordPress plugin that can check laravel $user-> access_level, display it, and restrict access to certain page for users. Please describe the solution to this problem and how it would be implemented.
阅读所有1条评价

贡献者及开发者

“LaraPress” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“LaraPress”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.1

  • Initial release