spatie/workshop-unit-conversions
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/unit-conversions | 0.82 | 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. | 34 | 36 | 12 | 93 | 0 | 1.7 | 7.8 | MIT | 6 years ago | |
| spatie/weight-conversions | 0.81 | 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. | 4 | 4 | 2 | 0 | 0 | 1.0 | — | MIT | 4 years ago | |
| 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 | |
| cartalyst/converter | 0.80 | Cartalyst Converter is a PHP unit conversion library that makes it easy to convert values between measurement units (length, weight, volume, etc.). Includes extensible unit definitions, fluent API, and helpers to format results for applications and packages. | 88 | 91 | 29 | 18K | 1 | 7.0 | 32.3 | BSD-3-Clause | 1 year ago | |
| wyrihaximus/test-utilities | 0.79 | A set of PHP test utilities for package development: a PHPUnit TestCase with helpers like random namespaces and temp directories, plus ready-made configuration defaults for PHPStan and Rector (paths and docblock-to-attribute conversions). | 7 | 7 | 1 | 51K | 6 | 29.9 | 65.4 | MIT | 1 month ago | |
| moontoast/math | 0.79 | PHP math utilities for Laravel and general use, offering convenient helpers for precise calculations, percentages, rounding, and numeric formatting. Lightweight and easy to integrate into apps where consistent arithmetic and number handling matter. | 456 | 365 | 7 | 147K | 1 | 2.3 | 24.4 | Apache-2.0 | 6 years ago | |
| danharrin/date-format-converter | 0.79 | Convert date format strings between PHP, Moment.js, and other common tokens. Handy for keeping Laravel backends and JavaScript frontends in sync when parsing, formatting, or validating dates across different libraries and locales. | 32 | 32 | 2 | 2M | 0 | 0.8 | 55.3 | MIT | 1 year ago | |
| spatie/tax-calculator | 0.78 | Interfaces and helpers to simplify tax calculations in PHP. Use TaxCalculation with plain numbers or items implementing HasTax to compute base, tax, and total prices, and combine calculations (e.g., cart items + delivery) on the fly. | 80 | 82 | 12 | 435 | 0 | 1.1 | 11.1 | MIT | 4 years ago | |
| spatie/7to5 | 0.72 | Abandoned. Converts PHP 7.0 code to PHP 5, useful when developing on PHP 7 but deploying to PHP 5. Provides a CLI to convert entire directories and rewrites features like anonymous classes, type hints, return types, and null coalescing. | 177 | 175 | 33 | 305 | 0 | 2.6 | 4.2 | MIT | 8 years ago | |
| spatie/image-optimizer | 0.68 | Optimize PNG, JPG, WebP, AVIF, SVG and GIF images in PHP by running them through a chain of installed binaries (jpegoptim, optipng, pngquant, svgo, etc.). Automatically detects available tools and overwrites files with smaller optimized versions. | 2,867 | 2,903 | 223 | 3M | 0 | 39.6 | 44.4 | MIT | 6 months ago | |
| spatie/spatie-content-api | 0.67 | Laravel/PHP package powering Spatie’s promotional-site content API. Fetch posts for a product or project (e.g., mailcoach) via a simple ContentApi facade and expose consistent, reusable content to your frontend or other services. | 5 | 5 | 2 | 455 | 0 | 13.5 | 27.7 | MIT | 7 months ago | |
| spatie/better-types | 0.67 | 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. | 81 | 81 | 5 | 215K | 0 | 17.6 | 53.2 | MIT | 3 months ago |
How can I help you explore Laravel packages today?