承接 saularis/laravel-pages 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

saularis/laravel-pages

Composer 安装命令:

composer require saularis/laravel-pages

包简介

A simple static pages package for Laravel.

README 文档

README

Pages is a static page system for Laravel applications.

Installation

To get started, use Composer to add the package to your project's dependencies:

composer require dmyers/laravel-pages

Laravel 4

Use the 1.0 branch or the v1.* tags for Laravel 4 support.

Configuration

Publish the default config file to your application so you can make modifications.

$ php artisan vendor:publish

Usage

To add a page, create a view in your resources directory at resources/views/pages and the URL will map to the path. You can nest folders and they will be included in the URL.

In your views there is a helper you can use to link to pages:

page_url('about');

Or if you just want the path to the page:

page_path('about');

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-08-22