shebinleovincent/laravel-blog 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

shebinleovincent/laravel-blog

Composer 安装命令:

composer require shebinleovincent/laravel-blog

包简介

Laravel 5 blog package with admin views for managing blog entries.

README 文档

README

Build Status Total Downloads Latest Stable Version License

Laravel 5 blog package with admin views for managing blog entries.

Take a look at CONTRIBUTING.md to see a to do list.

Installation

Via Composer

composer require shebinleovincent/laravel-blog

Usage

Run migration

php artisan migrate

Publish config

php artisan vendor:publish --provider="ShebinLeoVincent\LaravelBlog\LaravelBlogServiceProvider"

Config file

You can change the blog name, blog layout for views, blog route path for public listing and admin page using config file located in `config/`.

return [
	'blog'  => [
		'name'       => 'Blog', // name of the blog which will be displayed in the public listing page.
		'layout'     => 'vendor.laravel-blog.layout', // layout for all blog views
		'route_path' => 'blog', // route path for public blog entry listing (/blog) and blog entry page (/blog/{slug})
		'route_name' => 'blog', // route name for public blog entry listing (blog.index) and blog entry page (blog.show)
	],
	'admin' => [
		'name'       => 'Manage Blog', // name will be displayed in the manage page.
		'layout'     => 'vendor.laravel-blog.layout', // layout for all blog views
		'route_path' => 'admin/blog', // route path for admin pages for managing blog entries (/admin/blog)
		'route_name' => 'admin.blog', // route name for admin pages for managing blog entries (admin.blog.index)
		'middleware' => [], // add middleware to protect admin pages e.g. [ 'auth' ]
	],
];

Blog routes

/blog - public route to list all blog entries.

/admin/blog - route to manage (create / edit / publish) the blog entries.

Change log

Please see the CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING.md for details and a todolist.

Security

If you discover any security related issues, please email shebinleovincent@gmail.com instead of using the issue tracker.

Credits

License

MIT License. Please see the license file for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-02-20

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固