A simple php wrapper for dev-identify api.
A simple php wrapper for dev-identify image grabber., (*1)
composer require dev-identify/dev-identify
save('full_directory_path_including_file_name_ext') // See methods description ->toJson(); // toArray() is also available print_r($result); ?>
email()
, (*2)
Email method is a static and required method that takes in user email as parameter. Email method holds the actual response from devidentify server. This method returns an object that can be further chained with other methods available., (*3)
save()
, (*4)
Save method takes in full directory path as parameter along with filename and extension, i.e /path/image_name.jpg
. Save method will fail if the directory does not exist or has no write permission. This method returns an object that can be further chained with other methods available., (*5)
toJson()
, (*6)
ToJson method simply returns the response in json format. Chain this method with either email()
or save()
method to see the actual output., (*7)
toArray()
, (*8)
ToArray method simply returns the response as an array. Chain this method with either email()
or save()
method to see the actual output., (*9)