gr-group / grsupport
GR Support
1.1.4
2017-12-24 12:04 UTC
Requires
- php: >=5.6
- consoletvs/profanity: ^1.0
- giggsey/libphonenumber-for-php: ^8.8
- illuminate/support: 5.*
- jenssegers/agent: ^2.5
- mews/purifier: ^2.0
- nahid/linkify: ^1.0
README
Support package used in projects in Laravel of technology companies of GR Group
Installation
Execute the following composer command.
composer require gr-group/grsupport
Register the service provider in config/app.php file.
If you are in L5.5+ you don't need the
'providers' => [ ... GRGroup\GRSupport\GRSupportServiceProvider::class, ]
How to use middleware for clean html strings from global request
This middleware uses the Purifier package.
Now, in app/Http/Kernel.php file
protected $middleware = [ ... \GRGroup\GRSupport\Middleware\CleanHtmlStrings::class, ];