Libraries tagged by code examples
r3m_io/example
81 Downloads
r3m_io/example see https://r3m.io for detailed usage
wangxingfa/phpmodedesign
1 Downloads
PHP mode design examples
francescogregori/friendly_url_only
17 Downloads
Displays page 404 for all nodes that do not have a path set with pathauto. Example: 'node / 1' return 404 page
focuslabllc/craft-cheat-sheet
20930 Downloads
A fast and customized set of instantly usable Field code samples.
paypaplane/svix-client
10826 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.
ckfinder/ckfinder-docs-samples-php
2393 Downloads
CKFinder v3 PHP connector documentation code samples
detain/interserver-api-samples
86 Downloads
sample code for the InterServer API in various languages including php, perl, python, ruby, etc.
kunstmaan/skylab
27 Downloads
Skylab is a 100% backwards compatible PHP port of the Python based hosting scripts used at Kunstmaan. By using the Cilex, Symfony Components and lot's of good code samples from the Composer project we hope to create an application where everyone in our organisation can work with, and if issues or new needed features should arise, be able to work on.
ezsystems/cookbook-bundle
92 Downloads
eZ Platform Bundle with ready to use code samples
avangate/avangate-php-jsonrpc-code-samples
10 Downloads
JSON-RPC Code Samples for API v3.0
php-code-samples/package-skeleton
32 Downloads
The sample for creating a PHP package
yireo-training/magento2-di-basics
75 Downloads
Some code samples to illustrate DI basics in Magento 2
aaronhipple/sampler
12 Downloads
Test inline code samples from your docblocks using PHPUnit