alex-kalanis / upload-per-partes
HTTP Uploading Client for PHP
Requires
- php: >=7.2.0
- ext-json: *
- ext-mbstring: *
Requires (Dev)
- alex-kalanis/kw_files: >=3.4
- alex-kalanis/kw_paths: >=3.0
- alex-kalanis/kw_storage: ~3.0
- friendsofphp/php-cs-fixer: ^3.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: >7.2 <=9
Suggests
- alex-kalanis/kw_files: Accessing stored entries as files on some volume
- alex-kalanis/kw_paths: Paths for accessing targets in KWCMS
- alex-kalanis/kw_storage: Universal storage library for store data as key-value pairs
- predis/predis: Redis client
README
Uploading files via HTTP style per-partes
Contains libraries for uploading large files with JavaScript FileApi with things like real truth-telling progress bar or available upload resume.
This is the mixed package - contains sever-side implementation in Python and PHP.
PHP Installation
{
"require": {
"alex-kalanis/upload-per-partes": "3.0"
}
}
(Refer to Composer Documentation if you are not familiar with composer)
PHP Usage
1.) Use your autoloader (if not already done via Composer autoloader)
2.) Connect the "kalanis\UploadPerPartes\Upload" into your app. When it came necessary you can extends every library to comply your use-case; mainly your storage and processing.
3.) Copy and connect the frontend library "uploader.ts" into your app. You need something like Grunt to translate TypeScript into JavaScript. You can also extends included classes to comply your use-case; mainly for styling.
Python Installation
into your "setup.py":
install_requires=[
'kw_upload',
]
Python Usage
1.) Connect the "kw_upload\upload" into your app. When it came necessary you can extends every library to comply your use-case; mainly your storage and processing.
3.) Copy and connect the frontend library "uploader.ts" into your app. You need something like Grunt to translate TypeScript into JavaScript. You can also extends included classes to comply your use-case; mainly for styling.