Libraries tagged by coercion
php-standard-library/type
64005 Downloads
Runtime type validation implementing Parse, Don't Validate - coerce and assert unstructured input into well-typed data
decodelabs/coercion
42560 Downloads
Simple tools for managing PHP types
gosuperscript/axiom
15495 Downloads
A PHP library for data transformation, type validation, and expression evaluation.
squirrelphp/types
1206 Downloads
Explicit handling of type coercions and enforcement in PHP in order to deal with unknown data in a more predictable and safe way.
joby/smol-cast
459 Downloads
Predictable type coercion from mixed inputs with explicit error handling.
jascree/try-cast
10 Downloads
Safe type coercion for PHP – returns null on failure, no exceptions, no dependencies.
bensedev/type-guard
110 Downloads
Type-safe value validation and coercion for PHP with PHPStan support
squirrelphp/scalar-types
6 Downloads
Make the coercive mode and strict mode behavior of PHP accessible explicitly via functions.
gosuperscript/schema
1549 Downloads
A PHP library for data transformation, type validation, and expression evaluation.
gladehq/php-coerce
0 Downloads
Safe, predictable type coercion for PHP. If it can't convert meaningfully, return null — never guess.
nalabdou/algebra-csv
1 Downloads
CSV adapter for algebra-php — file paths, SplFileInfo, raw strings, resource handles. Auto-detect delimiter, encoding conversion, type coercion.
eciboadaptech/finapi-webform
362 Downloads
The following pages give you some general information on how to use our APIs.The actual API services documentation then follows further below. You can use the menu to jump between API sections.This page has a built-in HTTP(S) client, so you can test the services directly from within this page, by filling in the request parameters and/or body in the respective services, and then hitting the TRY button. Note that you need to be authorized to make a successful API call. To authorize, refer to the 'Authorization' section of Access, or in case you already have a valid user token, just use the QUICK AUTH on the left.Please also remember that all user management functions should be looked up in Access.You should also check out the Web Form 2.0 Public Documentation as well as Access Public Documentation for more information. If you need any help with the API, contact [email protected] informationRequest IDsWith any API call, you can pass a request ID via a header with name "X-Request-Id". The request ID can be an arbitrary string with up to 255 characters. Passing a longer string will result in an error.If you don't pass a request ID for a call, finAPI will generate a random ID internally.The request ID is always returned back in the response of a service, as a header with name "X-Request-Id".We highly recommend to always pass a (preferably unique) request ID, and include it into your client application logs whenever you make a request or receive a response(especially in the case of an error response). finAPI is also logging request IDs on its end. Having a request ID can help the finAPI support team to work more efficiently and solve tickets faster.Type CoercionIn order to ease the integration for some languages, which do not natively support high precision number representations, Web Form 2.0 API supports relax type binding for the openAPI type number, which is used for money amount fields. If you use one of those languages, to avoid precision errors that can appear from float values, you can pass the amount as a string.FAQIs there a finAPI SDK?Currently we do not offer a native SDK, but there is the option to generate an SDKfor almost any target language via OpenAPI. Use the 'Download SDK' button on this page for SDK generation.Why do I need to keep authorizing when calling services on this page?This page is a "one-page-app". Reloading the page resets the OAuth authorization context. There is generally no need to reload the page, so just don't do it and your authorization will persist.
madison-solutions/coerce
5706 Downloads
Functions for coercing values to various data types
geraintluff/jsv4
461701 Downloads
A (coercive) JSON Schema v4 Validator for PHP
coercive/csv
2071 Downloads
Coercive Utility Csv