phphd/exceptional-validation
Exceptional Validation brings exception-driven validation to Laravel, letting you express validation failures as exceptions handled by Laravel’s exception pipeline. Keep controllers, form requests, and domain code clean with reusable validation logic.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| m6web/api-exception-bundle | 0.89 | Symfony bundle that centralizes API exception handling and returns clean JSON responses. Supports configurable error formatting, stack traces, form validation errors, exception matching/mapping, logging, and environment-specific behavior. | 65 | 64 | 7 | 30 | 1 | 1.3 | 1.6 | MIT | 7 years ago | |
| pccomponentes/apixception-bundle | 0.88 | A Symfony bundle for consistent API exception handling, turning thrown exceptions into standardized JSON error responses with predictable HTTP status codes. Centralize exception-to-response mapping, reduce boilerplate, and keep API errors uniform across services. | 0 | 0 | 2 | 1K | 0 | 7.4 | 44.8 | MIT | 8 months ago | |
| lanin/laravel-api-exceptions | 0.88 | Standardize error responses in Laravel APIs. This package converts exceptions into consistent, configurable JSON payloads (including JSON:API style), so clients always get predictable, well-formed errors instead of HTML stack traces. | 39 | 39 | 9 | 591 | 1 | 7.6 | 17.6 | MIT | 7 months ago | |
| phpro/api-problem-bundle | 0.88 | Symfony bundle that turns exceptions into RFC7807 Problem Details responses (application/problem+json). Listens for ApiProblemException/HttpException/Security exceptions and converts them to standardized JSON errors based on phpro/api-problem, with support for custom transformers. | 25 | 25 | 12 | 10K | 2 | 12.2 | 37.3 | MIT | 8 months ago | |
| forci/catchable-bundle | 0.88 | Symfony bundle for Forci Catchable that brings catchable exception handling to PHP applications. It integrates with Symfony’s error and exception workflow, helping centralize failure handling, reduce repetitive try/catch blocks, and keep controllers clean and consistent. | 0 | 0 | 0 | 21 | 0 | 0.5 | 19.7 | NOASSERTION | — | |
| mnavarrocarter/problem-details-bundle | 0.87 | A Symfony bundle for RFC 7807 problem details that turns exceptions and validation errors into consistent application/problem+json API responses with configurable type, title, status, detail, and custom extension fields. Ideal for standardizing HTTP API error handling. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 8 years ago | |
| joipolloi/json-validation-bundle | 0.87 | A Symfony bundle for validating JSON payloads against schemas, helping you enforce request structure and return clear validation errors in your PHP applications. | 4 | 4 | 6 | 0 | 1 | 0.3 | — | MIT | — | |
| kamranahmedse/laravel-faulty | 0.87 | Laravel Faulty wraps fragile code in a fault-tolerant helper so exceptions don't break your app. Define fallbacks, like cached values, defaults, or closures, and Faulty returns them when the wrapped call fails, keeping API or service outages from taking down your requests. | 64 | — | 7 | — | 0 | 0.8 | — | MIT | 9 years ago | |
| mattjanssen/api-response-bundle | 0.87 | A PHP bundle for building consistent API responses, with helpers for standardized success and error payloads so your application returns clean, predictable JSON across endpoints. | 7 | 7 | 4 | 0 | 0 | 0.5 | — | MIT | 6 years ago | |
| halloverden/symfony-http-exceptions-bundle | 0.87 | A Symfony bundle that provides HTTP-aware exception classes for your applications. Throw typed exceptions that map to status codes and render consistent error responses while keeping controllers and services clean. Integrates with Symfony's exception handling. | 0 | 1 | 0 | 7 | 0 | 0.1 | 12.5 | MIT | — | |
| phine/exception | 0.87 | phine/exception is an improved exception handler for Laravel that replaces the default error pages with clearer, more useful output, including richer stack traces and context to help you diagnose and fix failures faster during development. | 11 | 11 | 2 | 5K | 0 | 0.1 | 25.3 | MIT | — | |
| kodepandai/laravel-api-response | 0.86 | A Laravel package for building consistent API responses with simple helpers for success, error, validation, and paginated JSON output. It standardizes response structure, status codes, and messages so your APIs stay clean and predictable. | 8 | — | 1 | — | 2 | 0.8 | — | MIT | 3 years ago | |
| php-standard-library/json | 0.86 | A small PHP Standard Library package for JSON encoding and decoding with typed exceptions and sensible defaults, providing predictable error handling for safer serialization in Laravel and other PHP projects. | 1 | 1 | 0 | 96K | 0 | 21.4 | 64.8 | MIT | 1 week ago | |
| mrsuh/json-validation-bundle | 0.86 | A Symfony bundle for validating JSON documents against JSON Schema. Add schema-based validation to request payloads, forms, and APIs with a dedicated constraint and clear, actionable error messages. | 17 | 17 | 3 | 36 | 3 | 0.9 | 7.0 | MIT | 3 years ago | |
| dosfarma/exceptions | 0.86 | Lightweight Laravel/PHP exception utilities for standardizing, wrapping, and handling application errors. Helps you define consistent exception types and messages across your codebase, improving error clarity, debugging, and maintainability with minimal setup. | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| marcin-orlowski/laravel-api-response-builder | 0.86 | Build consistent, structured JSON API responses in Laravel. Standardize success and error payloads, map custom internal codes to HTTP statuses, and keep every endpoint returning the same predictable, documented format. | 853 | 856 | 84 | 19K | 1 | 21.0 | 21.1 | MIT | 3 months ago | |
| andrey-helldar/laravel-json-response | 0.86 | A Laravel package for building consistent JSON API responses with a fluent helper, standard success and error payloads, HTTP status codes, headers, and resource support, simplifying controller output and keeping API responses uniform. | 12 | — | 1 | — | 0 | 4.1 | — | MIT | 7 months ago | |
| mesolaries/smart-api-bundle | 0.86 | Smart API Bundle is a Laravel/PHP package for building cleaner, more consistent APIs with less boilerplate. It streamlines common API concerns such as structured responses, validation, and reusable endpoints, helping teams ship maintainable JSON APIs faster. | 3 | 2 | 0 | 0 | 0 | 0.3 | — | MIT | 4 years ago | |
| soft-passio/api-exception-bundle | 0.86 | A PHP bundle for standardized API exception handling, converting errors into consistent JSON responses with configurable status codes and payloads. Helps keep API error output predictable and easy to debug across services. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | 6 years ago | |
| michaelalexeevweb/openapi-php-dto-generator | 0.86 | Generate PHP DTO classes directly from OpenAPI specifications. This package parses your schema and produces typed, ready-to-use data transfer objects with constructor properties, type hints, and nested object support—reducing manual boilerplate and keeping code in sync with your API contract. | 5 | — | 0 | — | 0 | 20.3 | — | MIT | 1 day ago |
How can I help you explore Laravel packages today?