PHPackages                             mitmelon/pangea - 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. [Security](/categories/security)
4. /
5. mitmelon/pangea

ActiveLibrary[Security](/categories/security)

mitmelon/pangea
===============

Incorporate security into your PHP Applications using the Pangea API services.

1.0.0(2y ago)05MITPHPPHP &gt;=5.6.0

Since Feb 10Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/mitmelon/Pangea)[ Packagist](https://packagist.org/packages/mitmelon/pangea)[ Docs](https://console.pangea.cloud/)[ RSS](/packages/mitmelon-pangea/feed)WikiDiscussions main Synced 1mo ago

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

Pangea PHP Client [](https://pangea.cloud/docs/api)
===================================================

[](#pangea-php-client)

[Join Telegram](https://t.me/+7jfbiGKhn55iODlk)[![](https://camo.githubusercontent.com/beb960a282667c073743ee99a96db1e6bb314d4100e90a62f601970fb38f124a/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f666f6c6c6f772f6d616e6f6d69746568712e7376673f7374796c653d736f6369616c) ](https://twitter.com/manomitehq)
*Incorporate security into your PHP Applications using the Pangea API services*

[![Stars Badge](https://camo.githubusercontent.com/50469965a1ae60d71ac06bb91dd7722b811b075f0d8306c2d89736d78029eca1/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6d69746d656c6f6e2f70616e676561)](https://github.com/mitmelon/pangea/stargazers)[![Forks Badge](https://camo.githubusercontent.com/a41bf93532e44e4aab9a48687a34502fc9eeca5d2b4b63d6c6a83dab7bd8c36e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6d69746d656c6f6e2f70616e676561)](https://github.com/mitmelon/pangea/network/members)[![Pull Requests Badge](https://camo.githubusercontent.com/8132cf79360e7d200ef35cd6a82ddcf15e0e960df2e93185b1cfb057ac932fc0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d70722f6d69746d656c6f6e2f70616e676561)](https://github.com/mitmelon/pangea/pulls)[![Issues Badge](https://camo.githubusercontent.com/4329c1439cc76e79c4459d248f2ee1c196f52a4d2ab6b2cdb2d7d83f06ec2277/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6d69746d656c6f6e2f70616e676561)](https://github.com/mitmelon/pangea/issues)[![GitHub contributors](https://camo.githubusercontent.com/6858711acff3b2bc57f65688280e419394f752894b421101f23cfde5b446dc38/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6d69746d656c6f6e2f70616e6765613f636f6c6f723d326239333438)](https://github.com/mitmelon/pangea/graphs/contributors)[![License Badge](https://camo.githubusercontent.com/49cea28c9748bad01c09c66119c4fc81524197404b65fb45b416034c3e8f5f64/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6d69746d656c6f6e2f70616e6765613f636f6c6f723d326239333438)](https://github.com/mitmelon/pangea/blob/master/LICENSE) [![Total Downloads](https://camo.githubusercontent.com/05ea3a8c44b96a2824837e974a245412b846c6cd308a93a31ae81dc7de92f25f/687474703a2f2f706f7365722e707567782e6f72672f6d69746d656c6f6e2f70616e6765612f646f776e6c6f616473)](https://packagist.org/packages/mitmelon/pangea)

*If you love this project and wish to assist me to keep working on it. Please follow this link [](https://flutterwave.com/donate/ajcv56i67fan) to donate. If you find it hard donating please contact me at  for more payment methods. Please no amount is too small.*

### Todo Features:

[](#todo-features)

- Add vault \[Provides secure storage of secrets, cryptographic keys, and Pangea API Tokens tokens as Vault items\]
- Add IP Intel \[Malicious behavior check on IP\]
- Add Domain Intel \[Allows you to retrieve intelligence about domain names\]
- Add URL Intel \[Malicious behavior check on URL\]
- Add User Intel \[Discover if information was disclosed in a breach\]
- Add File Intel \[Enables you to submit a file's hash to retrieve its reputation\]
- Add File Scan \[Enables you to upload files to be scanned for malicious content\]
- Add audit log \[A managed audit log store that offers transparent, unalterable, and cryptographically\]
- Add redact \[Remove sensitive information from free-from text and structured data\]
- Add Embargo \[Determine if there is a trade embargo against the country of origin for an IP address\]
- Add AuthN \[A fully managed service to deliver secure user registration and authentication flows, integrated into your application\]

Install:
--------

[](#install)

Use composer to install

```
composer require mitmelon/pangea
```

Usage :
-------

[](#usage-)

To use this project, [create an account](https://pangea.cloud) and plug your credentials into the options below. Account creation is free.

```
require_once __DIR__."/vendor/autoload.php";

// Initialize library class
$pangea = new Pangea($token, $service, $csp, $region);

//Registers all services or select the one you need
$pangea->registerService(
    $pangea->available_service() // this registers all services
    //or register like this 'vault', 'ip-intel' for single or more services
    //You can printout $pangea->available_service() on a separate line to see all the supported services
);

print_r($pangea->generateKey('symmetric_key', 'AES-GCM-256'));
```

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

[](#documentation)

Please see [Pangea Docs](https://pangea.cloud/docs/api/) for more informations.

You can also check the [Service Docs](/src/Services/) to see the services and methods implemented.

Changelog
=========

[](#changelog)

All notable changes to this project will be documented here.

License
=======

[](#license)

Released under the MIT license.

@Pangea

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance54

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

825d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f05a05a056e93b9cd6513702b8c1af6f6ae71a9c8e288230ec1c10c6ffa3719?d=identicon)[mitmelon](/maintainers/mitmelon)

---

Top Contributors

[![mitmelon](https://avatars.githubusercontent.com/u/55149512?v=4)](https://github.com/mitmelon "mitmelon (16 commits)")

---

Tags

securityvaultaudit-logredactembargofile scanfile intelurl intelip inteldomain inteluser intel

### Embed Badge

![Health badge](/badges/mitmelon-pangea/health.svg)

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

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k434.8M1.3k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[spatie/laravel-csp

Add CSP headers to the responses of a Laravel app

8519.6M19](/packages/spatie-laravel-csp)[fuko-php/masked

Masks sensitive data: replaces blacklisted elements with redacted values

14094.5k](/packages/fuko-php-masked)

PHPackages © 2026

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