gr-group/grsupport

GR Support


License
MIT

Documentation

grinc/grsupport

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,
];

Methods, Helpers and Blade Directives

Methods

Helpers

Blade Directives