PHPackages                             darling/php-darling-dev-tools - 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. darling/php-darling-dev-tools

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

darling/php-darling-dev-tools
=============================

Development tools for development of Darling PHP libraries and projects.

v1.1.0(4mo ago)11.6k[1 issues](https://github.com/sevidmusic/PHPDarlingDevTools/issues)10MITPHPPHP ^8.3CI passing

Since Mar 26Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/sevidmusic/PHPDarlingDevTools)[ Packagist](https://packagist.org/packages/darling/php-darling-dev-tools)[ RSS](/packages/darling-php-darling-dev-tools/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (1)Versions (12)Used By (10)

```
   ___           ___           ___          ______          __
  / _ \___ _____/ (_)__  ___ _/ _ \___ _  _/_  __/__  ___  / /__
 / // / _ `/ __/ / / _ \/ _ `/ // / -_) |/ // / / _ \/ _ \/ (_-<
/____/\_,_/_/ /_/_/_//_/\_, /____/\__/|___//_/  \___/\___/_/___/
                       /___/

```

Development tools for development of Darling PHP libraries and projects.

This library provides a script named `NewClass.php` which can be used to setup a new class for development in a Darling PHP library or project.

The `NewClass.php` script will generate the required boilerplate for a new Darling class, including it's Interface, TestTrait, and Test class.

The source code for the Class, Interface, TestTrait, and Test class is generated using the templates located in this library's `./templates` directory.

Installation:
=============

[](#installation)

```
composer require darling/php-darling-dev-tools

```

Usage:
======

[](#usage)

Assuming the Darling Dev Tools library has been installed, and the current directory is the root directory of the project to create a new class for:

```
php ./vendor/darling/php-darling-dev-tools/NewClass.php \
--path ./ \
--rootnamespace Darling\\ProjectName \
--name NewClassName \
--basetestname NameOfBaseTestClassForProject \
--subnamespace sub\\namespace

```

### Arguments

[](#arguments)

```
--path
  The path to the project the class will be created for.
  For example: ./path/to/project

--rootnamespace
  The rootnamespace of the project.
  For example: Darling\\ProjectName

--name
  The name of the new class.
  For example: NewClassName \

--basetestname
  The name of the projects base PHPUnit test class.
  For example: ProjectNameTest \

--subnamespace
  The subnamespace to define for the class.
  This will follow the --rootnamespace.
  For example: classes\\utilities

```

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance57

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity66

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 ~111 days

Recently: every ~225 days

Total

10

Last Release

145d ago

PHP version history (2 changes)v1.0.1PHP ^8.1

v1.1.0PHP ^8.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/adebca78c3b0f21d631afe08ca4ffe17c2f67917054b07c53cdde2b080e709eb?d=identicon)[sevidmusic](/maintainers/sevidmusic)

---

Top Contributors

[![sevidmusic](https://avatars.githubusercontent.com/u/10404993?v=4)](https://github.com/sevidmusic "sevidmusic (54 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/darling-php-darling-dev-tools/health.svg)

```
[![Health](https://phpackages.com/badges/darling-php-darling-dev-tools/health.svg)](https://phpackages.com/packages/darling-php-darling-dev-tools)
```

PHPackages © 2026

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