* Modules, themes, and extensions * Publisher profiles and verification metadata * Installed-package tracking * Semantic version compatibility checks * PHP, Laravel, and Content Manager compatibility checks * Dependency resolution * SHA-256 checksum validation * Package signature requirements * Installation and update history * Enable and disable controls * Removal handling * Rollback records * Licence records * Marketplace administration UI * Authenticated REST endpoints * Console audit and synchronisation commands * Permissions and sidebar integration * Feature tests
11 lines
448 B
PHP
11 lines
448 B
PHP
<?php
|
|
namespace Modules\Marketplace\Models;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
final class MarketplaceLicence extends Model
|
|
{
|
|
protected $table='marketplace_licences';
|
|
protected $fillable=['marketplace_package_id','licence_key','status','plan','licensed_to','activated_at','expires_at','metadata'];
|
|
protected $hidden=['licence_key'];
|
|
protected $casts=['activated_at'=>'datetime','expires_at'=>'datetime','metadata'=>'array'];
|
|
}
|