This package is not installable via Composer 1.x, please make sure you upgrade to Composer 2+. Read more about our Composer 1.x deprecation policy.
There is no license information available for the latest version (v2.0.7) of this package.

CRM package

v2.0.7 2017-01-10 17:43 UTC

This package is auto-updated.

Last update: 2021-09-27 15:05:49 UTC


README

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.