https://github.com/basilfx/phalcon-uploader
File upload handler for the Phalcon Framework.
https://github.com/basilfx/phalcon-uploader
Last synced: about 1 month ago
JSON representation
File upload handler for the Phalcon Framework.
- Host: GitHub
- URL: https://github.com/basilfx/phalcon-uploader
- Owner: basilfx
- License: mit
- Created: 2017-03-13T07:56:43.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-03-13T07:57:23.000Z (over 9 years ago)
- Last Synced: 2025-01-14T01:14:26.863Z (over 1 year ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 1
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Phalcon-Uploader
File upload handler for the Phalcon Framework.
## Introduction
This package provides a file upload service.
You can use it as follows:
```php
// Assuming uploader is registered in dependency injector.
$this->uploader->add("file", [
"name" => "path/and/name/of/file.ext",
"required" => false,
]);
$result = $this->uploader->save();
if ($result) {
print_r($result);
}
```
## Requirements
* PHP 7.0 or later.
* Phalcon Framework 3.0 or later.
## Installation
Install this dependency using `composer require basilfx/phalcon-uploader`.
## License
See the `LICENSE` file (MIT license).