Download the PHP package devnullius/php-tmp-file without Composer
On this page you can find all versions of the php package devnullius/php-tmp-file. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download devnullius/php-tmp-file
More information about devnullius/php-tmp-file
Files in devnullius/php-tmp-file
Download devnullius/php-tmp-file
More information about devnullius/php-tmp-file
Files in devnullius/php-tmp-file
Vendor devnullius
Package php-tmp-file
Short Description A convenience class for temporary files
License MIT
Package php-tmp-file
Short Description A convenience class for temporary files
License MIT
Keywords files
Please rate this library. Is it a good library?
Informations about the package php-tmp-file
php-tmp-file
A convenience class for temporary files.
Features
- Create temporary file with arbitrary content
- Delete file after use (can be disabled)
- Send file to client, either inline or with save dialog
- Save file locally
- Inject callback with custom file sender
Examples
If you want to keep the temporary file, e.g. for debugging, you can set the $delete
property to false:
If you want to use other way to send files you can give callback as in example (Here is Yii2 response sendFile)
All versions of php-tmp-file with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.1.0
The package devnullius/php-tmp-file contains the following files
Loading the files please wait ....