Download the PHP package pdffiller/pdffiller-php-api-client without Composer
On this page you can find all versions of the php package pdffiller/pdffiller-php-api-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package pdffiller-php-api-client
PDFfiller PHP Client
PDFfiller API You can sign up for the API here
System Requirements
- PHP >= 7.0 but the latest stable version of PHP is recommended;
mbstring
extension;intl
extension;
Installation
The library is available on Packagist and can be installed using Composer. This is done by running the following command on a composer installed box:
Most modern frameworks include Composer out of the box. However, please ensure that the following file is included:
``
Troubleshooting
If you have the following error:
Try running
Also you might encounter the following:
This issue is easily fixed by installing composer dependencies:
Quick getting started steps
Install required libraries using composer
Edit .env
file in examples directory setting client_id, client_secret, username and password
(for authorization via password_grant
)
Run any example
Authentication
Access tokens automatically initialize when they’re successfully retrieved from the given user's credentials (after PDFfiller\OAuth2\Client\Provider\PDFfiller::getAccessToken($grant_type, $options) method), according to the example below: ``
When your authorization has been completed successfully you can use the provider for retrieving, creating, updating or deleting information from your profile.
Usage
Use a static method to retrieve a list of all applications:
PDFfiller\OAuth2\Client\Provider\Core\Model::all(PDFfiller $provider)
For retrieving information about one application, call static: `PDFfiller\OAuth2\Client\Provider\Core\Model::one(PDFfiller $provider, $appClientId)`
If you want to create a new application, you must create a new Application object with the necessary information and save it using the following method:
PDFfiller\OAuth2\Client\Provider\Core\Model::save()
` If you want to update an instance, you must retrieve an Application object and save it by using the following method:
PDFfiller\OAuth2\Client\Provider\Core\Model::save()`
Updating information is easy by using: `PDFfiller\OAuth2\Client\Provider\Core\Model::save()` method. If you wish to remove an application, use: `PDFfiller\OAuth2\Client\Provider\Core\Model::remove()` method
All examples with other endpoints are available in the examples folder
Support
If you have any problems feel free to contact us:
- On our issues page https://github.com/pdffiller/pdffiller-php-api-client/issues
- Via chat or phone at our tech site http://developers.pdffiller.com
- Join our Gitter chat room for technical advice https://gitter.im/pdffiller/pdffiller-php-api-client
License
This software is licensed under the following MIT license
Author
API Team ([email protected])