Libraries tagged by example code
codes50/slim-framework-4-jwt-auth-example
87 Downloads
Slim Framework v4 JWT Auth Example
hanneskod/exemplify
137 Downloads
Validate code examples in readme files
apiverve/callingcode
5 Downloads
Country Calling Code is a phone number country code API that looks up international dialing codes and official names from a two-letter ISO country code. It returns an array of calling prefixes, standard country identifiers and, on request, the country's exit and trunk prefixes, other regions sharing its code, valid number lengths and example numbers by line type.
snorky22/symfony-api-forge
4 Downloads
Generate Symfony services for REST APIs and webhooks from the API's documentation: curl and JSON examples become editable descriptors, from which typed HTTP clients and signed webhook consumers are regenerated. With generated doctors, local webhook testing and a local web interface that guides the whole workflow.
pem-fr/phpwtf
0 Downloads
This tool allows for silent human code reviews on -any language- source file, with reports usable in jenkins for example.
codesandtricks/xlsx
1 Downloads
A simple example for the xlsx library
hichemtab-tech/laravel-project-assist
61 Downloads
Laravel-ProjectAssist is a comprehensive toolkit for Laravel developers. It includes custom console commands, service providers, and utility classes that enhance productivity and simplify common tasks in Laravel project development. With thorough documentation and examples, this toolkit streamlines setup, reduces boilerplate code, and improves overall efficiency.
postboost/php-sdk
56 Downloads
The PostBoost REST API lets you publish, schedule, and analyze social media posts on every supported network from a single integration. No OAuth apps to maintain — PostBoost handles platform authorization for you. ## Base URL All workspace-scoped endpoints are prefixed with `/{workspaceUuid}`. Panel/admin endpoints are prefixed with `/panel`. ## Plan access Every workspace-scoped endpoint returns `403` when the workspace's plan does not include API access (capability `api`). ## Dates and times Post dates and times (`date`, `time`, `accounts_schedule`) are read in the request's `timezone` when one is given, otherwise in the workspace timezone. ## Idempotent requests Send an `Idempotency-Key` header (any unique string, for example a UUID) with a `POST`. Repeating the request with the same key within 24 hours returns the stored response with `Idempotent-Replayed: true` and creates nothing new. Reusing a key with a different body returns `422`; a request still in progress with the same key returns `409`. `5xx` and `429` responses are not stored, so they can be retried with the same key. ## Guardrails for automated clients Create and update requests are checked before anything is written: a post whose content matches one created for the same account in the last 24 hours returns `409` (`code: duplicate_post`, override with `allow_duplicate: true`), scheduling past an account's daily cap returns `429` (`code: account_daily_cap_reached`), and scheduling to an account that must be reconnected returns `422` (`code: account_unauthorized` or `account_token_missing`). Use `POST /{workspaceUuid}/posts/validate` for a dry run and `GET /{workspaceUuid}/activity` to review what API clients did. ## Authentication All requests require a Bearer token in the `Authorization` header. Generate tokens in your PostBoost dashboard under **Settings → Access Tokens**. ``` Authorization: Bearer YOUR_API_TOKEN ```
aramonc/docblock-parser
27 Downloads
Parses strings for docBlock like portions and then extracts the annotations, descriptions, and optional document content. This should not be used as an annotation parser for PHP code, at least not on it's own. If you're looking to do something with the docBlocks you might want to use something like https://github.com/schmittjoh/metadata better. This is more for if you're trying to get metadata from a plain text file. Look through the tests for examples.
majisti/boilerplate
14 Downloads
A full stack boilerplate, including Symfony, Behat, Codeception, React & Redux with Webpack all under docker. It also even comes with examples!
tienvx/mbt-examples-bundle
131 Downloads
Contains examples how to use MBT Bundle
tapestry-cloud/code-example-plugin
51 Downloads
Code Example Plugin for Tapestry
shortlist-digital/agreable-code-widget-plugin
21 Downloads
Add a code example to your content body in agreable-compatible wordpress sites
phico/app-example
0 Downloads
An app layout for Phico with optional packages and code examples
apphp/ai-with-php-examples
0 Downloads
Code examples provided for the book Artificial Intelligence with PHP.