Libraries tagged by cast json
junaidkhan/php-string-helper
25 Downloads
A PHP helper library offering utilities like truncate, slugify, casing conversions, and more.
cluedit/maskman
27 Downloads
from CamelCase to snake_case, from snake_case to CamelCase
los/api-problem
18012 Downloads
PHP middleware that returns a json formatted response in case of error
plazzag/polario-sdk-php
162 Downloads
API for Polario __Naming:__ * json properties are formatted in camel case (fooBar) besides of enums (FooBar) * route params are formatted in hyphen case (foo-bar) * query params are formatted in snake case (foo_bar) * query params could hold lists of elements if they are comma separated * enum properties are formatted in capitalized camel case (FooBar) __Default values:__ * default values are specified for optional parameters do only apply to POST requests __Types:__ * numbers are considered to be float values * strings that are not specified to be html formatted should not be interpreted as html to avoid unexpected bahavior, like xss attacks * timestamps are considered to be in unix time __Headers:__ * ___Platform___: can be always set as header param to specify the platform of the request for the logging output
stocks_exchange/php-client
308 Downloads
STEX (former Stocks.Exchange) provides all the core exchange functionality, and additional merchant tools available via the HTTP API where all returned messages are in JSON. It's much easier to work with the API by using one of the clients provided by StocksExchange (now available only in PHP), so while this page describes the API in case you want or need to build your own client, the examples use the PHP client.
ordereazi/commerce-sdk
4 Downloads
Build a fully custom headless storefront - your own web app, mobile app, or POS - against a single OE Commerce store. Every endpoint below is namespaced under `/api/v1/store/...`. Building admin/back-office tooling instead? See [/docs/admin](/docs/admin). New here? [/guides/store](/guides/store) walks through getting a key, the anonymous cart session, and calling your first endpoints step by step - this page is the field-level reference to come back to afterward. ## Getting Started 1. Click the **Authorize** button at the top of this page. 2. Provide credentials: - **X-Commerce-Key** (always required) - your store's Store Access Key from Backoffice > Settings > Application APIs. `pk_store_...` (publishable) is safe for browser/mobile code; `sk_store_...` (secret) is server-to-server only and is rejected outright if a browser Origin header is present. - **Bearer** (only for endpoints acting on a specific customer - Account, Orders, Wishlists, etc.) - the token from **Auth > register** or **Auth > login**. Once authorized, you can explore and test all available endpoints directly from this interface. ## Anonymous Carts A guest cart is tracked by an `X-Session-Ref` header, not a cookie - the server generates one on your first request and echoes it back on every response after. Keep sending back whatever value you last received. Logging in carries that same cart forward onto the customer's account automatically, with no separate merge step. ## Errors Failures use RFC 9457 Problem Details (`application/problem+json`) with a stable `code` field for programmatic handling, e.g. `store_key_invalid`, `store_key_revoked`, `store_key_scope_denied`, `rate_limited`. A rejected *business* action (e.g. adding fewer than a product's minimum order quantity to the cart) instead comes back as HTTP 200 with `"success": false` and a human-readable `message` - always check `success` in the body, not just the HTTP status code. ## Rate Limits Requests are limited per Store Access Key (200/minute). The credential-stuffing surface (register/login/forgot-password/reset-password) is limited more tightly per caller IP (10 per 5 minutes). A 429 response includes a `Retry-After` header.
mage2kishan/module-llms-txt
61 Downloads
Panth LLMs.txt — AI Indexing Engine for Magento 2. Serves structured /llms.txt, /llms-full.txt and /llms.json with a dynamic multi-URL sitemap engine, weighted ranking, auto-generated summaries, product-type and use-case grouping, and cron-based cache warm-up. Built for ChatGPT, Claude, Perplexity, Gemini and future LLM crawlers.
zhieq/laravel-case-json-middleware
651 Downloads
zhieq group case json middleware
zbxin/laravel-case-json-middleware
25 Downloads
case json middleware
sonofliberty/php-electron-cash-slp-api
194 Downloads
PHP wrapper for Electron Cash SLP JSONRPC-API
tomiozo/phpunit-json-test-case-bundle
49 Downloads
Library simplifying testing of JSON requests in Symfony
thgiang/laravel-response-json-snake-case
36 Downloads
Convert response JSON key to snake-case
antonythorpe/silvershop-jsonresponse
53 Downloads
SilverShop submodule that provides JSON responses for cart updates
php_cat_com/laravel_jsonrpc
7 Downloads
модуль для laravel 8 чтобы работать с помощью JsonRPC 2.0
losthost/json-object
0 Downloads
Dynamic JSON object wrapper with snake_case field access and Telegram-style getters