PHPackages                             nerd-zero/infisical-php - 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. nerd-zero/infisical-php

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

nerd-zero/infisical-php
=======================

Infisical client for php

0.0.5(10mo ago)21.8k↓93.8%1MITPHP

Since May 8Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/nerd-zero/infisical-php)[ Packagist](https://packagist.org/packages/nerd-zero/infisical-php)[ RSS](/packages/nerd-zero-infisical-php/feed)WikiDiscussions main Synced today

READMEChangelog (5)Dependencies (2)Versions (6)Used By (0)

Infisical PHP Client
====================

[](#infisical-php-client)

by [nerd-zero](https://packages.n0.rocks) – [n0.rocks](https://n0.rocks)

A PHP client library for interacting with the [Infisical](https://infisical.com/) secrets management platform. This package allows developers to programmatically fetch and manage secrets stored in Infisical within their PHP applications.

> ⚠️ **Warning**: This project is still a work in progress. APIs, features, and usage may change at any time without notice. Please use with caution and pin versions accordingly if used in production.

---

📦 Installation
--------------

[](#-installation)

Install via Composer:

```
composer require nerd-zero/infisical-php
```

---

📚 Table of Contents
-------------------

[](#-table-of-contents)

- [Introduction](#introduction)
- [How to Use](#how-to-use)
- [Customization](#customization)
- [Supported Endpoints](#supported-endpoints)
    - [Authentication Management](#authentication-management)
    - [Folder Management](#folder-management)
    - [Secret Management](#secret-management)

---

🚀 Introduction
--------------

[](#-introduction)

This is a PHP client to connect to the [Infisical](https://infisical.com/) Secrets Management API with minimal setup and ease of use.

### 🔧 Features

[](#-features)

1. Easy to use
2. No need to manually generate or fetch tokens — handled internally
3. Only requires the Infisical base URI
4. Automatic JSON encoding/decoding
5. Works with clean associative arrays and native PHP data

---

🧪 How to Use
------------

[](#-how-to-use)

```
use Infisical\InfisicalClient;

$client = InfisicalClient::factory(
    baseUri: 'your-infisical-base-uri',
    clientId: 'your-infisical-client-id',
    clientSecret: 'your-infisical-client-secret',
);

// Get all secrets
$secrets = $client->listSecrets([
    'workspaceId' => 'your-workspace-id',
    'environment' => 'your-environment',
    'path' => 'your-path',
]);
```

---

⚙️ Customization
----------------

[](#️-customization)

> (Coming soon — details on middleware, request retries, logging, and more.)

---

📖 Supported Endpoints
---------------------

[](#-supported-endpoints)

### 🔐 [Authentication Management](https://infisical.com/docs/api-reference/endpoints/authentication)

[](#-authentication-management)

DescriptionFunction NameSupported———> *(Functions will be documented soon.)*

---

### 📁 [Folder Management](https://infisical.com/docs/api-reference/endpoints/folders)

[](#-folder-management)

DescriptionFunction NameSupportedList folders`listFolders()`✔️Get by ID`getFolderById()`✔️Create folder`createFolder()`✔️Update folder`updateFolder()`✔️Delete folder`deleteFolder()`✔️---

### 🔑 [Secret Management](https://infisical.com/docs/api-reference/endpoints/secrets)

[](#-secret-management)

DescriptionFunction NameSupportedList secrets`listSecrets()`✔️Create secret`createSecret()`✔️Get by name`retrieveSecret()`✔️Update secret`updateSecret()`✔️Delete secret`deleteSecret()`✔️Bulk Create Secrets`bulkCreateSecrets()`✔️Bulk Update Secrets`bulkUpdateSecrets()`✔️Bulk Delete Secrets`bulkDeleteSecrets()`✔️Attach tags`attachTags()`✔️Detach tags`detachTags()`✔️---

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance54

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 Bus Factor1

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

Total

5

Last Release

318d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/89cfa352117edfda16a273b5f0d9b9c805e6f702b89f4ef2eb53ed12ed5ccc7a?d=identicon)[anosmhazo](/maintainers/anosmhazo)

![](https://www.gravatar.com/avatar/257aca9e7752c56242da0a8b15e7f260aa1edf1ea01afc277b208fcd5c2b2f8f?d=identicon)[onlypfachi](/maintainers/onlypfachi)

---

Top Contributors

[![onlypfachi](https://avatars.githubusercontent.com/u/134849753?v=4)](https://github.com/onlypfachi "onlypfachi (11 commits)")[![kudamhazo](https://avatars.githubusercontent.com/u/93430565?v=4)](https://github.com/kudamhazo "kudamhazo (1 commits)")

### Embed Badge

![Health badge](/badges/nerd-zero-infisical-php/health.svg)

```
[![Health](https://phpackages.com/badges/nerd-zero-infisical-php/health.svg)](https://phpackages.com/packages/nerd-zero-infisical-php)
```

###  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)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[civicrm/civicrm-core

Open source constituent relationship management for non-profits, NGOs and advocacy organizations.

751291.4k43](/packages/civicrm-civicrm-core)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[oat-sa/tao-core

TAO core extension

66143.7k124](/packages/oat-sa-tao-core)

PHPackages © 2026

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