Download the PHP package dptsi/blob-repository without Composer
On this page you can find all versions of the php package dptsi/blob-repository. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download dptsi/blob-repository
More information about dptsi/blob-repository
Files in dptsi/blob-repository
Download dptsi/blob-repository
More information about dptsi/blob-repository
Files in dptsi/blob-repository
Vendor dptsi
Package blob-repository
Short Description Upload Blob to repository ITS.
License
Homepage https://github.com/dptsi/blob-repository
Package blob-repository
Short Description Upload Blob to repository ITS.
License
Homepage https://github.com/dptsi/blob-repository
Please rate this library. Is it a good library?
Informations about the package blob-repository
DPTSI Blob Repository
Repository ini berisi library PHP yang digunakan untuk mengunggah file ke storage API ITS
Requirements
- PHP 5.4 ++
-
guzzle
example is in test-upload.php
Instalation
add composer.json
"dptsi/blob-repository": "dev-master"
after require section add this
"repositories": [
{
"type": "vcs",
"url": "https://github.com/dptsi/blob-repository.git"
}
]
Usage
Instalation
<?php
require './vendor/autoload.php';
$blobUpload = new BlobRepository('SSO Provider', 'SSO Client ID', 'SSO Secret', 'Alamat Storage API (Kosong jika prod)');
Get File
$file = $blobUpload->getFile($file_id);
Store File
$file Upload = $blobUpload->storeFile($_FILES['fileToUpload']);
Delete File
$file Upload = $blobUpload->deleteFile($file_id);
Update File
$file Upload = $blobUpload->updateFile($_FILES['fileToUpload'], $file_id);
Methods
file_id()
file_name()
tag()
timestamp()
public_link()
To get responses from server access $file->response
All versions of blob-repository with dependencies
PHP Build Version
Package Version
Requires
guzzlehttp/guzzle Version
~6.0|^6.5|^7.0.1
The package dptsi/blob-repository contains the following files
Loading the files please wait ....