Anon Files Uploader is a simple php file uploader which runs using Anonfiles API.
- Built with PHP (supports PHP 8.0)
- Easy to Deploy using heroku deploy button
- Show Error messages according to the Error code from API
- Optional API key provided along with heroku deploy
Default Interface | After Uploading |
---|---|
-
Clone this repository using git
git clone https://github.com/albinvar/anonfiles-uploader.git
-
Change directory using
cd anonfiles-uploader
and Runcomposer install
-
Open
process.php
file and replace the $token variable with your API Key.
<?php
require __DIR__.'/vendor/autoload.php';
use App\Uploader;
$token = "YOUR_ANONFILES_API_TOKEN_HERE"
//Replace the default token.
-
Start localhost using
php server
-
Open your http://127.0.0.1:8888 to load the web interface.
-
Guess what, All Done 🤗
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
The project is certified using MIT License