gr-group/grsupport

GR Support

1.1.4 2017-12-24 12:04 UTC

This package is not auto-updated.

Last update: 2020-09-19 06:32:38 UTC


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

Methods, Helpers and Blade Directives

Methods

Helpers

Blade Directives