PHPackages                             boxybird/waffle - 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. boxybird/waffle

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

boxybird/waffle
===============

Tools built using Illuminate components (https://github.com/illuminate). Inspired by https://github.com/mattstauffer/Torch

v0.6.8(4mo ago)9165MITPHP

Since Jun 15Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/boxybird/waffle)[ Packagist](https://packagist.org/packages/boxybird/waffle)[ RSS](/packages/boxybird-waffle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (27)Versions (54)Used By (0)

Waffle
======

[](#waffle)

Important note
--------------

[](#important-note)

This tool brings the power of Laravel's [Illuminate](https://github.com/illuminate) packages to your WordPress project. However, it's important to know that it doesn't include every single feature from Laravel. The examples below will give you a good idea of what's possible, but they don't cover everything.

As a specific example, `waffle_cache()->flexible('...')` will not work because Waffle does not yet support Laravel's `Deferred` functionality. If you plan to explore addition features, please test first.

We hope to add more features as the community's needs grow.

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

[](#installation)

Install the package via composer.

```
composer require boxybird/waffle

```

Boot Waffle within a theme or plugin.

```
require_once __DIR__.'/vendor/autoload.php';

BoxyBird\Waffle\Waffle::boot();

```

Available functions
-------------------

[](#available-functions)

[waffle\_queue](#waffle_queue--waffle_worker)

[waffle\_worker](#waffle_queue--waffle_worker)

[waffle\_schedule](#waffle_schedule)

[waffle\_db](#waffle_db)

[waffle\_router](#waffle_router)

[waffle\_validator](#waffle_validator)

[waffle\_encrypter](#waffle_encrypter)

[waffle\_http](#waffle_http)

[waffle\_cache](#waffle_cache)

[waffle\_session](#waffle_session)

[waffle\_storage](#waffle_storage)

[waffle\_request](#waffle_request)

[waffle\_collection](#waffle_collection)

[waffle\_str](#waffle_str)

[waffle\_arr](#waffle_arr)

[waffle\_uri](#waffle_uri)

[waffle\_carbon](#waffle_carbon)

[waffle\_benchmark](#waffle_benchmark)

[waffle\_process](#waffle_process)

---

### waffle\_queue / waffle\_worker

[](#waffle_queue--waffle_worker)

```
