Libraries tagged by behaviours
rapidwebltd/no-post-data-laravel-middleware
78 Downloads
Under certain conditions, when posting data from a form, the web server may lose the post data. This commonly happens if a user is uploading a large file beyond the size limits set in the web server's configuration. Laravel does not handle this situation and may end up throwing a somewhat confusing `TokenMismatchException in VerifyCsrfToken` due to CSRF protection. The 'No Post Data Laravel Middleware' handles situations in which a post request has been submitted and contains no post data - a situation which should not occur under normal usage. By default, the middleware will redirect back to the previous page with an error message flashed to the session. This can then be output on your view as you would normally handle validation errors. If needed, you can also modify this default behaviour and allow any code to run when the 'post request with no post data' situation is encountered.
raditzfarhan/laravel-sortable
209 Downloads
Just a simple sortable behaviour for your Laravel and Lumen eloquent model.
proteins/event
49 Downloads
Event emitter-listener global class and behaviour trait
prolix/doctrine-translatable
244 Downloads
Translatable behaviour extension for Doctrine2
php-clean-arch/value-object
13 Downloads
Provides the behaviour to expect from a value-object
ostrolucky/semantic-monolog-handler
8 Downloads
Opinionated Monolog FingersCrossed handler which bypasses fingers-crossed behaviour for some primary channels
musoftware/laravel-tags
7 Downloads
Add tags and taggable behaviour to your Laravel app
mikehins/laravel-translatable
12 Downloads
A translatable behaviour for eloquent models
maxcrossan/yii_encryption
49 Downloads
A simple encryption behaviour for encrypting and decrypting database fields on Yii models
laravel-interaction/vote
644 Downloads
User upvote/downvote behaviour for Laravel.
laravel-interaction/visit
7 Downloads
User visit behaviour for Laravel.
laravel-interaction/follow
9 Downloads
User follow/unfollow behaviour for Laravel.
laravel-interaction/favorite
60 Downloads
User favorite/unfavorite behaviour for Laravel.
laravel-interaction/block
104 Downloads
User block/unblock behaviour for Laravel.
kikwik/referable-bundle
36 Downloads
Referable behaviour for Doctrine 2 entities