matthewfritz/laravel-cms-scaffolding
Composer 安装命令:
composer create-project matthewfritz/laravel-cms-scaffolding
包简介
This project contains the boilerplate functionality that you would expect to see in a Laravel CMS. That way you can start working on your cool features instead of having to worry about the routing and content retrieval.
README 文档
README
This project contains the boilerplate functionality that you would expect to see in a Laravel CMS. That way you can start working on your cool features instead of having to worry about the routing and content retrieval.
This scaffolding project is written in Laravel 5.4.
Installation
This project can be installed from Composer.
composer create-project --prefer-dist matthewfritz/laravel-cms-scaffolding my-custom-cms
Features
Out of the box, you get a bunch of features. This laravel-cms-scaffolding project can actually be used as a basic lightweight CMS on its own. However, you will probably want to use it as a jumping-off point for larger projects since it takes care of the CMS boilerplate for you.
- Support for multiple sites within the same domain
- Support for sites nested deeper than the top-level of the domain
- Support for multiple domains/sub-domains on the same machine
- Support for a proxy/load-balancer when routing to the proper site
- Support for customizable themes using Blade and HTML
- Support for site-wide and single-page themes
- Support for the following templates within a theme: regular page, landing page, custom 404 page
- Support for a 404 page using the site's theme
- Support for the revision history of a page
Themes
Themes are located in the resources/views/themes directory. There are two example bare-bones themes included that demonstrate various bits of functionality supported by this project.
Default Theme
This theme is located in resources/views/themes/default.
This theme is automatically applied when a site does not specify which one to use. It uses a regular page rendering template but also includes a custom 404 page template.
It is a basic Bootstrap theme.
Carousel Theme
This theme is located in resources/views/themes/carousel.
This theme includes a regular page rendering template but also includes a rendering template to be used specifically for the landing page of a site.
It is a basic Bootstrap theme but the landing page uses a custom rendering template that includes a Bootstrap carousel.
Database Tables
This project comes with several migrations. The migrations included create the following tables:
usersrolesuser_rolessitespagesrevisions
Development Data
There is also seeder data for every table that sets-up two example sites along with the relevant revisions, pages, and themes.
Debugging
The Laravel Debugbar (barryvdh/laravel-debugbar) is one of the dependencies for this repository. If you do not wish to use the debug bar, either remove the service provider in config/app.php or set APP_DEBUG=false in your .env file.
matthewfritz/laravel-cms-scaffolding 适用场景与选型建议
matthewfritz/laravel-cms-scaffolding 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 43 次下载、GitHub Stars 达 3, 最近一次更新时间为 2017 年 04 月 18 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「framework」 「cms」 「boilerplate」 「laravel」 「scaffolding」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 matthewfritz/laravel-cms-scaffolding 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 matthewfritz/laravel-cms-scaffolding 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 matthewfritz/laravel-cms-scaffolding 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
PHP Framework HLEB2 is the foundation of the web application. Provides ease of development and application performance.
GraphQL authentication for your headless Craft CMS applications.
PHP class to extend when building a WordPress plugin allowing you to follow smart plugin setup standards.
Set Links with a specific language parameter
Supercharged text field validation.
Anax htmlform module.
统计信息
- 总下载量: 43
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2017-04-18