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 Laravel Package

beberlei/assert

A simple PHP library of assertions and guard methods for fast, low-level input validation in business models, libraries, and application code. Failed assertions throw exceptions, eliminating if-clauses. Install via Composer: composer require beberlei/assert.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
illuminate/validation 0.86 The Illuminate Validation package provides a robust, framework-agnostic validation library for PHP. It offers dozens of built-in rules, custom rule support, nested array validation, and localized error messages, powering form and request validation in Laravel and standalone projects. 34,987 199 12,028 869K 55 78.2 54.7 MIT 3 days ago
View on GitHub
atournayre/assert 0.86 — 0 0 0 13 1 1.3 15.8 MIT 3 years ago
View on GitHub
codeception/assert-throws 0.85 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. 19 19 11 26K 1 15.8 47.6 MIT 5 months ago
View on GitHub
pedrosalpr/laravel-api-problem 0.84 Laravel API Problem brings RFC 7807/9457 problem details to your Laravel API, helping you return consistent, standards-compliant JSON error responses. Document, debug, and consume API errors more easily with structured problem payloads and simple helpers. 11 — 1 — 1 0.4 0.4 MIT —
View on GitHub
phpstan/phpstan-beberlei-assert 0.84 PHPStan extension for beberlei/assert. Adds improved static analysis and type inference for Assert::that and related assertions, helping PHPStan understand refined types after checks and reducing false positives in codebases using beberlei/assert. 43 44 16 131K 3 6.2 48.2 MIT 1 year 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
sven/laravel-testing-utils 0.84 Practical testing helpers for Laravel applications, including cleaner assertions, setup shortcuts, and conveniences for HTTP, database, and mocking workflows. Designed to keep PHPUnit and Pest suites readable, consistent, and fast without extra boilerplate. 21 24 1 12 1 0.1 1.8 MIT 6 years ago
View on GitHub
prettus/laravel-validation 0.84 Laravel Validation Service offers reusable validator classes for Laravel with separate create and update rule sets, plus custom error messages and attribute names. Keep validation rules organized and consistent across your application. 406 420 88 241K 21 25.5 51.0 MIT 5 months ago
View on GitHub
imanghafoori/laravel-makesure 0.84 — 21 21 3 44 1 1.0 6.5 MIT 2 years ago
View on GitHub
wendelladriel/laravel-validated-dto 0.84 Validated DTOs for Laravel: extend ValidatedDTO, declare typed properties and validation rules, and get validated, cast, type-safe data objects from request payloads. Includes built-in casts and config publishing for cleaner controllers. 774 774 46 54K 1 26.3 28.0 MIT 5 months ago
View on GitHub
Context7
sinnbeck/laravel-dom-assertions 0.84 Extra DOM assertion helpers for Laravel HTTP tests, giving you finer control than assertSee and friends: assert on elements, forms, selects, datalists, and text, with quick existence checks and Livewire/Blade support. 105 107 12 19K 0 31.4 36.5 MIT 1 week ago
View on GitHub
jasonmccreary/laravel-test-assertions 0.84 Adds a trait of extra PHPUnit assertions for Laravel testing. Confirm controllers/actions and named routes use specific FormRequest validation or middleware, compare validation rules (subset or exact), check rule instances, and assert view data is explicitly null. 349 351 38 140K 2 17.5 38.6 — 7 months ago
View on GitHub
radebatz/openapi-verifier 0.84 A Laravel package for verifying your API against an OpenAPI specification, helping keep routes, requests, and responses in sync with your docs and catching contract mismatches early in development or CI. 9 10 2 1K 0 19.2 32.9 MIT 3 weeks ago
View on GitHub
codeception/lib-asserts 0.83 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
lastdragon-ru/lara-asp-testing 0.83 Testing utilities for integrating Lara ASP into Laravel apps. Provides helpers, fakes, and assertions to simplify writing automated tests around ASP policies, decisions, and request/response flows in your application. 0 0 0 75 0 0.0 26.0 MIT —
View on GitHub
bovigo/assert 0.83 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
20steps/commons-ensure-bundle 0.83 — 0 0 1 0 0 0.3 — LGPL-3.0 8 years ago
View on GitHub
illuminate/exception 0.83 The exception handling component of Laravel, providing the Handler that catches, reports, and renders exceptions into HTTP responses. It supports custom render and report logic, HTTP exceptions, and clean error output across your application. 21 — 4 — 0 0.2 — — —
View on GitHub
selective/validation 0.83 Selective Validation is a Laravel package for validating only the request fields you choose. It simplifies partial updates, conditional forms, and API endpoints by applying rules to selected attributes instead of the full payload, with an easy, lightweight integration. 35 35 5 4K 0 9.7 29.9 MIT 6 months ago
View on GitHub
jcergolj/laravel-view-test-assertions 0.83 A Laravel testing package that adds expressive assertions for Blade views, letting you verify rendered output, view data, and components directly in PHPUnit or Pest tests with clean, readable methods instead of brittle checks. 16 16 1 261 2 17.4 19.2 — 1 month ago
View on GitHub
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.
abbasudo/artisan-route
mirvan/ippanel
ignibyte/aic-framework
glavweb/data-schema-bundle
glavweb/datagrid-bundle
tacticmedia/scim-server
uni-method/frame
neika-ai/sdk
adachsoft/php-code-style
pharaonic/laravel-notification-dependencies
beautinow/translug
dev-brainiac/bot-cloaked
octoberrain/html
octoberrain/extension
octoberrain/exception
octoberrain/contracts
adachsoft/api-version-bundle
cgv/localized-resource
noith/settings
kda/laravel-package