PHPackages                             sheenazien8/konstantiq - 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. sheenazien8/konstantiq

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

sheenazien8/konstantiq
======================

The missing constant class in laravel

1.0.0(1y ago)03.7k↑573.3%[2 PRs](https://github.com/sheenazien8/konstantiq/pulls)MITPHPPHP ^8.1CI passing

Since Jan 5Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/sheenazien8/konstantiq)[ Packagist](https://packagist.org/packages/sheenazien8/konstantiq)[ Docs](https://github.com/sheenazien8/konstantiq)[ Fund](https://www.buymeacoffee.com/sheenazien8)[ Fund](https://saweria.co/sheenazien)[ RSS](/packages/sheenazien8-konstantiq/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (1)Dependencies (12)Versions (5)Used By (0)

The missing constant class in laravel
=====================================

[](#the-missing-constant-class-in-laravel)

[![Latest Version on Packagist](https://camo.githubusercontent.com/990ea0339529cea4ef00e89b1aafbc35468048ef6930923c723aeb587b76bf2d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f736865656e617a69656e382f6b6f6e7374616e7469712e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sheenazien8/konstantiq)[![GitHub Tests Action Status](https://camo.githubusercontent.com/d8160d36e24112e7c9d273c6a2f29ceef86ce83b712318cf3aa743567bf2da9f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736865656e617a69656e382f6b6f6e7374616e7469712f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/sheenazien8/konstantiq/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/bb37ba75d8b35761bbf4dc23f3239bbacd032f11ece6e7182421247a5572dfde/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f736865656e617a69656e382f6b6f6e7374616e7469712f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/sheenazien8/konstantiq/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/555fe045ea50d9cdfb93da63be4c7017831082f221bc48eede0fcb17eb7ddc51/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f736865656e617a69656e382f6b6f6e7374616e7469712e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/sheenazien8/konstantiq)[![Laravel Compatibility](https://camo.githubusercontent.com/ff9ee55175d15f7afe0b95d35eaf44e0c55179e85fb302e7d60f29e85d797011/68747470733a2f2f62616467652e6c61726176656c2e636c6f75642f62616467652f736865656e617a69656e382f6b6f6e7374616e7469713f7374796c653d666c6174)](https://packagist.org/packages/sheenazien8/konstantiq)

This is a simple package that helps you manage your constant values. The root cause of this library is that sometimes you need the status in the view or the API response, but you have more than one status. You can look at the example below.

```
