za-laravel/laravel-static-pages

Laravel 5 的静态页面管理包

dev-master 2016-10-08 20:39 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:42:50 UTC


README

Laravel 5 的静态页面管理包

安装

  • 使用以下命令安装包:composer require za-laravel/laravel-static-pages:"dev-master"

  • 现在将服务提供者添加到 config/app.php 文件中的 providers 数组。

    <?php
    
    'providers' => array(
    
        'Illuminate\Foundation\Providers\ArtisanServiceProvider',
        'Illuminate\Auth\AuthServiceProvider',
        ...
        'ZaLaravel\LaravelNavigation\LaravelStaticPagesServiceProvider',
    
    ),
    ?>
  • 发布迁移和种子:php artisan vendor:publish --force

用法