arif-rh / diginiq-installer
使用 CodeIgniter 4 的 Diginiq Starter 项目安装器
0.2.3
2021-06-28 12:14 UTC
Requires
- php: >=7.2
- arif-rh/ci4-auth: ^0.4
- arif-rh/ci4-dynamic-model: ^0.3
- arif-rh/ci4-themes: ^1.1
- codeigniter4/framework: ^4.1
Requires (Dev)
- arif-rh/git-hooks: ^0.1
- mikey179/vfsstream: 1.6.*
- php-coveralls/php-coveralls: ^2.2
- phpunit/phpunit: ^8.5
README
安装
composer create-project arif-rh/diginiq-installer ci4-project
cd ci4-project
- 设置 app.baseURL
- 设置数据库配置
php spark migrate --all
php spark db:seed \\Arifrh\\Auth\\Database\\Seeds\\AuthSeeder
- 如果需要生成虚拟用户,运行
php spark db:seed \\Arifrh\\Auth\\Database\\Seeds\\UserSeeder
- 如果要从网站创建用户,请访问 baseURL/register
功能
- 使用具有内置关系功能的动态模型 DynaModel
- 根据 CI4 Themes 定制布局
- 使用 Auth 包 CI4 Auth