tepuilabs / simple-crm
simple-crm
v5.0.0
2022-10-01 22:42 UTC
Requires
- php: ^8.1
- datomatic/enum-helper: ^1.0
- spatie/laravel-package-tools: ^1.11
Requires (Dev)
- nunomaduro/collision: ^6.0
- nunomaduro/larastan: ^2.0.1
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpstan/extension-installer: ^1.1
- phpstan/phpstan-deprecation-rules: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.5
- spatie/laravel-ray: ^1.26
README
simple-crm
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.