2017 © Pedro Peláez
 

library library

Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.

image

cafelatte/library

Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.

  • Friday, January 5, 2018
  • by thorpe
  • Repository
  • 1 Watchers
  • 1 Stars
  • 57 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 6 Versions
  • 0 % Grown

The README.md

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., (*1)

Core Features

  • Upload
  • Encrypt-Decrypt
  • Image Resize

How To Use

Upload Files

should contain this code:, (*2)

<?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:, (*3)

<?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:, (*4)

<?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., (*5)

The Versions

05/01 2018

dev-master

9999999-dev http://cafe-latte.co.kr

Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.

  Sources   Download

MIT

The Requires

 

framework upload encrypt decrypt cafelatte image resizing

05/01 2018

v1.1.1

1.1.1.0 http://cafe-latte.co.kr

Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.

  Sources   Download

MIT

The Requires

 

framework upload encrypt decrypt cafelatte image resizing

29/12 2017

v1.1.0

1.1.0.0 http://cafe-latte.co.kr

Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.

  Sources   Download

MIT

The Requires

 

framework upload encrypt decrypt cafelatte image resizing

14/12 2017

v1.0.5

1.0.5.0 http://cafe-latte.co.kr

Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.

  Sources   Download

MIT

The Requires

 

framework upload encrypt decrypt cafelatte image resizing

08/11 2017

v1.0.2

1.0.2.0 http://cafe-latte.co.kr

Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.

  Sources   Download

MIT

The Requires

 

framework upload encrypt decrypt cafelatte image resizing

11/10 2017

v1.0.0

1.0.0.0 http://cafe-latte.co.kr

Libraries are working based on Cafelatte Framework. It contains few function such as uploading, en-decrypting, image-resizing etc.

  Sources   Download

MIT

The Requires

  • php >=7.0

 

framework upload encrypt decrypt image resizing