PHPackages                             diskominfotik-banda-aceh/pest-scaffold-cli - 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. [Testing &amp; Quality](/categories/testing)
4. /
5. diskominfotik-banda-aceh/pest-scaffold-cli

ActiveLibrary[Testing &amp; Quality](/categories/testing)

diskominfotik-banda-aceh/pest-scaffold-cli
==========================================

Console commands to generate a directory structure for scaffold pest PHP testing files

v1.0.0(3y ago)31021PHP

Since Aug 3Pushed 3y ago2 watchersCompare

[ Source](https://github.com/Diskominfotik-Banda-Aceh/pest-scaffold-cli)[ Packagist](https://packagist.org/packages/diskominfotik-banda-aceh/pest-scaffold-cli)[ RSS](/packages/diskominfotik-banda-aceh-pest-scaffold-cli/feed)WikiDiscussions main Synced 1mo ago

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

Table of contents
=================

[](#table-of-contents)

- [Table of contents](#table-of-contents)
- [Pest PHP Scaffold CLI](#pest-php-scaffold-cli)
    - [Installation](#installation)
        - [Pass a custom path](#pass-a-custom-path)
    - [Usage](#usage)
    - [Changelog](#changelog)
    - [Contributing](#contributing)
    - [Security](#security)
    - [About](#about)
    - [License](#license)

Pest PHP Scaffold CLI
=====================

[](#pest-php-scaffold-cli)

This project delivers a simple set of Console Commands to generate a directory structure for scaffold pest PHP test.

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

[](#installation)

Install this command as a composer package

```
composer require diskominfotik-banda-aceh/pest-scaffold-cli --dev
```

Copy this provider to the `config/app.php`

```
DiskominfotikBandaAceh\PestScaffoldCli\Providers\PestTestProvider::class,
```

Usage
-----

[](#usage)

You can then create a new repository by calling the following command:

```
php artisan make:pest ModelName
```

This command will create a directory named `ModelNameController` in tests/Feature/Http/Controller and will create a basic setup for create, read, update, delete test controller.

The directory structure will look like following:

```
├── .gitignore
├── CHANGELOG.md
├── composer.json
├── README.md
├── tests/
│   ├── Feature
│      ├── Http
│          ├── Controller
│             ├── ModelNameController
```

All the files and classes will have set the correct names and namespaces, but remember that the generator is just creating a starting point. You should go through the files and add stuff that is missing.

### Pass a custom path

[](#pass-a-custom-path)

You can also pass an second argument specifying the path where the tests should be generated.

```
php artisan make:pest ModelName --path="\Feature\Http\Controller"
```

Above example would generate the scaffold test at `./tests/Feature/Http/Controller/ModelNameController`. This can be handy if you want to use this generator within an existing Laravel project.

### The `--crud=c,r,u,d` option

[](#the---crudcrud-option)

By default you will get all of the test scaffold but you can add `c` or `r` or `u` or `d` for specific file.

```
php artisan make:pest ModelName --crud=c,r,u,d
```

Changelog
---------

[](#changelog)

Check [CHANGELOG](CHANGELOG.md) for the changelog

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

[](#contributing)

*Information will follow soon*

Security
--------

[](#security)

If you discover any security related issues, please email  or use the issue tracker of GitHub.

About
-----

[](#about)

Diskominfotik Banda Aceh is a government from Banda Aceh, Banda Aceh creating custom digital solutions. Visit [our website](https://bandaacehkota.go.id) to find out more about us.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/Diskominfotik-Banda-Aceh)for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity47

Maturing project, gaining track record

 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

1379d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7ab972d4654d2a63e842f36850149ef706b09f3c3c2a853ddf387d7772a13cfd?d=identicon)[diskominfotikbna](/maintainers/diskominfotikbna)

---

Top Contributors

[![RayhanYulanda](https://avatars.githubusercontent.com/u/15263594?v=4)](https://github.com/RayhanYulanda "RayhanYulanda (9 commits)")

---

Tags

generatorlaravelpestpest-generatorpest-phppest-pluginpest-scaffoldpestphppestphp-addonphpscaffold

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/diskominfotik-banda-aceh-pest-scaffold-cli/health.svg)

```
[![Health](https://phpackages.com/badges/diskominfotik-banda-aceh-pest-scaffold-cli/health.svg)](https://phpackages.com/packages/diskominfotik-banda-aceh-pest-scaffold-cli)
```

###  Alternatives

[phpspec/prophecy

Highly opinionated mocking framework for PHP 5.3+

8.5k551.7M682](/packages/phpspec-prophecy)[vimeo/psalm

A static analysis tool for finding errors in PHP applications

5.8k77.5M6.7k](/packages/vimeo-psalm)[brianium/paratest

Parallel testing for PHP

2.5k118.8M754](/packages/brianium-paratest)[beberlei/assert

Thin assertion library for input validation in business models.

2.4k96.9M570](/packages/beberlei-assert)[mikey179/vfsstream

Virtual file system to mock the real file system in unit tests.

1.4k108.0M2.7k](/packages/mikey179-vfsstream)[orchestra/testbench

Laravel Testing Helper for Packages Development

2.2k39.1M32.1k](/packages/orchestra-testbench)

PHPackages © 2026

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