Download the PHP package cafelatte/library without Composer
On this page you can find all versions of the php package cafelatte/library. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download cafelatte/library
More information about cafelatte/library
Files in cafelatte/library
Download cafelatte/library
More information about cafelatte/library
Files in cafelatte/library
Vendor cafelatte
Package library
Short Description Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.
License MIT
Homepage https://cafe-latte.co.kr
Package library
Short Description Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.
License MIT
Homepage https://cafe-latte.co.kr
Please rate this library. Is it a good library?
Informations about the package library
PHP Framework
These libraries ar working based on Cafelatte Framework is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs. These libraries contains uploading, en-decrypting, image-resizing etc.
Core Features
- Upload
- Encrypt-Decrypt
- Image Resize
How To Use
Upload Files
should contain this code:
<?php
use CafeLatte\Libraries\FileUploader;
try {
$firstFileName = FileUploader::create("/",$this->request->file('test01'))->upload()->getResult();
echo $firstFileName01;
} catch (Exception $ex) {
echo $ex->getMessage();
}
En-Decrypt Data
should contain this code:
<?php
use CafeLatte\Libraries\Endecrypt;
$key = "secureKey_whatever_you_want";
$iv = "iv";
$text = "test";
$cipher = "aes-256-cbc";
$encryptedText = Endecrypt::create($key, $iv, $cipher)->encrypt($text);
echo "encrypted Text : ". $encryptedText . "\n";
$decryptedText = Endecrypt::create($key, $iv)->decrypt($encryptedText);
echo "decrypted Text : ". $decryptedText . "\n";
Resize Images
should contain this code:
<?php
use CafeLatte\Libraries\ImageResize;
try {
$newFileName = ImageResize::create("test.jpg", './', 100, 100, 100, "auto")->getResult();
echo $newFileName;
} catch (Exception $ex) {
echo $ex->getMessage();
};
License
The Library is released under the MIT public license.
All versions of library with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0
ext-pcntl Version *
ext-openssl Version *
ext-gd Version *
ext-pcntl Version *
ext-openssl Version *
ext-gd Version *
The package cafelatte/library contains the following files
Loading the files please wait ....