這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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