PHPackages                             dg/php-extensions-finder - 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. dg/php-extensions-finder

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

dg/php-extensions-finder
========================

Finds PHP extensions required by code.

v2.2(4mo ago)45429↑50%2BSD-3-ClausePHPPHP &gt;=8.0

Since Feb 27Pushed 2mo ago9 watchersCompare

[ Source](https://github.com/dg/php-extensions-finder)[ Packagist](https://packagist.org/packages/dg/php-extensions-finder)[ RSS](/packages/dg-php-extensions-finder/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (6)Used By (0)

PHP Extensions Finder for Composer
==================================

[](#php-extensions-finder-for-composer)

This tool finds which PHP extensions are required by source code.

Usage
-----

[](#usage)

```
php-extensions-finder []

```

It generates result like:

```
{
	"require": {
		"ext-json": "*",
		"ext-tokenizer": "*",
		"ext-gd": "*",
		"ext-openssl": "*",
		"ext-iconv": "*",
		"ext-mbstring": "*"
	}
}

```

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

[](#installation)

It requires PHP 8.0 or newer.

Install it via Composer. This project is not meant to be run as a dependency, so install it as standalone:

```
composer create-project dg/php-extensions-finder

```

Or install it globally via:

```
composer global require dg/php-extensions-finder

```

and make sure your global vendor binaries directory is in [your `$PATH` environment variable](https://getcomposer.org/doc/03-cli.md#global).

Support Project
---------------

[](#support-project)

Do you like PHP Extensions Finder? Are you looking forward to the new features?

[![Donate](https://camo.githubusercontent.com/2dd1529e9dabe93bc54843d8f07c6089790b57f1357f23af1c108fb09f3c1de0/68747470733a2f2f66696c65732e6e657474652e6f72672f69636f6e732f646f6e6174696f6e2d312e7376673f)](https://nette.org/make-donation?to=php-extensions-finder)

###  Health Score

52

—

FairBetter than 96% of packages

Maintenance81

Actively maintained with recent releases

Popularity27

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

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

Total

5

Last Release

132d ago

Major Versions

v0.1 → v1.02018-03-29

v1.0 → v2.02018-03-30

PHP version history (2 changes)v0.1PHP &gt;=5.4.0

v2.2PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/17f266513a3ca97500ec3d85d562b9279c7a6346358fe2b8d90390ece717a027?d=identicon)[david@grudl.com](/maintainers/david@grudl.com)

---

Top Contributors

[![dg](https://avatars.githubusercontent.com/u/194960?v=4)](https://github.com/dg "dg (25 commits)")[![lulco](https://avatars.githubusercontent.com/u/9377319?v=4)](https://github.com/lulco "lulco (1 commits)")

### Embed Badge

![Health badge](/badges/dg-php-extensions-finder/health.svg)

```
[![Health](https://phpackages.com/badges/dg-php-extensions-finder/health.svg)](https://phpackages.com/packages/dg-php-extensions-finder)
```

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M568](/packages/symfony-maker-bundle)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M576](/packages/nette-php-generator)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M82](/packages/symplify-monorepo-builder)[roave/backward-compatibility-check

Tool to compare two revisions of a public API to check for BC breaks

5953.3M56](/packages/roave-backward-compatibility-check)[coenjacobs/mozart

Composes all dependencies as a package inside a WordPress plugin

4723.6M20](/packages/coenjacobs-mozart)[psalm/plugin-laravel

Psalm plugin for Laravel

3274.9M308](/packages/psalm-plugin-laravel)

PHPackages © 2026

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