Libraries tagged by return
thecodingmachine/safe
77699509 Downloads
PHP core functions that throw exceptions instead of returning FALSE on error
p3k/emoji-detector
1521487 Downloads
Detect and return all emoji found in a string
psr-discovery/log-implementations
5783850 Downloads
Lightweight library that discovers available PSR-3 Log implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
psr-discovery/http-factory-implementations
5941189 Downloads
Lightweight library that discovers available PSR-17 HTTP Factory implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
psr-discovery/http-client-implementations
5934606 Downloads
Lightweight library that discovers available PSR-18 HTTP Client implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
psr-discovery/event-dispatcher-implementations
5786423 Downloads
Lightweight library that discovers available PSR-14 Event Dispatcher implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
psr-discovery/discovery
5956027 Downloads
Lightweight library that discovers available PSR implementations by searching for a list of well-known classes that implement the relevant interfaces, and returning an instance of the first one that is found.
psr-discovery/container-implementations
5785842 Downloads
Lightweight library that discovers available PSR-11 Container implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
psr-discovery/cache-implementations
5788473 Downloads
Lightweight library that discovers available PSR-6 Cache implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
psr-discovery/all
5781788 Downloads
Lightweight library that discovers available PSR implementations by searching for a list of well-known classes that implement the relevant interface, and returns an instance of the first one that is found.
nette/safe
916791 Downloads
🛡 PHP functions rewritten to throw exceptions instead of returning false or triggering errors.
juststeveking/http-status-code
248069 Downloads
A simple class to return correct status codes for http responses
jenssegers/proxy
471456 Downloads
Proxy library that forwards requests to the desired url and returns the response.
bnf/phpstan-psr-container
2841424 Downloads
PHPStan dynamic return type extension for PSR-11 ContainerInterface
yanlongli/app-store-server-api
17914 Downloads
PHP client for App Store Server API. Manage your customers’ App Store transactions from your server.The App Store Server API is a REST API that you call from your server to request and provide information about your customers' in-app purchases. The App Store signs the transaction and subscription renewal information that this API returns using the JSON Web Signature (JWS) specification.App Store Server API is independent of the app’s installation status on the customer’s devices. The App Store server returns information based on the customer’s in-app purchase history regardless of whether the customer installed, removed, or reinstalled the app on their devices.To request transaction and subscription status information with this API, provide any original transaction identifier that belongs to the customer. The transaction history API responds with a complete list of transactions, 20 at a time, starting with the oldest first. The subscription status API returns the status for all of the customer’s subscriptions, organized by their subscription group identifier.Use the Send Consumption Information endpoint to send information to the App Store when customers request a refund for a consumable in-app purchase, after you receive the CONSUMPTION_REQUEST App Store server notification. Your data helps inform refund decisions.