PHP code example of despatchcloudturkey / logging-api-laravel
1. Go to this page and download the library: Download despatchcloudturkey/logging-api-laravel library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
despatchcloudturkey / logging-api-laravel example snippets
$id = LoggingAPI::store('my log file content is here');
LoggingAPI::store('John want to go.', '123ABC');
$id = LoggingAPI::upload('/path/of/my/file/'); // without ID
LoggingAPI::upload('/path/of/my/file/', 'my-id'); // with ID
$contents = LoggingAPI::get('123ABC');
return LoggingAPI::response('my-id);
LoggingAPI::delete('123ABC');