Download the PHP package bajzany/api-client without Composer
On this page you can find all versions of the php package bajzany/api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download bajzany/api-client
More information about bajzany/api-client
Files in bajzany/api-client
Download bajzany/api-client
More information about bajzany/api-client
Files in bajzany/api-client
Vendor bajzany
Package api-client
Short Description Api client for Nette Framework
License
Homepage https://github.com/bajzany/api-client
Package api-client
Short Description Api client for Nette Framework
License
Homepage https://github.com/bajzany/api-client
Keywords apiclient
Please rate this library. Is it a good library?
Informations about the package api-client
API client
Instalation
-
Composer instalation `
- Register into Nette Application
`
- verify = enable validate certificate
- connect_timeout = Float describing the number of seconds to wait while trying to connect to a server. Use 0 to wait indefinitely (the default behavior).
- timeout = Timeout if a server does not return a response
- read_timeout = The timeout applies to individual read operations on a streamed body (when the stream option is enabled).
How to use
-
first create api request action class witch extended
Bajzany\ApiClient\Model\EndPoint
likeBajzany\ApiClient\Example\UpdateUserApi
``
- const METHOD set request method etc ('POST', 'GET', 'PUT', 'DELETE')
- function getUrl set request url
- function processRawRequest pass into request body data
- function execute can be replace own execute events
-
For run this action must be injected service
Bajzany\ApiClient\Provider
`` -
Now you can run this action like this:
``
- Into provider can be place events in request and response has been created ``
All versions of api-client with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.2
nette/di Version ^2.4
nette/application Version ^2.4
jms/serializer Version ^3.2
nette/di Version ^2.4
nette/application Version ^2.4
jms/serializer Version ^3.2
The package bajzany/api-client contains the following files
Loading the files please wait ....