glowieframework / global-helpers
Global helper functions for Glowie Framework
Installs: 86
Dependents: 3
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/glowieframework/global-helpers
Requires
README
This package allows some of Glowie Framework core functions to run in a global scope as helpers.
Installation
Install in your Glowie project using Composer:
composer require glowieframework/global-helpers
Usage
Use any helper method from your application controllers, models, middlewares or views.
Each helper will return an instance of the corresponding Glowie core class.
Available methods:
__()abort()app()app_path()asset()auth()back()cache()collect()config()cookies()csrf_token()db()dd()decrypt()dispatch()element()encrypt()env()filled()http()is_empty()layout()logger()now()old()public_path()redirect()request()response()retry()route()session()storage_path()today()translate()unless()uploader()url()validator()view()when()
Credits
Global helpers and Glowie are currently being developed by Gabriel Silva.