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

atournayre/assert

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
webmozart/assert 0.87 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
marcin-orlowski/type-asserts 0.86 A lightweight PHP library of type assertion helpers for Laravel and standalone projects, letting you validate values against expected types with simple, readable calls and clear failures. 1 1 0 501 0 0.1 33.2 MIT 4 years ago
View on GitHub
lastdragon-ru/lara-asp-testing 0.85 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
phpunit/phpunit-dom-assertions 0.85 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
webmozart/expression 0.85 A lightweight PHP library for building and evaluating expressions as objects. Compose comparisons and logical operators (and, or, not), then evaluate them against values for reusable validation, filtering, and rule logic without hard-coded conditionals. 212 — 10 — 1 1.5 — MIT 10 years ago
imanghafoori/laravel-makesure 0.85 — 21 21 3 44 1 1.0 6.5 MIT 2 years ago
View on GitHub
kumaravelk011/model-validation 0.85 A Laravel package for validating Eloquent models with rules defined alongside the model. Keep validation close to your data layer, reuse Laravel’s validator, and catch invalid attributes before saving or updating records. 33 — 5 — 0 15.5 — MIT 3 months ago
View on GitHub
simplesamlphp/assert 0.85 A fork of webmozart/assert that lets every assertion throw a custom exception via an extra parameter, falling back to AssertionFailedException. It also adds XML/SAML2-specific assertions for SimpleSAMLphp projects. 7 7 3 279K 0 15.2 62.3 LGPL-2.1 3 months ago
View on GitHub
illuminate/validation 0.85 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
jasonmccreary/laravel-test-assertions 0.85 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
codeception/lib-asserts 0.85 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
theriddleofenigma/laravel-model-validation 0.85 Declare validation rules directly on your Eloquent models and have them run automatically on the events you choose, such as saving, creating, or updating. Invalid saves throw Laravel's ValidationException, so no form requests or repeated validator calls are needed. 33 34 5 2K 0 17.0 26.6 MIT 3 months ago
View on GitHub
helmich/phpunit-json-assert 0.85 Adds concise JSON assertions to PHPUnit using JSONPath expressions and JSON Schema validation. Use the JsonAssertions trait to verify complex JSON/data structures with readable assert* helpers. Install via Composer and choose the branch matching your PHPUnit/PHP version. 130 130 27 92K 3 10.8 42.3 MIT 8 months ago
View on GitHub
jcergolj/laravel-view-test-assertions 0.85 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
spatie/tabular-assertions 0.84 Write readable “tabular assertions” for Pest or PHPUnit by describing expected data as a Markdown-like table and comparing it to actual arrays/collections. Ideal for ordered datasets like time series, financials, or database rows, with clear diffs. 60 60 0 14K 0 0.9 31.1 MIT 2 years ago
View on GitHub
illuminatech/validation-composite 0.84 Illuminatech Validation Composite lets Laravel developers build custom validation rules by composing existing rules into one reusable rule. Define nested rules and messages, keep validation logic modular, and use the result like any standard Laravel validation rule. 180 — 6 — 0 1.1 — NOASSERTION —
View on GitHub
campanda/commons-ensure-bundle 0.84 — 0 0 0 0 0 0.3 — LGPL-3.0 7 years ago
View on GitHub
Context7
nwidart/laravel-normalizer 0.84 A Laravel package for normalizing data into consistent, predictable formats. Define custom normalizers to clean and transform input, making validation and storage simpler across your application. 12 — 2 — 0 0.4 — MIT 10 years ago
View on GitHub
digitalrevolution/accessorpair-constraint 0.84 PHPUnit helper to automatically test and cover getters/setters (and constructor-to-getter pairs) on data classes. Add the AccessorPairAsserter trait and call assertAccessorPairs() to validate accessor pairs, optional default/initial value checks. 10 11 10 3K 1 19.7 36.3 MIT 5 months ago
View on GitHub
saritasa/laravel-fluent-validation 0.84 A Laravel package that adds fluent, chainable validation rule builders, letting you define complex validation logic in expressive PHP instead of long arrays or strings. It simplifies custom rules and keeps validators readable, reusable, and easy to maintain. 8 9 7 4K 1 0.2 25.4 MIT 2 years 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.
skyraptor/chatter
edlugz/sasapay
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