PHPackages                             cline/huckle - 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. cline/huckle

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

cline/huckle
============

HCL-based multi-tenant configuration management for Laravel with credential lifecycle support

2.0.3(2mo ago)05MITPHPPHP ^8.4.0CI passing

Since Mar 4Pushed 2mo agoCompare

[ Source](https://github.com/faustbrian/huckle)[ Packagist](https://packagist.org/packages/cline/huckle)[ RSS](/packages/cline-huckle/feed)WikiDiscussions 2.x Synced 1mo ago

READMEChangelog (1)Dependencies (17)Versions (17)Used By (0)

[![GitHub Workflow Status](https://github.com/faustbrian/huckle/actions/workflows/quality-assurance.yaml/badge.svg)](https://github.com/faustbrian/huckle/actions)[![Latest Version on Packagist](https://camo.githubusercontent.com/672b8adb6dee6408af7dbb4e9ddbea3284f4e2e84f5ab7f05d3ecbe2fb027f28/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636c696e652f6875636b6c652e737667)](https://packagist.org/packages/cline/huckle)[![Software License](https://camo.githubusercontent.com/784362b26e4b3546254f1893e778ba64616e362bd6ac791991d2c9e880a3a64e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d677265656e2e737667)](LICENSE.md)[![Total Downloads](https://camo.githubusercontent.com/ee0cd9410039e9ec0085973b13a62f3dcfeb454739c2af4c843bf418837605ec/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636c696e652f6875636b6c652e737667)](https://packagist.org/packages/cline/huckle)

---

Huckle is an HCL-based multi-tenant configuration management package for Laravel. Define structured configurations with partitions, environments, and services — then export them directly to `.env` files or inject them into your application at runtime.

### Key Features

[](#key-features)

- **Multi-Tenant Hierarchies** — Organize config by partition/tenant, environment, provider, and service
- **HCL Syntax** — Type-safe, human-readable configuration with HashiCorp Configuration Language
- **Environment Exports** — Generate `.env` files or inject values via `putenv()` at runtime
- **Context-Based Queries** — Filter configurations by partition, environment, or custom tags
- **Credential Lifecycle** — Track expiration dates, rotation schedules, and sensitive value masking
- **Encryption Support** — Encrypt/decrypt configuration files for secure storage and deployment

Requirements
------------

[](#requirements)

> **Requires [PHP 8.4+](https://php.net/releases/) and Laravel 12+**

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

[](#installation)

```
composer require cline/huckle
```

Publish the configuration:

```
php artisan vendor:publish --tag=huckle-config
```

Documentation
-------------

[](#documentation)

- **[Getting Started](DOCS.md#doc-cookbooks-getting-started)** - Installation, configuration, and basic usage
- **[Environment Management](DOCS.md#doc-cookbooks-environment-management)** - Work with multiple environments
- **[Exports &amp; Syncing](DOCS.md#doc-cookbooks-exports-syncing)** - Export to .env files and environment variables
- **[Connection Commands](DOCS.md#doc-cookbooks-connection-commands)** - Execute database CLI connections
- **[HCL Conversion](DOCS.md#doc-cookbooks-hcl-conversion)** - Convert between HCL and JSON formats
- **[Artisan Commands](DOCS.md#doc-cookbooks-artisan-commands)** - All available CLI commands

Change log
----------

[](#change-log)

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

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

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please use the [GitHub security reporting form](https://github.com/faustbrian/huckle/security) rather than the issue queue.

Credits
-------

[](#credits)

- [Brian Faust](https://github.com/faustbrian)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance88

Actively maintained with recent releases

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity60

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~7 days

Total

16

Last Release

61d ago

Major Versions

1.3.5 → 2.0.02026-03-04

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22145591?v=4)[Brian Faust](/maintainers/faustbrian)[@faustbrian](https://github.com/faustbrian)

---

Top Contributors

[![faustbrian](https://avatars.githubusercontent.com/u/22145591?v=4)](https://github.com/faustbrian "faustbrian (11 commits)")

---

Tags

phplaravelconfigurationconfigenvsecretsmulti-tenantcredentialshcl

### Embed Badge

![Health badge](/badges/cline-huckle/health.svg)

```
[![Health](https://phpackages.com/badges/cline-huckle/health.svg)](https://phpackages.com/packages/cline-huckle)
```

###  Alternatives

[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[laragear/preload

Effortlessly make a Preload script for your Laravel application.

119363.5k](/packages/laragear-preload)[tapp/filament-google-autocomplete-field

Filament plugin that provides a Google Autocomplete field

3098.1k](/packages/tapp-filament-google-autocomplete-field)[illuminatech/array-factory

Allows DI aware object creation from array definition

2159.6k6](/packages/illuminatech-array-factory)[tomshaw/electricgrid

A feature-rich Livewire package designed for projects that require dynamic, interactive data tables.

116.6k](/packages/tomshaw-electricgrid)

PHPackages © 2026

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