Libraries tagged by coercions

php-standard-library/type

1 Favers
90050 Downloads

Runtime type validation implementing Parse, Don't Validate - coerce and assert unstructured input into well-typed data

Go to Download


gosuperscript/axiom

0 Favers
20513 Downloads

A PHP library for data transformation, type validation, and expression evaluation.

Go to Download


waaseyaa/typed-data

0 Favers
8536 Downloads

Field-definition contract (DataDefinitionInterface) and entity-cast coercion for Waaseyaa

Go to Download


decodelabs/coercion

0 Favers
42623 Downloads

Simple tools for managing PHP types

Go to Download


squirrelphp/types

1 Favers
1215 Downloads

Explicit handling of type coercions and enforcement in PHP in order to deal with unknown data in a more predictable and safe way.

Go to Download


joby/smol-cast

0 Favers
504 Downloads

Predictable type coercion from mixed inputs with explicit error handling.

Go to Download


bensedev/type-guard

0 Favers
113 Downloads

Type-safe value validation and coercion for PHP with PHPStan support

Go to Download


squirrelphp/scalar-types

0 Favers
6 Downloads

Make the coercive mode and strict mode behavior of PHP accessible explicitly via functions.

Go to Download


gosuperscript/schema

0 Favers
1549 Downloads

A PHP library for data transformation, type validation, and expression evaluation.

Go to Download


gladehq/php-coerce

0 Favers
0 Downloads

Safe, predictable type coercion for PHP. If it can't convert meaningfully, return null — never guess.

Go to Download


nalabdou/algebra-csv

1 Favers
1 Downloads

CSV adapter for algebra-php — file paths, SplFileInfo, raw strings, resource handles. Auto-detect delimiter, encoding conversion, type coercion.

Go to Download


jascree/try-cast

0 Favers
10 Downloads

Safe type coercion for PHP – returns null on failure, no exceptions, no dependencies.

Go to Download


initphp/dotenv

1 Favers
130 Downloads

Loads environment variables from a .env or .env.php file, with type coercion and ${VAR} interpolation.

Go to Download


eciboadaptech/finapi-webform

0 Favers
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.

Go to Download


madison-solutions/coerce

0 Favers
6092 Downloads

Functions for coercing values to various data types

Go to Download


Next >>