syscover/crm
Composer 安装命令:
composer require syscover/crm
包简介
CRM package
关键字:
README 文档
README
Installation
Before install sycover/crm, you need install syscover/pulsar to load application base
1 - After install Laravel framework, insert on file composer.json, inside require object this value
"syscover/crm": "~2.0"
and execute on console:
composer update
2 - Register service provider, on file config/app.php add to providers array
Syscover\Crm\CrmServiceProvider::class,
3 - Execute publish command
php artisan vendor:publish
4 - Execute optimize command load new classes
php artisan optimize
5 - And execute migrations and seed database
php artisan migrate
php artisan db:seed --class="CrmTableSeeder"
6 - Execute command to load all updates
php artisan migrate --path=database/migrations/updates
7 - To use auth properties, include this arrays in config/auth.php
Inside guards array
'crm' => [
'driver' => 'session',
'provider' => 'crmCustomer',
],
Inside providers array
'crmCustomer' => [
'driver' => 'eloquent',
'model' => Syscover\Crm\Models\Customer::class,
],
Inside passwords array
'crmPasswordBroker' => [
'provider' => 'crmCustomer',
'email' => 'pulsar::emails.password',
'table' => '001_021_password_resets',
'expire' => 60,
],
you can change email crmPasswordBroker, to custom appearance.
8 - How get auth properties Use crm guard to get auth properties
auth()->guard('crm')
Activate Package
Access to Pulsar Panel, and go to:
Administration-> Permissions-> Profiles, and set all permissions to your profile by clicking on the open lock.
Go to Administration -> Packages, edit the package installed and activate it.
统计信息
- 总下载量: 418
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 5
- 点击次数: 0
- 依赖项目数: 1
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2015-12-28