Recommend this page to a friend! |
Download .zip |
Info | Example | View files (34) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2020-09-12 (Less than 1 hour ago) | Not yet rated by the users | Total: 77 | All time: 9,610 This week: 304 |
Version | License | PHP version | Categories | |||
filestorage 0.3.1 | Custom (specified... | 7 | Databases, Files and Folders, PHP 7 |
Description | Author | ||||||||
This package can store and retrieve files in a storage container. |
|
Flysystem wrapper which allow you to storage file and styling images
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
* Image stylist * Storage files and information * Cache generator
* Text on images
For DframeFramework Example #1
Stalone Image Stylist Code PHP Example #2
Files |
File | Role | Description | ||
---|---|---|---|---|
examples (2 directories) | ||||
src (3 files, 2 directories) | ||||
tests (5 files) | ||||
.travis.yml | Data | Auxiliary data | ||
composer.json | Data | Auxiliary data | ||
LICENSE | Lic. | License text | ||
phpunit.xml | Data | Auxiliary data | ||
preview.jpg | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | examples |
Files | / | examples | / | example1 |
File | Role | Description | ||
---|---|---|---|---|
app (3 directories) | ||||
README.md | Doc. | Read me | ||
tables.sql | Data | Auxiliary data |
Files | / | examples | / | example1 | / | app | / | Config |
File | Role | Description |
---|---|---|
fileStorage.php | Example | Example script |
router.php | Aux. | Auxiliary script |
Files | / | examples | / | example1 | / | app | / | Libs | / | Plugins |
File | Role | Description | ||
---|---|---|---|---|
FileStorage (1 file, 1 directory) |
Files | / | examples | / | example1 | / | app | / | Libs | / | Plugins | / | FileStorage |
File | Role | Description | ||
---|---|---|---|---|
Stylists (4 files) | ||||
MetadataFile.php | Class | Class source |
Files | / | examples | / | example1 | / | app | / | Libs | / | Plugins | / | FileStorage | / | Stylists |
File | Role | Description |
---|---|---|
OriginalStylist.php | Class | Class source |
RealStylist.php | Class | Class source |
RectStylist.php | Class | Class source |
SquareStylist.php | Class | Class source |
Files | / | examples | / | example1 | / | app | / | Model | / | FileStorage | / | Drivers |
File | Role | Description |
---|---|---|
DatabaseDriver.php | Class | Class source |
Files | / | examples | / | example2 |
File | Role | Description | ||
---|---|---|---|---|
Config (1 file) | ||||
Stylists (3 files) | ||||
uploads (2 files) | ||||
README.md | Data | Read me | ||
stylist.php | Class | Class source |
Files | / | examples | / | example2 | / | Stylists |
File | Role | Description |
---|---|---|
OriginalStylist.php | Class | Class source |
RectStylist.php | Class | Class source |
SquareStylist.php | Class | Class source |
Files | / | examples | / | example2 | / | uploads |
File | Role | Description |
---|---|---|
noImage.png | Data | Auxiliary data |
picture1.jpg | Data | Auxiliary data |
Files | / | src |
File | Role | Description | ||
---|---|---|---|---|
Drivers (1 file) | ||||
Stylist (1 file) | ||||
Image.php | Class | Class source | ||
Storage.php | Class | Class source | ||
Stylist.php | Class | Class source |
Files | / | tests |
File | Role | Description |
---|---|---|
Bootstrap.php | Example | Example script |
FakeDriver.php | Class | Class source |
file.txt | Doc. | Documentation |
FileTest.php | Class | Class source |
SetupTest.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.