aviator/laravel-ascii-middleware

1.0 2017-10-13 20:48 UTC

This package is auto-updated.

Last update: 2024-12-21 20:41:40 UTC


README

Build Status

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);
}