faissaloux/pest-plugin-database 问题修复 & 功能扩展

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

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

faissaloux/pest-plugin-database

最新稳定版本:v0.3.0

Composer 安装命令:

composer require --dev faissaloux/pest-plugin-database

包简介

Pest plugin for databases structure

README 文档

README

A pest plugin to test your database structure.

Tests Packagist Version Total Downloads on Packagist Packagist License

Requirements

  • php ^8.2
  • pestphp ^3.0 | ^4.0
  • Laravel ^11.0 | ^12.0

Installation

composer require faissaloux/pest-plugin-database --dev

Supported Drivers

  • MySQL
  • SQLite
  • PostgreSQL

Expectations

Check driver.

expect()->driver->toBe('mysql');

Check database name.

expect()->database->toBe('database');

Check tables in your database.

expect()->database->tables->toBe(['users', 'posts']);

Check number of tables in your database.

expect()->database->tables->toHaveCount(9);

Check for specific connection.

expect('connection')->database->toBe('database');

Support

If you encounter any issues or have questions, feel free to open an issue on this repository's Issues page. I'll try to respond as soon as possible.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-02-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固