Download the PHP package karlomikus/recipe-utils without Composer
On this page you can find all versions of the php package karlomikus/recipe-utils. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download karlomikus/recipe-utils
More information about karlomikus/recipe-utils
Files in karlomikus/recipe-utils
Download karlomikus/recipe-utils
More information about karlomikus/recipe-utils
Files in karlomikus/recipe-utils
Vendor karlomikus
Package recipe-utils
Short Description Utilities for extracting normalized ingredient data from recipes
License MIT
Package recipe-utils
Short Description Utilities for extracting normalized ingredient data from recipes
License MIT
Please rate this library. Is it a good library?
Informations about the package recipe-utils
Recipe Utilities
Utilities for extracting ingredient data from (mostly cocktail) recipes into structured objects.
Install
Install via composer
Parser usage
All parse methods return object of type Kami\RecipeUtils\RecipeIngredient
.
Supported formats:
- Variable amounts and fractional amounts: "1 - 2", "0.5 to 1", "½ or 2 1/5"
- Comments are anything after comma or anything in brackets: "12 ml ingredient, preferebly something specific"
- Basic units mostly used in cocktails: ml, cl, oz, sprigs, dashes, etc...
Unit converter usage
Simple unit conversion implemented with enums. Not made for accuracy. Handles mostly cocktail recipe units (ml, oz, cl, dash...). Can handle fractional display amounts (¾, 1 1/2..).
All versions of recipe-utils with dependencies
PHP Build Version
Package Version
Requires
php Version
^8.2
The package karlomikus/recipe-utils contains the following files
Loading the files please wait ....