1. Go to this page and download the library: Download vis/subscribe_manager_l5 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/ */
namespace Vis\SubscribeManager;
use Illuminate\Database\Eloquent\Model;
class SubscribeEntity extends Model
{
use \Vis\Builder\Helpers\Traits\TranslateTrait;
protected $table = 'vis_subscribe_entities';
}
protected $table = 'vis_subscribe_entities';
public function subscribers()
public function scopeFilterSlug($query, $slug)
public function scopeActive($query)
namespace Vis\SubscribeManager;
use Illuminate\Database\Eloquent\Model;
class Subscriber extends Model
{
protected $table = 'vis_subscribers';
}
protected $table = 'vis_subscribers';
public function entities()
public function scopeFilterEntitySlug($query, $entitySlug)