PHPackages                             ziming/laravel-statsig - 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. ziming/laravel-statsig

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

ziming/laravel-statsig
======================

Laravel Package for Statsig

1.6(2mo ago)649.2k↓20.7%2MITPHPPHP ^8.3CI passing

Since Jun 2Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/ziming/laravel-statsig)[ Packagist](https://packagist.org/packages/ziming/laravel-statsig)[ Docs](https://github.com/ziming/laravel-statsig)[ GitHub Sponsors](https://github.com/ziming)[ RSS](/packages/ziming-laravel-statsig/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (28)Versions (24)Used By (0)

laravel-statsig
===============

[](#laravel-statsig)

[![Latest Version on Packagist](https://camo.githubusercontent.com/3a2dd9cff5719128c804c2e6e7c4ae9b667033265121b853c27263c4fe366895/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a696d696e672f6c61726176656c2d737461747369672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ziming/laravel-statsig)[![GitHub Tests Action Status](https://camo.githubusercontent.com/9bf24993e553d456dfee894ed88a75ab1aeddd1bf1a15a503518a16538c0802b/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a696d696e672f6c61726176656c2d737461747369672f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/ziming/laravel-statsig/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/0b7eec5c7e2f1170422538945d0d823f0932fb2e85a99c5ba879e5fbc2ec2b57/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7a696d696e672f6c61726176656c2d737461747369672f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/ziming/laravel-statsig/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/6afe6284156e140de580cea14dec36a3082f343e4c538e3614f3457fd7b9ab5b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a696d696e672f6c61726176656c2d737461747369672e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/ziming/laravel-statsig)

Laravel Package for Statsig. A Feature Gate &amp; A/B Testing Platform

Update: As of Aug/Sept 2023, Statsig has decided to cut lots of features from their free tier. Which also mean that if you have a problem with the paid tier features, I will not be able to help you anymore as I am not a paid tier user.

Support us
----------

[](#support-us)

Donations are welcomed too as an alternative. Anything goes.

You can also let Stasig know that [this package referred you there](https://statsig.com/updates#6/12/2023)

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

[](#installation)

You can install the package via composer:

```
composer require ziming/laravel-statsig
```

Add the following 2 commands to your laravel project `app/Console/Kernel.php`

```
