Download the PHP package karlverger/laravel-own-assets without Composer
On this page you can find all versions of the php package karlverger/laravel-own-assets. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download karlverger/laravel-own-assets
More information about karlverger/laravel-own-assets
Files in karlverger/laravel-own-assets
Download karlverger/laravel-own-assets
More information about karlverger/laravel-own-assets
Files in karlverger/laravel-own-assets
Vendor karlverger
Package laravel-own-assets
Short Description User assets features for Laravel Application.
License MIT
Package laravel-own-assets
Short Description User assets features for Laravel Application.
License MIT
Please rate this library. Is it a good library?
Informations about the package laravel-own-assets
Laravel Own Assets
❤️ User assets feature for Laravel Application.
Installing
Configuration
This step is optional
Migrations
This step is also optional, if you want to custom assets table, you can publish the migration files:
Usage
Traits
Karlverger\LaravelOwnAsset\Traits\Asseter
Karlverger\LaravelOwnAsset\Traits\Assetable
API
Get object asseters:
Get Asset Model from User.
Used Asseter Trait Model can easy to get Assetable Models to do what you want.
note: this method will return a Illuminate\Database\Eloquent\Builder
Get Asset Model relation pivot:
Aggregations
List with *_count
attribute:
Events
Event | Description |
---|---|
Karlverger\LaravelOwnAsset\Events\Asseted |
Triggered when the relationship is created. |
Karlverger\LaravelOwnAsset\Events\Unasseted |
Triggered when the relationship is deleted. |
Contributing
You can contribute in one of three ways:
- File bug reports using the issue tracker.
- Answer questions or fix bugs on the issue tracker.
- Contribute new features or update the wiki.
License
MIT (c) Karl Verger [email protected]
All versions of laravel-own-assets with dependencies
PHP Build Version
Package Version
Requires
laravel/framework Version
^5.5||~6.0||~7.0||~8.0
The package karlverger/laravel-own-assets contains the following files
Loading the files please wait ....