定制 nickdekruijk/pages 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

nickdekruijk/pages

Composer 安装命令:

composer require nickdekruijk/pages

包简介

A Laravel 5.5+ Page model, migration and controller.

README 文档

README

Latest Stable Version Latest Unstable Version Monthly Downloads Total Downloads License

Pages

A Laravel 6 Page model, migration and controller. It can be used as a foundation for a website. A basic view with navigation and a footer is also included.

Installation

After a clean Laravel 6.x installation and configuring your database install the package with:

composer require --dev nickdekruijk/pages

Depending on your project you may need some or all of these packages too (remove what you don't need):

composer require nickdekruijk/admin nickdekruijk/settings nickdekruijk/minify doctrine/dbal laravel/helpers arcanedev/laravel-lang

Then run the following command to create a Page model, PageController, migration and media folder. Add -h to see more options on how to change the default names.

php artisan pages:install

Review the new database/migrations/yyyy_mm_dd_hhmmss_create_pages_table.php migration file and adapt to your needs, then run the migration to create the pages table with:

php artisan migrate

Create admin user

Create a user with admin privileges using:

php artisan admin:user user@domain.com

Add Routes

Add Route::get('{any}', 'PageController@route')->where('any', '(.*)'); to your routes/web.php file.

Dummy data

You can add some sample pages by running php artisan db:seed --class=NickDeKruijk\\Pages\\PageSeeder

License

Admin is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-01-10

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固