CRM package
418
4
3
Package Data
Maintainer Username: carlospalacin
Maintainer Contact: info@syscover.com (SYSCOVER SL)
Package Create Date: 2015-04-24
Package Last Update: 2018-11-27
Language: PHP
License: Unknown
Last Refreshed: 2024-12-19 03:10:47
Package Statistics
Total Downloads: 418
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 4
Total Watchers: 3
Total Forks: 0
Total Open Issues: 3

CRM to Laravel 5.3

Total Downloads

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.