PHP code example of tepuilabs / simple-crm
1. Go to this page and download the library: Download tepuilabs/simple-crm library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
tepuilabs / simple-crm example snippets
public function notes(): MorphMany
{
return $this->morphMany(\Tepuilabs\SimpleCrm\Models\Note::class, 'author');
}
bash
php artisan vendor:publish --provider="Tepuilabs\SimpleCrm\SimpleCrmServiceProvider" --tag="simple-crm-migrations"
php artisan migrate