With this package, you can use some Laravel v5.3+ features in the v5.2.
- ConvertEmptyStringsToNull:
Pallares\LaravelPainlessLegacy\Foundation\Http\Middleware\ConvertEmptyStringsToNull
- TrimStrings:
Pallares\LaravelPainlessLegacy\Foundation\Http\Middleware\TrimStrings
Usage: use the middlewares directly.
- Request
validate
macro.
Usage: register the Pallares\LaravelPainlessLegacy\Http\HttpServiceProvider
service provider.
- tap
Usage: use the method directly.