jsdecena / bridge
用于将旧系统连接到新系统的桥接包
1.0.2
2016-09-28 08:13 UTC
Requires
- php: >=7.0
This package is auto-updated.
Last update: 2024-09-09 15:31:32 UTC
README
该包旨在将您的旧系统迁移到任何新系统
安装
- 步骤1: 将此添加到您的
composer.json
文件
"require": { "jsdecena/bridge": "1.0.*" }
- 步骤2: 将此添加到您的
config/app.php
文件的providers
数组中
'providers' => [ Jsdecena\Bridge\BridgeServiceProvider::class, ]
-
在您的
.env
文件中设置 LEGACY_AUTH_ENDPOINT -
在终端中运行此命令
php artisan vendor:publish --tag=migrations
-
在终端中运行此命令
php artisan vendor:publish --tag=config
-
如果您使用的是
username
或email
,请检查登录密钥。根据需要使用。 -
不要忘记在
config/database.php
中设置您的数据库凭据并运行php artisan migrate
以迁移数据库模式。