Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Assert Throws Laravel Package

codeception/assert-throws

Assert that a callable throws the expected exception without try/catch boilerplate. codeception/assert-throws adds assertThrows and assertDoesNotThrow helpers for Codeception and PHPUnit tests, with clear failure messages and optional checks on exception class and message.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
codeception/c3 0.90 C3 is Codeception’s remote code coverage helper for PHP apps. It collects coverage from web/functional tests by instrumenting your entry point and forwarding results back to the test runner, making it easy to measure coverage on remote servers and CI. 73 74 46 109K 7 11.8 46.5 — 3 years ago
View on GitHub
codeception/verify 0.90 Tiny BDD-style assertion wrapper for PHPUnit/Codeception. Use verify() and Verify::Array/Callable for readable, chainable expectations like equals, contains, greater/less, true/false/null, empty/notEmpty, throws/doesNotThrow—closer to natural language. 146 149 26 172K 1 15.2 44.8 MIT 8 months ago
View on GitHub
codeception/module-filesystem 0.89 Codeception Filesystem module provides helpers for working with files and directories in tests. Create, copy, move, delete, and assert files/folders, handle fixtures and temp paths, and verify filesystem state as part of Codeception scenarios. 20 20 7 506K 3 5.9 56.4 MIT 11 months ago
View on GitHub
codeception/stub 0.89 Create lightweight test doubles for PHP with Codeception Stub. Quickly generate stubs and mocks, define method returns and expectations, and override behavior on the fly—ideal for unit tests that need fast, flexible objects without full implementations. 301 302 19 1M 7 22.0 57.4 MIT 9 months ago
View on GitHub
Context7
codeception/module-rest 0.88 REST module for Codeception that simplifies testing REST/JSON APIs: send HTTP requests, set headers/auth, validate response codes, formats, and payloads, and assert JSON/XML content. Integrates with other Codeception modules for end-to-end API tests. 60 60 30 615K 15 33.5 71.0 MIT 1 month ago
View on GitHub
codeception/module-webdriver 0.88 WebDriver module for Codeception that drives real browsers (via Selenium/ChromeDriver/etc.) for end-to-end acceptance testing. Provides browser control, navigation, form interactions, assertions, waits, and screenshots for UI automation. 39 39 23 839K 41 29.3 72.5 MIT 8 months ago
View on GitHub
codeception/module-db 0.87 Database module for Codeception that handles connecting to a DB, running queries, and cleaning up between tests. Supports populating data, verifying records, and fast resets to keep acceptance and functional test suites reliable and repeatable. 23 23 31 497K 14 11.9 61.8 MIT 1 year ago
View on GitHub
Context7
codeception/lib-xml 0.86 XML utilities for Codeception tests. Provides helpers to load, parse, query, and assert XML/HTML content in a clean, test-friendly API. Useful for validating SOAP responses, RSS feeds, and markup fragments with expressive assertions and convenient matchers. 17 17 1 584K 2 4.0 55.9 MIT 11 months ago
View on GitHub
jchook/phpunit-assert-throws 0.86 A PHPUnit assertion helper for testing that code throws exceptions. It adds assertThrows to verify exception types and messages in a single call, keeping tests compact and readable while confirming the expected error is actually raised. 11 — 3 — 0 0.1 — MIT —
codeception/lib-asserts 0.86 Lightweight assertion library used by Codeception. Provides clear, dependency-free assert helpers for writing expressive tests in PHP, with informative failure messages and easy integration into any PHPUnit-style workflow. 105 105 5 2M 1 12.3 58.0 MIT 9 months ago
View on GitHub
codeception/module-laravel 0.86 Codeception module that integrates the Codeception testing framework with Laravel, adding helpers for database transactions, authentication, mail, events, queues, and HTTP tests so you can write expressive functional and unit tests for your app. 6 6 14 55K 9 22.9 66.0 MIT 1 week ago
View on GitHub
phpunit/phpunit-dom-assertions 0.86 Adds expressive DOM assertions to PHPUnit for testing HTML and XML output, letting you assert elements, attributes, text content, and structure using a fluent, readable API built on Symfony's DomCrawler and CssSelector components. 29 — 13 — 1 6.3 — NOASSERTION 8 months ago
codeception/module-asserts 0.85 Codeception Asserts module adds rich assertion helpers for your tests, letting you use a wide set of PHPUnit-style assertions directly in Codeception suites. Ideal for unit, functional, and acceptance tests to keep checks readable and failures clear. 86 87 10 1M 0 13.4 59.3 MIT 10 months ago
View on GitHub
Context7
codeception/specify 0.85 Trait for BDD-style specifications in PHPUnit/Codeception. Lets you write tests with describe/it-like blocks, shared setup, and clear expectations, improving readability while staying compatible with standard PHP unit testing workflows. 157 160 24 103K 5 8.0 40.2 MIT 4 years ago
View on GitHub
codeception/codeception 0.85 Codeception is a full-stack PHP testing framework that unifies unit, functional, and acceptance tests in one suite. Write expressive BDD-style tests, reuse modules, and test Laravel, Symfony, or any PHP app with clear reports, parallel execution, and smooth CI integration. 4,852 4,918 1,273 1M 152 87.0 66.9 MIT 1 month ago
View on GitHub
Context7
codeception/lib-innerbrowser 0.85 InnerBrowser module for Codeception that simulates browser requests without a real browser. Useful for functional testing PHP web apps by sending GET/POST requests, managing cookies and sessions, following redirects, and asserting responses quickly in-memory. 87 87 20 1M 12 27.2 67.8 MIT 4 months ago
View on GitHub
codeception/module-symfony 0.85 Codeception module for Symfony: boots the kernel in functional tests, exposes the service container and Symfony services, and integrates Doctrine data cleanup, mailer and profiler assertions so you can write expressive end-to-end tests. Official module maintained by the Codeception team. 96 97 25 299K 1 28.5 55.3 MIT 2 months ago
View on GitHub
webmozart/assert 0.84 Webmozart Assert provides efficient PHP assertions for method input and output, throwing Webmozart\Assert\InvalidArgumentException on failure. It reduces validation boilerplate and supports clear custom error messages with consistent placeholders. 7,649 7,721 168 18M 23 64.9 65.2 MIT 1 month ago
View on GitHub
bovigo/assert 0.84 Functional-style assertions for PHP unit tests. Use assertThat(value, predicate[, description]) for readable checks with helpful failure messages. Integrates with PHPUnit via AssertionFailure extending AssertionFailedError. Requires PHP 8.3+. 13 13 5 724 1 11.5 24.9 BSD-3-Clause 11 months ago
View on GitHub
testo/assert 0.83 Assertion plugin for the Testo PHP testing framework. Adds a fluent assert/expect facade, expectation lifecycle, and helpers for matching thrown exceptions. Reports comparisons through Testo’s standard pipeline. Install via Composer: testo/assert. 0 0 0 16K 0 0.0 55.3 — —
View on GitHub
Context7
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc
animalyoung/laravel-influxdb
onix-solutions/sms-telera
lonely-lights/prosetta
oxygen/data
oxygen/core
jengo/base
xiloryx/log-collector
a21ns1g4ts/filament-stripe
la-php/laravel-admin
artisan-build/community-prompts
vleroy/smart
ayles-software/laravel-australian-public-holidays
cboxdk/laravel-id-spatie
cboxdk/laravel-id-billing
cboxdk/laravel-id-billing-bridge
simple-as-fuck/php-performance-log