glowieframework/global-helpers

Global helper functions for Glowie Framework

v1.0.0 2024-04-12 15:25 UTC

This package is auto-updated.

Last update: 2024-05-31 00:05:45 UTC


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:

  • config()
  • env()
  • translate()
  • dd()
  • encrypt()
  • decrypt()
  • url()
  • route()
  • asset()
  • app_path()
  • session()
  • request()
  • response()
  • db()
  • cookies()
  • cache()
  • auth()
  • validator()
  • uploader()
  • collect()
  • element()
  • http()
  • redirect()
  • view()
  • layout()

Credits

Global helpers and Glowie are currently being developed by Gabriel Silva.