ishanvyas22 / cakephp-pingcrm
CakePHP PingCRM 示例应用程序,展示 Inertia.js 与 CakePHP 的结合使用。
v0.1.3
2020-11-14 14:24 UTC
Requires
- php: >=5.6
- cakephp/authentication: ^1.0
- cakephp/cakephp: 3.9.*
- cakephp/migrations: ^2.0.0
- cakephp/plugin-installer: ^1.0
- ishanvyas22/cakephp-inertiajs: ^1.0
- mobiledetect/mobiledetectlib: 2.*
Requires (Dev)
- cakephp/bake: ^1.9.0
- cakephp/cakephp-codesniffer: ^3.0
- cakephp/debug_kit: ^3.17.0
- josegonzalez/dotenv: 3.*
- phpunit/phpunit: ^5|^6
- psy/psysh: @stable
This package is auto-updated.
Last update: 2024-09-26 04:48:40 UTC
README
一个示例应用程序,展示 Inertia.js 如何与 CakePHP 结合使用。
❤️ 支持开发
你喜欢这个项目吗?通过捐赠来支持它
或者 通过 PayPal
关注我
安装
-
在本地下载仓库
通过 composer
composer create-project ishanvyas22/cakephp-pingcrm
或者
通过克隆 git 仓库
git clone git@github.com:ishanvyas22/cakephp-pingcrm.git
-
安装 PHP 依赖
composer install
-
安装 NPM 依赖
npm install
-
构建资源
npm run dev
设置
-
创建
.env
文件cp config/.env.example config/.env
-
连接到数据库。创建一个你选择的数据库,并相应地更新你的配置。
运行数据库迁移
bin/cake migrations migrate
运行数据库种子
bin/cake migrations seed --seed=DatabaseSeed
-
运行开发服务器(输出将给出地址)
bin/cake server
你已经准备好了!在你的浏览器中访问 CakePHP PingCRM,并使用以下凭据登录
- 用户名: johndoe@example.com
- 密码: secret