Download the PHP package tuta/mytuta without Composer
On this page you can find all versions of the php package tuta/mytuta. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package mytuta
mytuta
Just tools
Install:
"require": {
"laravel/framework": "5.2.*",
...
"tuta/mytuta": "1.1.*"
},
composer update
'providers' => array(
...
Tuta\Mytuta\MytutaServiceProvider::class,
),
'alias' => array(
...
'Mytuta' => Tuta\Mytuta\Facades\MytutaFacade::class,
),
requires
'providers' => array(
...
Intervention\Image\ImageServiceProvider::class,
),
Upload File
$upload = (Mytuta::Uploadfile($request->file('file'),'yourfolder'));
return:
$upload['name'] //mengambil nama file
$upload['size'] //mengambil data ukuran file
$upload['mime'] //mengambil mime type dari file yang di upload
Upload Image
$upload = Mytuta::uploadImage($request->file($image), $path, $width, $height); return: $upload = Image Name
Upload Image For Edit
$upload = Mytuta::uploadImageEdit($request->file($image), $path, $image_edit, $width, $height); //$image_edit is name of image to delete return: $upload = Image Name
Read File & Image
Route::get('your-url/{file}', function($file = null)
{
return Mytuta::readFile($file,'yourfolder');
});
All versions of mytuta with dependencies
PHP Build Version
Package Version
Requires
intervention/image Version
^2.3
The package tuta/mytuta contains the following files
Loading the files please wait ...