spatie/laravel-or-abort
Adds an OrAbort trait to Laravel models to abort with a chosen HTTP status when common calls fail (e.g., findOrAbort($id, 500) instead of returning null/false). Note: this package is no longer maintained.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/laravel-data | 0.83 | Create rich, typed data objects for Laravel that replace form requests and API transformers. Automatically map from requests, validate with inferred rules, transform to resources (with lazy/partial fields), and generate TypeScript definitions from the same source. | 1,757 | 1,760 | 282 | 2M | 3 | 47.5 | 49.2 | MIT | 4 weeks ago | |
| crudly/testly | 0.82 | A simple test package placeholder for crudly/testly. Currently contains minimal scaffolding and documentation (“This is a test”) and may be used for experimentation or as a starting point for future CRUD-related tooling. | 0 | 0 | 0 | 0 | 0 | 0.3 | — | MIT | 6 years ago | |
| spatie/laravel-sql-commenter | 0.82 | Adds sqlcommenter-style comments to Laravel database queries, embedding context like controller and action. Makes it easy to trace slow or problematic SQL back to the exact code path, and works with tools like PlanetScale Query Insights. | 192 | 193 | 12 | 62K | 0 | 20.5 | 39.2 | MIT | 2 months ago | |
| aescarcha/business | 0.81 | Symfony bundle providing REST endpoints for managing businesses, with JSON responses and API docs support. Integrates FOSRestBundle, FOSUserBundle, JMS Serializer, NelmioApiDoc, Doctrine extensions, and distance-based business querying. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | — | — | |
| czogori/dami | 0.81 | czogori/dami is a small Laravel/PHP package that provides basic DAMI-related functionality and helpers. Lightweight and easy to drop into an existing app, it aims to streamline common tasks without heavy configuration or dependencies. | 1 | 1 | 0 | 0 | 0 | 0.0 | — | MIT | — | |
| spatie/laravel-log-dumper | 0.81 | Adds an ld() helper to dump any values to your Laravel application log using Symfony VarDumper formatting. Log multiple arguments, choose or chain log levels (info/debug/error/etc.), and enable/disable logging when needed. | 121 | 121 | 10 | 19K | 0 | 19.8 | 34.0 | MIT | 3 months ago | |
| ajaykumaraipl/package | 0.80 | Laravel/PHP package by ajaykumaraipl. Provides reusable components/helpers intended to simplify common application tasks and speed up development. Install via Composer and integrate into your Laravel project as needed. | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| spatie/laravel-authorize | 0.80 | Route middleware for Laravel authorization. Protect routes and groups using Laravel’s Gate abilities via the can: middleware syntax, with support for route model binding (e.g., can:editPost,post) to authorize access to specific models. | 202 | 206 | 19 | 197 | 0 | 3.4 | 4.1 | MIT | 9 years ago | |
| vgrem/php-spo | 0.80 | REST/OData client library for Microsoft 365 in PHP. Access SharePoint Online/On-Prem (2013-2019), OneDrive for Business, Teams, and Outlook APIs with supported auth flows (client credentials, certificates, etc.). Install via Composer. | 375 | 377 | 119 | 41K | 115 | 38.3 | 53.2 | MIT | 9 months ago | |
| anahkiasen/underscore-php | 0.80 | Underscore.php brings functional helpers to PHP inspired by Underscore.js. Chainable, collection and array utilities like map, filter, reduce, groupBy, sortBy, pluck, and more. Handy for concise data manipulation in any PHP project, including Laravel. | 1,110 | 1,108 | 89 | 31K | 29 | 8.8 | 22.3 | — | — | |
| php-standard-library/foundation | 0.80 | A lightweight PHP foundation library offering common building blocks and utilities to bootstrap projects. Provides reusable helpers and core abstractions to reduce boilerplate and standardize patterns across apps and packages. | 1 | 1 | 0 | 33K | 0 | 21.2 | 64.8 | MIT | 1 week ago | |
| spatie/array-functions | 0.79 | Handy PHP array utilities from Spatie. Adds small, focused functions in the Spatie namespace (e.g., array_rand_value to pick a random value) to complement built-in array helpers. Install via Composer and use directly in your code. | 245 | 248 | 40 | 2K | 0 | 6.6 | 12.3 | MIT | 1 year ago | |
| aferrandini/disable-bundle | 0.79 | Symfony bundle that adds annotations to disable controllers/actions immediately or within a time window (after/until/range). When disabled, it can show a custom message or redirect the request to another route. | 4 | 4 | 0 | 0 | 0 | 0.3 | — | — | 12 years ago | |
| phplang/scope-exit | 0.79 | Tiny PHP helper that emulates “defer”/scope-exit behavior: register callbacks to run automatically when a block/function ends, ensuring reliable cleanup (close files, unlock mutexes, rollback temp state) even if exceptions occur. | 19 | 19 | 3 | 293K | 0 | 0.3 | 55.3 | NOASSERTION | — | |
| christhompsontldr/laraman | 0.78 | Laraman is a Laravel package that generates and serves simple man-style documentation for your app, helping you expose commands, routes, or internal tooling in a familiar CLI-friendly format for quick lookup by developers. | 7 | 7 | 2 | 0 | 0 | 6.7 | — | — | 5 years ago | |
| spatie/activitylog | 0.78 | Laravel 5 user activity logging package by Spatie: records actions to a database table and optionally to Laravel’s log handler, with migration and facade support. Abandoned since 2016-06-28; use spatie/laravel-activitylog instead. | 582 | 596 | 74 | 155 | 0 | 5.0 | 1.0 | MIT | 9 years ago | |
| spatie/laravel-translation-loader | 0.78 | Store Laravel/Lumen translation strings in the database while keeping the familiar __() helper. Mix file and DB translations; DB values override files. Extendable to other translation sources via custom providers. | 842 | 845 | 92 | 108K | 0 | 30.6 | 32.8 | MIT | 3 months ago | |
| tightenco/collect | 0.78 | A standalone port of Laravel’s Illuminate\Support\Collection for non-Laravel projects. Get expressive, chainable, higher-order methods like map, filter, reduce, pluck, groupBy, and more with minimal dependencies—ideal for any PHP app. | 1,495 | 1,541 | 111 | 122K | 3 | 10.4 | 19.4 | — | 3 years ago | |
| spatie/or-else | 0.78 | Adds an OrElse trait that auto-creates “*OrElse” method variants for your class methods. These variants accept a fallback value that’s returned whenever the original method returns null or false, helping you avoid repetitive default-handling code. | 32 | 34 | 4 | 4 | 0 | 0.9 | 0.7 | MIT | 10 years ago | |
| spatie/laravel-event-sourcing | 0.77 | Event sourcing toolkit for Laravel: build aggregates, projectors, and reactors to store state changes as events. Ideal for audit trails, decisions based on history, and future reporting needs. Includes docs, examples, and an optional course. | 909 | 911 | 176 | 220K | 0 | 33.2 | 37.1 | MIT | 3 months ago |
How can I help you explore Laravel packages today?