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

Or Else Laravel Package

spatie/or-else

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
spatie/once 0.83 A tiny PHP helper to run code only once per request. Cache expensive computations or object initialization in a single spot, keyed automatically by the call site. Great for computed properties, accessors, and avoiding duplicate work. 1,443 1,447 62 246K 0 21.2 32.6 MIT 8 months ago
View on GitHub
Deep Wiki
Context7
spatie/url 0.83 Immutable URL parser/builder for PHP. Parse scheme, host, path and query, then fluently transform parts (withHost, withPath, withScheme) and manage query parameters. Supports allowed/sanitized schemes for safer URL handling. 741 754 60 458K 0 12.4 38.6 MIT 2 years ago
View on GitHub
Deep Wiki
Context7
spatie/string 0.83 Fluent string handling for PHP. Wrap strings with string() to get a chainable object with helpers like between(), case conversion, concatenation, and array-offset access for reading/updating characters. Lightweight utility by Spatie, installable via Composer. 559 571 26 16K 0 24.6 22.8 MIT 3 months ago
View on GitHub
Context7
spatie/html-element 0.82 Generate dynamic HTML in PHP with a hyperscript-style API plus Emmet-like selectors. Build elements and attributes with a simple render helper (often wrapped as el()) to produce nested markup cleanly and programmatically, ideal for small view components. 192 194 23 1K 0 3.5 12.2 MIT 4 years ago
View on GitHub
Context7
spatie/sun 0.81 Compute sun position times for any coordinates: get sunrise, solar noon (zenith), and sunset as Carbon instances, optionally for a specific date. Simple PHP API from Spatie, ideal for scheduling, dashboards, and daylight-aware features. 75 77 14 5K 0 11.1 26.4 MIT 8 months ago
View on GitHub
Context7
spatie/schema-org 0.80 Fluent PHP builder for the full Schema.org vocabulary. Create Schema.org types and properties via chainable methods and output valid JSON-LD/ld+json scripts for SEO. Auto-generated from Schema.org standards for complete coverage. 1,508 1,526 145 337K 0 38.3 37.2 MIT 2 months ago
View on GitHub
Deep Wiki
Context7
jenssegers/model 0.79 395 396 58 41K 17 14.2 34.4 1 year ago
View on GitHub
Context7
imanghafoori/laravel-nullable 0.79 151 151 10 18K 2 3.1 28.9 MIT 1 year ago
View on GitHub
Context7
crudly/testly 0.78 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
View on GitHub
Context7
symplify/amnesia 0.78 Provides PHP constant wrappers for Symfony configuration keys to replace typo-prone strings in PHP config files. Covers common extensions like Framework, Twig, Doctrine and Routing, making config safer, more discoverable, and easier to refactor. 15 17 0 30 0 0.0 4.5 MIT
View on GitHub
Context7
spatie/laravel-or-abort 0.78 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. 53 54 2 9 0 0.8 0.7 MIT 11 years ago
View on GitHub
Context7
spatie/array-functions 0.78 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 39 1K 0 6.6 11.6 MIT 1 year ago
View on GitHub
Context7
camspiers/json-pretty 0.77 Pretty-print JSON in PHP 5.3. camspiers/json-pretty provides a simple JsonPretty class with a prettify() method to format arrays/JSON into readable, indented output. Install via Composer and use in a few lines. 22 23 8 4K 1 0.7 23.1 MIT 10 years ago
View on GitHub
Context7
doctrine/doctrine1 0.77 Legacy Doctrine 1 ORM for PHP, providing ActiveRecord and Data Mapper features with a SQL abstraction layer, migrations, schema tools, and powerful query building. Useful for maintaining older Doctrine 1 applications or studying the classic ORM API. 132 139 219 112 0 3.6 2.6 LGPL-2.1
View on GitHub
Context7
alterphp/developer-bundle 0.77 0 0 0 0 0 0.0
View on GitHub
Context7
axstrad/use-case-test-bundle 0.77 0 0 0 0 0 0.0 MIT
View on GitHub
Context7
byscripts/manager-bundle 0.77 0 0 0 0 0 1.8 12 years ago
View on GitHub
Context7
appsco/component-firi 0.77 0 0 2 0 0 0.7 7 years ago
View on GitHub
Context7
alexeyshockov/colada-x 0.77 colada-x is a tiny Laravel/PHP helper package by alexeyshockov. Lightweight and experimental, it offers small utilities you can drop into a project quickly. Best for tinkerers who don’t mind minimal docs, few stars, and a still-maturing API. 1 1 1 0 0 0.0
View on GitHub
Context7
lastdragon-ru/lara-asp-eloquent 0.77 1 1 0 5K 0 0.0 46.0 MIT
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