Download the PHP package amplie-solucoes/ezfile without Composer
On this page you can find all versions of the php package amplie-solucoes/ezfile. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download amplie-solucoes/ezfile
More information about amplie-solucoes/ezfile
Files in amplie-solucoes/ezfile
Package ezfile
Short Description Easy and Simple Filemanager
License MIT
Homepage https://ampliesolucoes.com.br
Informations about the package ezfile
EzFile - Easy and Simple Filemanager
EzFile is a free, nonprofit PHP library designed to simplify file and directory manipulation in web development. With a focus on ease of use, it provides efficient tools for common tasks like creating, renaming, moving, copying, deleting, uploading, downloading and manipulating files and folders. The EzFile accelerates web development, making it easier to work with files and directories and enhancing productivity.
Requirements
Tool | Version | Requirement |
---|---|---|
PHP | 7.0 or Higher | Required |
Installation
Install EzFile using Composer:
Note
If you need to work with handling files that will be large in size, make sure to change the following parameters in your php.ini file:
- memory_limit
- upload_max_filesize
- post_max_size
How to Use
The objective of EzFile is to be a simple and easily accessible library, therefore, all the code was designed to be executed statically, facilitating the work and manipulation of the code.
Additionally, it's crucial to note that each of the functions listed below includes a parameter named "force." This parameter serves the purpose of enabling the manipulation of files located beyond the designated main path. Please refer to the examples provided for clarity:
Exists Function
Create Function
Write Function
Read Function
Rename Function
Move Function
Copy Function
Change Path Permissions Function
Pathinfo Function
List Function
Zip Folder Function
Unzip Folder Function
Delete Function
Upload Function
Download Function
Computational Units Const
Units Format Function
Example of Code
See below a simple example of how to work with some functions
Important
If "path" paramn send has errors, all the functions above will return an array:
Tests
- All the tests can be found in EzFile/tests/EzFileTest.php
- Run the tests by typing in console
Donate
If you find this project helpful and valuable, please consider supporting me. Your contribution help me to maintain and improve this library for everyone use with no cost. Every little bit helps!
Thank you for your generosity and support! 🙏
This README provides an overview of the EzFile library, its features, and how to use it. Adjustments can be made as needed to fit your specific project.