webigniter-net/laravel-client
最新稳定版本:1.0.1
Composer 安装命令:
composer require webigniter-net/laravel-client
包简介
The official Webigniter client for Laravel
关键字:
README 文档
README
This package integrates the Webigniter CMS services into your Laravel applications. This package requires a working Laravel installation. This readme provides an overview of integrating and using the Webigniter Laravel Client in your Laravel projects. For more details, visit the Webigniter Documentation.
Installation
Install the Webigniter Laravel client via Composer:
composer require webigniter-net/laravel-client
Get a free license Key
To generate a free license key, create an account at Webigniter.net. Then login to the CMS and head to 'License' and click 'show/hide license key'. For more information about the license key, visit the documentation page about finding your license key
Setting Up License Key
Add your license key to your .env file:
WEBIGNITER_KEY=YOURKEY
Laravel Blade Integration
Once installed and after setting up the license key, you can integrate pages from the Webigniter CMS into your Laravel Blade templates. This integration allows you to display content managed within the Webigniter CMS directly within your Laravel project's views. For a detailed description on creating your first page, visit our documentation page about creating your first page
Example Blade Layout
Here's an example of integrating Webigniter services into your Blade layout:
<html> <head> <title>My awesome Webigniter page</title> </head> <body> <?php $webigniter->getSectionsContent(); ?> </body> </html>
Example Section File
Here's an example of a section file using Blade syntax, where 'title' corresponds to an element handle in your CMS:
<h1>{{ $title }}</h1>
统计信息
- 总下载量: 9
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2024-07-17