alex-kalanis/upload-per-partes

HTTP Uploading Client for PHP

v3.0.0 2023-06-16 00:52 UTC

This package is auto-updated.

Last update: 2024-04-16 03:02:57 UTC


README

Build Status Scrutinizer Code Quality Latest Stable Version Minimum PHP Version Downloads License Code Coverage

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.