Weave Code
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

simplesamlphp/assert

Fork of webmozart/assert that lets every assertion throw your chosen exception (or a default AssertionFailedException) instead of always InvalidArgumentException. Adds a few custom assertions aimed at XML/SAML2 use cases.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
testo/assert 0.85 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 6K 0 0.0 51.8
View on GitHub
Context7
atournayre/assert 0.84 0 0 0 23 1 1.3 19.0 MIT 3 years ago
View on GitHub
Context7
jasonmccreary/laravel-test-assertions 0.83 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. 351 351 36 131K 2 23.6 39.7 4 months ago
View on GitHub
Context7
konekt/enum 0.83 Lightweight PHP enum base class (pre-PHP 8.1) for defining value-safe constants via abstract Enum subclasses. Simple instantiation, validation and utilities, with docs and optional Laravel Eloquent integration via konekt/enum-eloquent. 21 21 2 74K 0 0.2 48.7 MIT
View on GitHub
Context7
beberlei/assert 0.82 Lightweight assertion library for validating method arguments and input data in PHP. Provides a fluent, readable API with many built-in rules (string, numeric, email, UUID, collection, etc.), clear exceptions, and easy extensibility for custom constraints. 2,431 2,457 187 2M 30 54.9 63.9 NOASSERTION 1 month ago
View on GitHub
Deep Wiki
Context7
spatie/laravel-enum 0.82 Laravel integration for spatie/enum: use Enum base class in Laravel, cast model attributes to enums (including nullable and arrays), and get Laravel-friendly behavior via custom casts and Castable support for Eloquent. 366 369 36 147K 0 11.3 36.0 MIT 1 year ago
View on GitHub
Context7
henzeb/enumhancer 0.82 69 70 8 20K 0 18.4 36.6 AGPL-3.0 7 months ago
View on GitHub
Context7
aboutcoders/enum-serializer-bundle 0.82 Symfony bundle adding JMS Serializer support for myclabs/php-enum enums. Register enum types via config or tagged services, then serialize/deserialize to JSON using enum class names in @Type annotations or directly in serializer calls. 3 4 5 594 1 0.6 30.0 MIT 5 years ago
View on GitHub
Context7
webmozart/assert 0.82 Lightweight PHP assertion library for validating method input/output. Provides fast, readable checks via Webmozart\Assert\Assert with consistent error-message placeholders, throwing InvalidArgumentException on failure. Ideal for safer, less repetitive validation code. 7,651 7,721 164 13M 24 63.4 61.3 MIT 1 month ago
View on GitHub
Context7
zenstruck/assert 0.82 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. 81 82 5 692K 1 12.8 58.2 MIT 7 months ago
View on GitHub
Context7
timeweb/phpstan-enum 0.82 PHPStan extension for PHP enums. Provides additional rules and type inference to catch invalid enum values and comparisons, improve static analysis around backed/unit enums, and surface enum-related bugs early in CI. 44 44 7 50K 1 5.1 42.1 MIT 1 year ago
View on GitHub
Context7
archtechx/enums 0.81 Modern PHP enum helpers: casting, validation, labels, and convenience methods for native enums. Add common patterns like options arrays, random values, and comparisons to make enums easier to use across Laravel apps and APIs. 566 568 23 597K 2 7.0 42.0 MIT 1 year ago
View on GitHub
Context7
laudis/typed-enum 0.81 4 4 0 32K 0 0.0 52.5 MIT
View on GitHub
Context7
paillechat/php-enum 0.81 PHP 7+ enum library: define enums by extending Enum and declaring constants, then instantiate via static named calls (IssueType::ONE()). Instances are strict-equal singletons, work with in_array/type hints, and can convert to/from names. 16 17 3 508 0 2.0 20.6 MIT 7 years ago
View on GitHub
Context7
elao/enum 0.81 Opinionated extensions for PHP 8.1+ native enums with readable labels, flag/bitmask enums, and extra values. Includes integrations for Symfony (Forms, HTTP Kernel arg resolver, Translation, VarDumper), Doctrine ORM/ODM, and Faker. 327 327 29 33K 15 30.5 36.7 MIT 3 months ago
View on GitHub
Context7
adrenalinkin/enum-mapper 0.81 1 1 0 0 0 0.0 MIT
View on GitHub
Context7
marc-mabe/php-enum-phpstan 0.81 PHPStan extension for marc-mabe/php-enum. Teaches PHPStan about enum accessor methods and allowed values so static analysis understands your enumerations and catches invalid usage. Install with Composer and include the provided extension.neon. 12 12 6 8K 0 2.6 38.8 BSD-3-Clause 1 year ago
View on GitHub
Context7
prinsfrank/enums 0.81 2 2 1 53K 0 1.8 55.3 MIT 1 year ago
View on GitHub
Context7
henzeb/enumhancer-ide-helper 0.81 Laravel IDE helper for enhanced PHP enums. Improves autocompletion and type hints for Enumhancer features in PhpStorm and similar IDEs, generating stubs/metadata so enum methods, cases, and helpers are easier to discover and use. 0 0 0 1K 0 0.3 42.9 AGPL-3.0 3 years ago
View on GitHub
Context7
art-fatal/doctrine-enum-bundle 0.81 0 0 0 0.0
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.
terminal42/code-quality-tools
codifyo/ts-generator-bundle
andydefer/laravel-cluster
testo/fiber
mintobit/jobqueue
a4sex/maintenance-bundle
a4sex/entity-date-update
a4sex/client-identifier
a4sex/base-utilites
a4sex/key-value-storage
a4sex/micro-status
chilldev/dependency-injection-extra
datinglibre/datinglibre-app-api
biberltd/corebundle
bricre/symfony-bundle-test
biberltd/logbundle
dominium/http-adapter-bundle
dominium/google-analytics
a4sex/auto-clean-entity
christhompsontldr/laravel-inky