PHPackages                             goodm4ven/anvil - 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. goodm4ven/anvil

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

goodm4ven/anvil
===============

An internal support package used for Laravel package development

v1.3.8(3mo ago)0820↓40%[4 PRs](https://github.com/GoodM4ven/PACKAGE_LARAVEL_anvil/pulls)3MITPHPPHP ^8.4||^8.3CI passing

Since Dec 20Pushed 1mo agoCompare

[ Source](https://github.com/GoodM4ven/PACKAGE_LARAVEL_anvil)[ Packagist](https://packagist.org/packages/goodm4ven/anvil)[ Docs](https://github.com/goodm4ven/PACKAGE_LARAVEL_anvil)[ Fund](https://www.buymeacoffee.com/GoodM4ven)[ GitHub Sponsors](https://github.com/GoodM4ven)[ RSS](/packages/goodm4ven-anvil/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (15)Versions (19)Used By (3)

بسم الله الرحمن الرحيم

Anvil
=====

[](#anvil)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bd8faadff5225f6426cccb37110310f92422f1384d9788901a59c2f4042c8a4a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f676f6f646d3476656e2f616e76696c2e7376673f7374796c653d666f722d7468652d626164676526636f6c6f723d67726179)](https://packagist.org/packages/goodm4ven/anvil)[![GitHub Tests Action Status](https://camo.githubusercontent.com/32d50511236aca2acfa262a262f0ee4a9357bfbd7a3c5f4cc82eb0c0ffc64ead/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f676f6f646d3476656e2f5041434b4147455f4c41524156454c5f616e76696c2f706573742e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666f722d7468652d626164676526636f6c6f723d666f72657374677265656e)](https://github.com/goodm4ven/PACKAGE_LARAVEL_anvil/actions?query=workflow%3Apest+branch%3Amain)[![Coverage Status](https://camo.githubusercontent.com/1d4eca6d896ff72d1b86f99edd0d695aa2a9c25e23482e7281c2173fed4c6427/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f676f6f646d3476656e2f5041434b4147455f4c41524156454c5f616e76696c2f6d61696e3f7374796c653d666f722d7468652d626164676526636f6c6f723d707572706c65)](https://codecov.io/gh/goodm4ven/PACKAGE_LARAVEL_anvil)[![Total Downloads](https://camo.githubusercontent.com/bc0873351bc137a7d14e2d029ed1b52bc7b9f7291beeb42ff6541966b265c414/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f676f6f646d3476656e2f616e76696c2e7376673f7374796c653d666f722d7468652d626164676526636f6c6f723d626c7565)](https://packagist.org/packages/goodm4ven/anvil)

An internal package used for Laravel package development...

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

[](#installation)

Install the package with [`Composer`](https://getcomposer.org/):

```
composer require --dev goodm4ven/anvil
```

Usage
-----

[](#usage)

I'm doing my best to make the helper classes "activatable" or injectable with ease. This is what we have, so far:

### Laravel Booster incorrect alias for package development

[](#laravel-booster-incorrect-alias-for-package-development)

Inject this to a service provider's `register` method:

```
\GoodMaven\Anvil\Fixes\RegisterLaravelBoosterJsonSchemaFix::activate();
```

### Synchronize environment variables &amp; configurations for Workbench testing

[](#synchronize-environment-variables--configurations-for-workbench-testing)

1. Inside your `TestCase.php` class, use this **trait**:

```
use \GoodMaven\Anvil\Concerns\TestableWorkbench;
```

2. Inside the same class Testbench's `getEnvironmentSetUp` method, call this method:

```
$this->setDatabaseTestingEssentials();
```

### PestPHP Livewire Testing Methods

[](#pestphp-livewire-testing-methods)

In order to bypass the issue of assigning specific waiting time for input fields to update correctly, we have these 2 helper methods:

```
use GoodMaven\Anvil\Support\LivewireTester;

LivewireTester::waitForDomInputValue($page, $selector, $expectedValue);
LivewireTester::waitForRenderedInputValue($page, $selector, $expectedValue);
```

Development
-----------

[](#development)

This package was initiated based on my [Laravel package template](https://github.com/goodm4ven/PACKAGE_LARAVEL_anvil/blob/main/README.md#development) that is built on top of [Spatie's](https://github.com/spatie/package-skeleton-laravel). Make sure to read the docs for both.

### Tasks

[](#tasks)

- // TODO Unit testing all features

Support
-------

[](#support)

Support ongoing package maintenance as well as the development of **other projects** through [sponsorship](https://github.com/sponsors/GoodM4ven) or one-time [donations](https://github.com/sponsors/GoodM4ven?frequency=one-time&sponsor=GoodM4ven) if you prefer.

### Credits

[](#credits)

- [ChatGPT &amp; Codex](https://developers.openai.com/codex)
- [GoodM4ven](https://github.com/GoodM4ven)
- [All Contributors](../../contributors)

والحمد لله رب العالمين

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance85

Actively maintained with recent releases

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 92.9% 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 ~4 days

Total

12

Last Release

104d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2fe03bedf65c411e3623e9c103eb2dc4626c5d4ee3fab62cfb98d88caab82a4b?d=identicon)[GoodM4ven](/maintainers/GoodM4ven)

---

Top Contributors

[![GoodM4ven](https://avatars.githubusercontent.com/u/121377476?v=4)](https://github.com/GoodM4ven "GoodM4ven (26 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (2 commits)")

---

Tags

laravelsupportinternaltallstackGoodM4venanvil

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/goodm4ven-anvil/health.svg)

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

###  Alternatives

[spatie/laravel-livewire-wizard

Build wizards using Livewire

4061.0M4](/packages/spatie-laravel-livewire-wizard)[nativephp/mobile

NativePHP for Mobile

82724.0k43](/packages/nativephp-mobile)[tonysm/importmap-laravel

Use ESM with importmap to manage modern JavaScript in Laravel without transpiling or bundling.

148399.8k1](/packages/tonysm-importmap-laravel)[laracraft-tech/laravel-useful-additions

A collection of useful Laravel additions!

58109.4k](/packages/laracraft-tech-laravel-useful-additions)[hydrat/filament-table-layout-toggle

Filament plugin adding a toggle button to tables, allowing user to switch between Grid and Table layouts.

6292.3k1](/packages/hydrat-filament-table-layout-toggle)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)

PHPackages © 2026

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