you are reading the documentation for version
v2
our latest version is
v3
make sure to select the correct version.
to check your version use:
to check your version use:
composer show lara-zeus/helen
Helen is a premium package,
get your license here
Linkable Items
helen allows you to connect the new links with it's related model. to enable that, add the trait to your model:
Note
Currently thelinkablewill be stored automatically when using the actionShortUrlAction
1use LaraZeus\Helen\Models\Concerns\ShortLinks;
there is two methods:
the name attribute:
this is the name to show in the table for the related model
1public static function getLabelKey(): string2{3 return 'name';4}
the related model title:
this is the name to show in the table for the related model
1public static function getTitle(): string2{3 return 'Posts';4}