the-stringler-laravel icon indicating copy to clipboard operation
the-stringler-laravel copied to clipboard

Not working with Laravel 5.0

Open sipicops opened this issue 9 years ago • 1 comments

It says Manipulator class not found in app.php

sipicops avatar Jul 21 '16 08:07 sipicops

This package only supports Laravel 5.2 at present. However, you can still use the Manipulator class. To do so:

composer require thestringler/manipulator

Wherever you want to use the class (within a controller, etc.)

use TheStringler\Manipulator\Manipulator;

After that you can use it like so:

Manipulator::make('your string here')->toUpper();
// YOUR STRING HERE

I hope to add support for older versions of Laravel soon.

mattsparks avatar Jul 21 '16 19:07 mattsparks