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

Weight Conversions Laravel Package

spatie/weight-conversions

Lightweight PHP package for converting between common weight units (e.g., grams, kilograms, pounds, ounces). Handy for apps needing consistent unit handling in calculations, forms, and APIs, with a simple, dependency-free API.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
spatie/test-time 0.88 Control time in tests with Spatie TestTime—freeze or advance Carbon-based timestamps dynamically for time-sensitive assertions. Simplify testing date-dependent logic by manually adjusting time without altering real-world clocks. Works seamlessly with Carbon’s methods like addYear(), subDay(), or cus... 208 208 9 246K 0 5.2 42.4 MIT 2 years ago
View on GitHub
spatie/unit-conversions 0.87 Lightweight PHP unit conversion library by Spatie. Currently supports weight conversion from kilograms to pounds via a fluent API: Weight::fromKilograms(100)->toLbs(). Install with Composer and extend as more units are added. 33 35 12 49 0 1.7 5.4 MIT 6 years ago
View on GitHub
spatie/query-string 0.87 Manipulate URLs by building and updating query strings in PHP. Toggle parameters or values, add JSON:API-style filters and sorts, and manage pagination. Useful for generating links and keeping state in apps without manual query parsing. 161 162 9 19K 0 2.0 28.8 MIT 5 years ago
View on GitHub
spatie/once 0.87 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,450 62 328K 0 33.8 38.0 MIT 2 weeks ago
View on GitHub
spatie/visit 0.87 Human-friendly curl for the terminal. Visit any URL and display its response with colorized output (HTML via bat, JSON via jq), plus status code and response time. Supports custom HTTP methods and options like following redirects. 390 390 14 2 0 7.5 0.0 — 1 year ago
View on GitHub
spatie/better-types 0.87 Reflection-powered type checking for PHP: verify whether a ReflectionType or method signature accepts given arguments (including unions/nullables and named params). Useful for dispatching/overload-like method selection and safer dynamic calls. 82 82 5 278K 0 9.2 51.2 MIT 8 months ago
View on GitHub
spatie/html-element 0.87 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 195 23 1K 0 3.5 12.0 MIT 4 years ago
View on GitHub
jordanbrauer/unit-converter 0.87 A PHP library for converting between units of measurement—length, mass, volume, temperature, speed, area and more—with a clean fluent API, automatic unit resolution, and support for registering custom units. Framework-agnostic with no dependencies. 0 128 — 5K — 0.0 50.5 — —
View on GitHub
spatie/sheets 0.87 Spatie Sheets lets Laravel apps store and retrieve static content from plain text files. Markdown and front matter work out of the box, with flexible parsing, multiple content collections, indexing, and Eloquent-like casting—ideal for docs sites and blogs. 306 307 23 12K 0 17.1 23.2 MIT 8 months ago
View on GitHub
spatie/crypto 0.87 Generate RSA key pairs and encrypt/decrypt (and sign/verify) data using private/public keys in PHP. Provides simple wrappers around OpenSSL for better DX, with support for loading keys from files and writing generated keys to disk. 485 487 60 33K 0 11.4 26.2 MIT 9 months ago
View on GitHub
spatie/mixed-content-scanner 0.87 Scan a website for mixed content by crawling pages and flagging insecure http:// resources in common HTML tags (img, script, iframe, link, etc.). Use MixedContentScanner with a logger to report where mixed content is found or missing. 105 106 18 58 0 10.2 2.6 MIT 3 years ago
View on GitHub
spatie/fork 0.87 Run PHP code concurrently with spatie/fork, which forks the main process into child tasks. Pass multiple closures to run at the same time, then collect results in order. Requires PHP 8 and the pcntl extension, and works in CLI only, not web contexts. 1,050 1,052 120 310K 0 34.8 40.1 MIT 1 day ago
View on GitHub
spatie/color 0.87 PHP library for color parsing, conversion, and comparison. Supports CSS named colors plus RGB/RGBA/ARGB, Hex, HSL/HSLA, HSB, CMYK, CIELab, and XYZ. Includes WCAG contrast ratio and Delta E distances (CIE76, CIE94, CIEDE2000). 386 390 41 1M 0 16.1 50.6 MIT 8 months ago
View on GitHub
Context7
spatie/workshop-unit-conversions 0.86 Lightweight PHP package for performing unit conversions in Laravel or any PHP app. Install via Composer and convert values between supported units with a simple API. Includes tests, changelog, and MIT license. 2 2 1 17 0 0.6 11.4 MIT 5 years ago
View on GitHub
spatie/url 0.85 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. 738 751 59 679K 0 12.4 40.9 MIT 2 years ago
View on GitHub
Context7
spatie/image 0.85 spatie/image provides an expressive, chainable PHP API for common image manipulation. Resize to fit a bounding box without altering aspect ratio, apply greyscale, adjust brightness and quality, rotate, sharpen, and save or overwrite images in just a few lines. Ideal for Laravel and PHP apps. 1,367 1,389 143 4M 0 40.9 56.6 MIT 3 days ago
View on GitHub
Context7
spatie/macroable 0.85 Add methods to any class at runtime with Spatie’s Macroable trait. Register macros with closures or callables and call them like native methods; macros are bound to the class instance for access to $this. Inspired by Laravel’s Macroable implementation. 731 740 24 3M 0 10.5 50.9 MIT 9 months ago
View on GitHub
spatie/statamic-responsive-images 0.85 Spatie's Responsive Images addon for Statamic CMS generates responsive image versions automatically, with a fieldtype for art direction and Glide presets driven by configurable breakpoints. 114 115 34 8K 0 20.6 27.5 MIT 6 months ago
View on GitHub
spatie/data-transfer-object 0.84 PHP 8+ data transfer objects with “batteries included”: map and cast input arrays into typed DTOs, validate via attributes, and handle nested objects/collections. Note: package is deprecated; consider spatie/laravel-data or cuyz/valinor. 2,221 2,236 187 620K 0 12.9 23.9 MIT 4 years ago
View on GitHub
spatie/laravel-data 0.84 Spatie Laravel Data lets you define rich data objects once and reuse them as form requests, API transformers, and TypeScript definitions. It supports automatic validation, resource transformation, lazy properties, and constructing objects from request data. 1,801 1,815 293 4M 6 51.4 63.7 MIT 1 week ago
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.
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc