Libraries tagged by Api Responses
artyuum/symfony-jsend-response
35000 Downloads
JSendResponse component for HttpFoundation based applications (Symfony, Silex, Laravel, Drupal, etc.). It follows the JSend specification, allowing you to give consistent JSON responses to your users.
vlucas/hyperspan
10289 Downloads
Build a Hypermedia API response once and return it in multiple formats
prodemmi/laravel-apiful
592 Downloads
Laravel Apiful is a full customisable package for api responses.
tzsk/crypton
6612 Downloads
Laravel API Request Response Encryption
shootproof/php-sdk
37528 Downloads
The API comes free of charge with your ShootProof account and currently is only available in the form of JSON responses. Read up on the API documentation to discover the different methods that are available.
sfelix-martins/json-exception-handler
63409 Downloads
Adds more power to Laravel Exceptions Handler to treat json responses
paypaplane/svix-client
14376 Downloads
Welcome to the Svix API documentation! Useful links: [Homepage](https://www.svix.com) | [Support email](mailto:[email protected]) | [Blog](https://www.svix.com/blog/) | [Slack Community](https://www.svix.com/slack/) # Introduction This is the reference documentation and schemas for the [Svix webhook service](https://www.svix.com) API. For tutorials and other documentation please refer to [the documentation](https://docs.svix.com). ## Main concepts In Svix you have four important entities you will be interacting with: - `messages`: these are the webhooks being sent. They can have contents and a few other properties. - `application`: this is where `messages` are sent to. Usually you want to create one application for each user on your platform. - `endpoint`: endpoints are the URLs messages will be sent to. Each application can have multiple `endpoints` and each message sent to that application will be sent to all of them (unless they are not subscribed to the sent event type). - `event-type`: event types are identifiers denoting the type of the message being sent. Event types are primarily used to decide which events are sent to which endpoint. ## Authentication Get your authentication token (`AUTH_TOKEN`) from the [Svix dashboard](https://dashboard.svix.com) and use it as part of the `Authorization` header as such: `Authorization: Bearer ${AUTH_TOKEN}`. For more information on authentication, please refer to the [authentication token docs](https://docs.svix.com/api-keys). ## Code samples The code samples assume you already have the respective libraries installed and you know how to use them. For the latest information on how to do that, please refer to [the documentation](https://docs.svix.com/). ## Idempotency Svix supports [idempotency](https://en.wikipedia.org/wiki/Idempotence) for safely retrying requests without accidentally performing the same operation twice. This is useful when an API call is disrupted in transit and you do not receive a response. To perform an idempotent request, pass the idempotency key in the `Idempotency-Key` header to the request. The idempotency key should be a unique value generated by the client. You can create the key in however way you like, though we suggest using UUID v4, or any other string with enough entropy to avoid collisions. Svix's idempotency works by saving the resulting status code and body of the first request made for any given idempotency key for any successful request. Subsequent requests with the same key return the same result. Please note that idempotency is only supported for `POST` requests. ## Cross-Origin Resource Sharing This API features Cross-Origin Resource Sharing (CORS) implemented in compliance with [W3C spec](https://www.w3.org/TR/cors/). And that allows cross-domain communication from the browser. All responses have a wildcard same-origin which makes them completely public and accessible to everyone, including any code on any site.
ensi/openapi-httpfoundation-testing
32269 Downloads
Validate HttpFoundation requests and responses against OpenAPI (3+) definitions
elementaryframework/water-pipe
3453 Downloads
URL routing framework and requests/responses handler for PHP
brokeyourbike/data-transfer-object
2880 Downloads
Return original response alongside with the DataTransferObject
assistant-engine/php-openai-client
524 Downloads
Experimental PHP client for OpenAI’s new Responses API
stadgent/services-opening-hours
39144 Downloads
Package to access the Opening Hours API and wrap the responses in value objects.
lucinda/mvc
23024 Downloads
Ultra high-performance API for handling requests into responses via MVC pattern in PHP applications
sourceability/openai-client
8102 Downloads
PHP 8.0+ OpenAI API client with fully typed/documented requests+responses models, guzzle and symfony/http-client support and async/parallel requests.
ymigval/laravel-sl-response
248 Downloads
A Laravel package for streamlined API response formatting and management, ensuring consistency and adherence to API standards. Simplify error handling and customize response formats with ease.