PHPackages                             tutorauk/laravel-braze-api - 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. [API Development](/categories/api)
4. /
5. tutorauk/laravel-braze-api

ActiveLibrary[API Development](/categories/api)

tutorauk/laravel-braze-api
==========================

A Laravel client for the Braze REST API

v0.2(2y ago)0890↓71.9%1[3 PRs](https://github.com/TutoraUK/laravel-braze-api/pulls)MITPHPPHP ^8.1

Since Jul 26Pushed 2y ago2 watchersCompare

[ Source](https://github.com/TutoraUK/laravel-braze-api)[ Packagist](https://packagist.org/packages/tutorauk/laravel-braze-api)[ Docs](https://github.com/tutorauk/laravel-braze-api)[ RSS](/packages/tutorauk-laravel-braze-api/feed)WikiDiscussions main Synced today

READMEChangelogDependencies (13)Versions (5)Used By (0)

[![Laravel Braze](./art/social-image.png)](./art/social-image.png)

[![Latest Version on Packagist](https://camo.githubusercontent.com/02c6aa024fe25c9b4957b76eeeb9e7c2df97b37fc7c5b0ef9cfec60ce857d12d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7475746f7261756b2f6c61726176656c2d6272617a652d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tutorauk/laravel-braze-api)[![GitHub Tests Action Status](https://camo.githubusercontent.com/aa5d06c6a1aa7603629080108920c2eca39177b13b1ea9266a0f9e28ccea63ce/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7475746f7261756b2f6c61726176656c2d6272617a652d6170692f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473)](https://github.com/tutorauk/laravel-braze-api/actions/workflows/run-tests.yml)[![GitHub Tests Action Status](https://camo.githubusercontent.com/0e87cf319cfac6fc2203d67d72eb30628ef85dd56c0aa855ab5abfe400f74d0b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7475746f7261756b2f6c61726176656c2d6272617a652d6170692f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65)](https://github.com/tutorauk/laravel-braze-api/actions/workflows/fix-php-code-style-issues.yml)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ccce2451847ef9cb9c08d3dbddc22b3a940adc81497aa1593b5e21017bf1a00f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7475746f7261756b2f6c61726176656c2d6272617a652d6170692f7068707374616e2e796d6c3f6272616e63683d6d61696e266c6162656c3d737461746963253230616e616c79736973)](https://github.com/tutorauk/laravel-braze-api/actions/workflows/php-cs-fixer.yml)[![Total Downloads](https://camo.githubusercontent.com/058f65416aa41bd4c6d83d44f3368c623feab67428fa7e4d2608c751b87e7468/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7475746f7261756b2f6c61726176656c2d6272617a652d6170692e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tutorauk/laravel-braze-api)[![MIT Licensed](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Laravel wrapper around the [immobiliare/braze-php-sdk](https://github.com/immobiliare/braze-php-sdk) package.

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

[](#installation)

You can install the package via composer:

```
composer require tutorauk/laravel-braze-api
```

Then you need to your Braze api key and the correct rest endpoint to your `.env` file:

```
BRAZE_API_KEY='apiKey'
BRAZE_REST_ENDPOINT=https://rest.fra-02.braze.eu
```

### Http Client Adapters

[](#http-client-adapters)

This package has support for the [Laravel HTTP Client](https://laravel.com/docs/http-client) or [Guzzle](https://docs.guzzlephp.org/en/stable/). The Laravel HTTP Client is the default and preferred client. Utilising the Laravel client, enables you to take advantage of Laravels [testing helpers](https://laravel.com/docs/http-client#testing) within your tests.

If you would prefer to use Guzzle, you can specify the adapter in your `.env` file:

```
BRAZE_CLIENT_ADAPTER=guzzle
```

Usage
-----

[](#usage)

This package binds a singleton to the Laravel service container, so you can easily resolve the Braze client directly from the container, or via dependency injection. Alternatively, the package also exposes both a Facade and a helper function should you prefer a shorter more expressive option.

```
// Resolve service directly from container and access the users endpoint
app(Braze::class)->users();

// Resolve via Facade and access the users endpoint
Braze::users();

// Resolve service via helper and access the users endpoint
braze()->users();
```

Testing, Static Analysis and Formatting
---------------------------------------

[](#testing-static-analysis-and-formatting)

```
composer test
composer analyse
composer format
```

Thanks
------

[](#thanks)

Big shout out to [Immobiliare Labs](https://github.com/immobiliare) for their [Braze PHP SDK](https://github.com/immobiliare/braze-php-sdk) package. They did all the hard work 👏!

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Rick West](https://github.com/rickwest)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity17

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 83.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

1073d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1a8d59a529aae658b083a9f6977dc82105d12463958e5a0ecdd008c73d3ac017?d=identicon)[rickwest](/maintainers/rickwest)

---

Top Contributors

[![rickwest](https://avatars.githubusercontent.com/u/24735291?v=4)](https://github.com/rickwest "rickwest (10 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (1 commits)")

---

Tags

laravelbrazeTutoraUKlaravel-braze-api

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/tutorauk-laravel-braze-api/health.svg)

```
[![Health](https://phpackages.com/badges/tutorauk-laravel-braze-api/health.svg)](https://phpackages.com/packages/tutorauk-laravel-braze-api)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[eslazarev/wildberries-sdk

Wildberries OpenAPI clients (generated).

273.0k](/packages/eslazarev-wildberries-sdk)[simplestats-io/laravel-client

Server-side analytics for Laravel that follows the full funnel from visit to registration to payment, attributed to the channel that drove it. Revenue, MRR, churn and ad-spend profit (ROAS/CAC) per channel. GDPR compliant, ad-blocker proof.

5021.9k](/packages/simplestats-io-laravel-client)[spatie/laravel-health

Monitor the health of a Laravel application

87512.0M165](/packages/spatie-laravel-health)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
