Download the PHP package codewiser/laravel without Composer
On this page you can find all versions of the php package codewiser/laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download codewiser/laravel
More information about codewiser/laravel
Files in codewiser/laravel
Package laravel
Short Description Packages I might include to every Laravel application
License MIT
Informations about the package laravel
Laravel Swiss-knife
Packages I might include to every Laravel application
Structures
Structure is an array
or json
attributes with structured interface.
For example:
Apply Username
struct to User
model:
You can make it not-nullable:
Structure collections
The same way, you may cast collections of custom structs:
HasPivot trait
This trait applicable to any BelongsToMany
custom Builder
.
It provides whereHasMany
and whereDoesntHaveMany
methods, that
works alike whereHas
and whereDoesntHave
methods, but sends to a callback not
a Builder
instance, but BelongsToMany
instance.
This allows to make pivot
calls:
As BelongsTo
relation may be restricted by related model or collection, as
BelongsToMany
too.
Passive SoftDeletes
PassiveSoftDeletes
traits works alike SoftDeletes
, but it is disabled by
default.
Also, it counts record as trashed only then deleted_at
is reached. So you
may trash records in perspective.
It comes with HasDeletedAt
trait, that is applicable to custom builders
with the same behavior.
All versions of laravel with dependencies
codewiser/dadata Version ^1.0
codewiser/http-cache-control Version ^2.0
codewiser/laravel-cast-datetime-tz Version ^1.0
codewiser/laravel-meilisearch Version ^1.0
codewiser/laravel-notifications Version ^1.0
codewiser/laravel-sendsay-mailer Version ^1.0
codewiser/workflow Version ^4.4
codewiser/socialiteprovider Version ^1.0
codewiser/laravel-make Version ^1.0
codewiser/telegram-channel Version ^1.0
codewiser/intl Version ^1.0
codewiser/laravel-scout Version ^1.0
codewiser/laravel-smscenter-mailer Version ^1.0
cerbero/enum Version ^2.1