aviator / laravel-ascii-middleware
1.0
2017-10-13 20:48 UTC
Requires
- php: >=7.0.0
- laravel/framework: 5.4.*
Requires (Dev)
- phpunit/phpunit: ~6.4.0
This package is auto-updated.
Last update: 2024-12-21 20:41:40 UTC
README
Overview
Transform user input to ASCII with this middleware. Useful in dealing with legacy components where UTF-8 may break things.
Installation
Via Composer:
composer require aviator/laravel-ascii-middleware
Testing
Via Composer:
composer test
Usage
Use like any other middleware. You can register it if you like or just call it by class name:
public function __construct () { $this->middleware(LaravelAsciiMiddleware::class); }