定制 trovcms/installer 二次开发

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

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

trovcms/installer

最新稳定版本:v0.1.2

Composer 安装命令:

composer require trovcms/installer

包简介

Trov CMS installer.

README 文档

README

TrovCMS is a start kit for websites, built on Filament and Laravel. This install allows you to quickly spin up new sites to hit the ground running.

Install globally with composer.

composer global require trovcms/installer

Now you can run the new command to quickly set up a new Trov CMS Project.

trov new my-app

Options / Flags

  • --force (Forces install even if the directory already exists)
  • --faqs (Install FAQs Module)
  • --discoveries (Install Discovery Center Module (Topic and Articles))
  • --airport (Install the Airport Module (Landing Pages))
  • --sheets (Install Sheets Module (Unbranded Pages))
  • --blog (Install Blog Module)
  • --all (Install All Modules)

Adding modules after installation

If you've installed TrovCMS already and would like to add a module to your app you may do so with the add command while inside your app's root directory.

trov add --faqs

After adding the module you will need to run the migrations and generate the policies and permissions.

Note: Currently there is an issue with regenerating policies where it will regenerate all of your policies. If you have any custom policies they will be lost. Please make backups before running these commands so that you can easily re-add your changes to existing policies

php artisan:migrate
php artisan shield:generate

Common issues

Composer global install gives an error

  • You should check your global composer.json file for conflicting packages. Or run composer global update and see if this resolves the issue.

I cannot install the composer package?

  • Check if you're using the correct PHP version (>8.1)

Notes for Windows users

You might need to create a symlink to the storage manually. You can do so easily with the following command

php artisan storage:link

License

Trov Installer is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 11
  • Watchers: 1
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-26

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固