voorhof/cms
Composer 安装命令:
composer require voorhof/cms
包简介
Laravel CMS scaffolding using the Bootstrap frontend toolkit and Blade templating engine.
README 文档
README
This is a CMS template for Laravel 12 using Bootstrap 5 as the frontend toolkit.
It includes all routes, controllers, requests, policies, views, ...
for User and Role management, together with a Post model and all it's CRUD functionality.
An excellent basic starting point for every application not using React, Vue, Livewire, ...
only Blade and a little KISS 💋
Installation
You can install the package via composer.
composer require voorhof/cms
Run the artisan command to install the CMS structure,
this will copy all necessary files to your app and update existing ones (a backup option is available).
php artisan cms:install
After installation, the database will automatically be refreshed and seeded with factory data;
you can always customize the CmsSeeder file to your development needs.
Although it is not required for installing this CMS package,
ideally a user authentication for registering, login,... should be present in your project.
If you don't have auth scaffolding installed,
Voorhof Bries is available in this package.
When you choose to use Bries, be sure to execute this artisan command before calling cms:install
php artisan bries:install
To make things even easier, you can install both Bries and CMS with one single command.
Please take note this uses the default installation options for both Bries and CMS.
If you want to customize the Bries installation using your preferred options,
install the packages separately as described above.
php artisan cms:bries
Under the hood Laravel Permission from Spatie is used for authorization.
Everything needed for this template is already in place after installation,
but if you feel the need to re-publish the config file and database migration in the future, do so with this command.
Keep in mind that the default Spatie Role model has been extended,
so you will probably have to update that again in the permissions.php config file.
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider"
Testing
After installation there will be a new set of test files present in your project.
Make sure you run the composer tests and check everything is working properly.
php artisan test
Credits
License
The MIT License (MIT). Please see License File for more information.
voorhof/cms 适用场景与选型建议
voorhof/cms 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 233 次下载、GitHub Stars 达 0, 最近一次更新时间为 2025 年 07 月 11 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「bootstrap」 「cms」 「laravel」 「blade」 「starter kit」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 voorhof/cms 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 voorhof/cms 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 voorhof/cms 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
GraphQL authentication for your headless Craft CMS applications.
Set Links with a specific language parameter
Supercharged text field validation.
Views for the package MedicOneSystems Livewire Datatables with Bootstrap 4
Integrate with Snipcart.
bootstrap select field module implementing http://silviomoreto.github.io/bootstrap-select/
统计信息
- 总下载量: 233
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 8
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-07-11