PHPackages                             javanile/laravel-flavour - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. javanile/laravel-flavour

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

javanile/laravel-flavour
========================

Laravel helper functions extracted as standalone utilities for any PHP project

v12.32.4(6mo ago)128MITPHP

Since Nov 11Pushed 6mo agoCompare

[ Source](https://github.com/javanile/laravel-flavour)[ Packagist](https://packagist.org/packages/javanile/laravel-flavour)[ Docs](https://github.com/javanile/laravel-flavour)[ Fund](https://javanile.org/funding)[ RSS](/packages/javanile-laravel-flavour/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (4)Versions (2)Used By (0)

Laravel Flavour
===============

[](#laravel-flavour)

A lightweight Laravel package that extracts and provides essential Laravel framework components as standalone utilities. This package includes Laravel's Support and Collections helper functions, allowing you to use Laravel's powerful utilities in any PHP project without the full framework.

Table of Contents
-----------------

[](#table-of-contents)

- [Installation](#installation)
- [Usage](#usage)
- [Supported Components](#supported-components)
    - [Environment Functions](#environment-functions)
    - [Support Helper Functions](#support-helper-functions)
    - [Collection Helper Functions](#collection-helper-functions)
- [Function Reference](#function-reference)
    - [Environment](#environment)
    - [Value Checking](#value-checking)
    - [String &amp; Object Utilities](#string--object-utilities)
    - [Array &amp; Data Manipulation](#array--data-manipulation)
    - [Control Flow](#control-flow)
    - [Utility Functions](#utility-functions)
- [Examples](#examples)
- [Requirements](#requirements)
- [Development](#development)
- [License](#license)

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

[](#installation)

Install via Composer:

```
composer require javanile/laravel-flavour
```

Usage
-----

[](#usage)

Once installed, you can use any of the included Laravel helper functions in your PHP application:

```
