PHPackages                             beacon-hq/pennant-driver - 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. beacon-hq/pennant-driver

ActiveLibrary[Framework](/categories/framework)

beacon-hq/pennant-driver
========================

The official Beacon driver for Laravel Pennant

0.2.1(7mo ago)09031MITPHP

Since Aug 23Pushed 6mo agoCompare

[ Source](https://github.com/beacon-hq/pennant-driver-beacon)[ Packagist](https://packagist.org/packages/beacon-hq/pennant-driver)[ RSS](/packages/beacon-hq-pennant-driver/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (6)Dependencies (16)Versions (9)Used By (1)

Beacon Driver for Laravel Pennant
=================================

[](#beacon-driver-for-laravel-pennant)

The official Beacon driver for Laravel Pennant, enabling seamless feature flag management through the Beacon platform.

[Full Documentation](https://beaconhq.io/docs/)

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

[](#installation)

You can install the package via Composer:

```
composer require beacon-hq/pennant-driver
```

The package will automatically register its service provider through Laravel's package auto-discovery.

Configuration
-------------

[](#configuration)

### Environment Variables

[](#environment-variables)

Add the following environment variables to your `.env` file:

```
BEACON_API_URL=https://your-beacon-instance.com
BEACON_API_TOKEN=your-api-token
BEACON_APP_NAME=YourAppName
BEACON_API_PATH_PREFIX=/api
BEACON_API_TIMEOUT=3000 # in milliseconds
```

### Pennant Configuration

[](#pennant-configuration)

Update your `config/pennant.php` file to include the Beacon driver:

```
