goodm4ven/anvil 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

goodm4ven/anvil

最新稳定版本:v1.3.5

Composer 安装命令:

composer require goodm4ven/anvil

包简介

An internal support package used for Laravel package development

README 文档

README

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

Anvil

Latest Version on Packagist GitHub Tests Action Status Coverage Status Total Downloads

An internal package used for Laravel package development...

Installation

Install the package with Composer:

composer require --dev goodm4ven/anvil

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

Inject this to a service provider's register method:

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

Synchronize environment variables & configurations for Workbench testing

  1. Inside your TestCase.php class, use this trait:
use \GoodMaven\Anvil\Concerns\TestableWorkbench;
  1. Inside the same class Testbench's getEnvironmentSetUp method, call this method:
$this->setDatabaseTestingEssentials();

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

This package was initiated based on my Laravel package template that is built on top of Spatie's. Make sure to read the docs for both.

Tasks

  • // TODO Unit testing all features

Support

Support ongoing package maintenance as well as the development of other projects through sponsorship or one-time donations if you prefer.

Credits


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

统计信息

  • 总下载量: 144
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-20