PHPackages                             codemonster-ru/support - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. codemonster-ru/support

ActiveLibrary[Framework](/categories/framework)

codemonster-ru/support
======================

Global helper functions and meta package for codemonster-ru/annabel.

v1.4.1(4mo ago)0992MITPHPPHP &gt;=8.2CI passing

Since Oct 28Pushed 4mo agoCompare

[ Source](https://github.com/codemonster-ru/support)[ Packagist](https://packagist.org/packages/codemonster-ru/support)[ Docs](https://github.com/codemonster-ru/support)[ RSS](/packages/codemonster-ru-support/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (10)Versions (8)Used By (2)

codemonster-ru/support
======================

[](#codemonster-rusupport)

[![Latest Version on Packagist](https://camo.githubusercontent.com/6551a26b1ef4147959f09fb9e488db4d0eb999b8e4309ab8312d1a5222451341/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f64656d6f6e737465722d72752f737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonster-ru/support)[![Total Downloads](https://camo.githubusercontent.com/74763739416a50c30ca0577b975027f5c5ce4ca26b74961f4c9b414130be37e4/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f64656d6f6e737465722d72752f737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonster-ru/support)[![License](https://camo.githubusercontent.com/7823ead98e5b3e574a074e2df639f8a3629e94d5c738a894153cd131fc887362/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f64656d6f6e737465722d72752f737570706f72742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/codemonster-ru/support)[![Tests](https://github.com/codemonster-ru/support/actions/workflows/tests.yml/badge.svg)](https://github.com/codemonster-ru/support/actions/workflows/tests.yml)

Global helper functions and meta package for `codemonster-ru/annabel`.

This package aggregates core Codemonster packages and provides global helpers for the Annabel framework. Helpers rely on `app()` and the Annabel container.

Installation
------------

[](#installation)

```
composer require codemonster-ru/support

```

Provided Helpers
----------------

[](#provided-helpers)

FunctionDescription`config()`Get or set configuration values`env()`Read environment variables`view()` / `render()`Render or return a view instance`router()` / `route()`Access router instance`request()`Get the current HTTP request`response()`Create a new HTTP response`json()`Return a JSON response`abort()`Throw an HTTP-like exception`session()`Read or write session data`db()`Get a database connection`schema()`Schema builder`transaction()`Run a DB transaction`dump()` / `dd()`Debugging utilitiesThese helpers are intended for `codemonster-ru/annabel` and rely on its container (`app()`).

Usage
-----

[](#usage)

```
