zenstruck/assert
Lightweight PHP assertion helpers for cleaner, safer code. zenstruck/assert provides expressive, fluent assertions and value validation with helpful exception messages, improving readability in libraries and Laravel apps without bringing a full testing framework.
|
Package
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|
| zenstruck/browser | zenstruck/browser is an expressive, fluent wrapper around Symfony's functional testing features, letting you visit pages, assert content, fill fields, and click buttons in chainable code. Pair it with zenstruck/foundry for succinct, readable tests. | 230 | 229 | 27 | 165K | 28 | 39.6 | 57.2 | MIT | 3 weeks ago | |
| zenstruck/console-test | Test your Symfony Console commands with ease. zenstruck/console-test provides a lightweight harness to run commands, feed input, capture output, and assert exit codes and messages—ideal for fast, reliable unit/integration tests without booting full apps. | 57 | 57 | 8 | 28K | 2 | 10.8 | 38.9 | MIT | 11 months ago | |
| zenstruck/dom | Zenstruck DOM is a tiny PHP/Laravel-friendly library for working with HTML/XML DOM. It offers a simple, fluent API to query, traverse, and manipulate nodes, making scraping, testing, and HTML transformations easier than using raw DOMDocument/DOMXPath. | 5 | 5 | 3 | 1K | 0 | 0.1 | 30.9 | MIT | — | |
| zenstruck/filesystem | Zenstruck Filesystem is a Symfony bundle for attaching files and images to Doctrine entities. It handles storage via Flysystem adapters, image transformations, metadata, and automatic orphan cleanup, keeping file management clean and testable. | 43 | — | 4 | — | 17 | 7.6 | 7.2 | MIT | 10 months ago |
|
| zenstruck/foundry | Foundry makes fixture creation enjoyable with an expressive, auto-completable, on-demand factory system for Symfony and Doctrine. Create and persist objects with minimal data, use factories in DoctrineFixturesBundle or tests, and support ORM, MongoDB ODM, or both. | 804 | 801 | 115 | 596K | 21 | 47.0 | 57.4 | MIT | 1 week ago | |
| zenstruck/mailer-test | Opinionated helpers to test emails sent with symfony/mailer. Use InteractsWithMailer in KernelTestCase/WebTestCase for fluent assertions like assertNoEmailSent, assertSentEmailCount, and inspect messages with TestEmail (subject, recipients, body, attachments). | 46 | 46 | 5 | 51K | 4 | 9.2 | 44.4 | MIT | 9 months ago | |
| zenstruck/messenger-test | TestTransport for symfony/messenger that intercepts queued messages so you can inspect and assert against them in your tests. Sent messages are serialized and unserialized as a check, and the transport can also process queued messages. Use the InteractsWithMessenger trait to assert queue state, mess... | 279 | 279 | 15 | 403K | 2 | 31.3 | 51.1 | MIT | 1 week ago |
How can I help you explore Laravel packages today?