pallares/laravel-painless-legacy

There is no license information available for the latest version (1.1.0) of this package.

1.1.0 2018-03-02 14:52 UTC

README

With this package, you can use some Laravel v5.3+ features in the v5.2.

Features

Middlewares

  • ConvertEmptyStringsToNull: Pallares\LaravelPainlessLegacy\Foundation\Http\Middleware\ConvertEmptyStringsToNull
  • TrimStrings: Pallares\LaravelPainlessLegacy\Foundation\Http\Middleware\TrimStrings

Usage: use the middlewares directly.

Http

  • Request validate macro.

Usage: register the Pallares\LaravelPainlessLegacy\Http\HttpServiceProvider service provider.

Helpers

  • tap

Usage: use the method directly.