Skip to content

TepuiLABS/simple-crm

Repository files navigation

simple-crm

Latest Version on Packagist Tests Total Downloads

Installation

You can install the package via composer:

composer require tepuilabs/simple-crm

You can publish and run the migrations with:

php artisan vendor:publish --provider="Tepuilabs\SimpleCrm\SimpleCrmServiceProvider" --tag="simple-crm-migrations"
php artisan migrate

Usage

This package uses a polymorphic relationship to associate the Items model with the model of your choice, the only thing you have to do is add this to the model you want to use:

public function notes(): MorphMany
{
    return $this->morphMany(\Tepuilabs\SimpleCrm\Models\Note::class, 'author');
}

Testing

composer test

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

This project is based on Improving Our Laravel Nova CRM.

License

The MIT License (MIT). Please see License File for more information.