File: README.md

Recommend this page to a friend!
  Classes of Slawomir Kaleta  >  Dframe File Storage  >  README.md  >  Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Dframe File Storage
Store and retrieve files in a database
Author: By
Last change: Update README.md
Date: 1 year ago
Size: 1,803 bytes
 

Contents

Class file image Download

Dframe/FileStorage

Build Status Latest Stable Version Total Downloads Latest Unstable Version License

File system which allow you to store and style images

Preview

License

Installation

composer require dframe/filestorage

Simple usage

    $Storage->put('local', $_FILES['file']['tmp_name'], 'upload/picture1.jpg');
    $Storage->image('picture1.jpg')->stylist('Square')->size('250')->get();
    $Storage->image('picture1.jpg')->stylist('Rect')->size('250x550')->get();
    $Storage->image('fileNotExist.jpg', 'noImage.png')->stylist('Rect')->size('50x50')->get();
    $Storage->drop('local', 'upload/picture1.jpg');

Documentation available at https://dframeframework.com/en/docs/fileStorage/master/configuration

What's included?

* Image stylist * Storage files and information * Cache generator

Feature

* Text on images

Examples

For DframeFramework Example #1

Stalone Image Stylist Code PHP Example #2


For more information send a message to info at phpclasses dot org.