1. Go to this page and download the library: Download jasekz/laradrop library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
jasekz / laradrop example snippets
'Jasekz\Laradrop\LaradropServiceProvider'
# s3, local, or Rackspace. See 'Other Driver Prerequisites' at https://laravel.com/docs/filesystem. Defaults to 'local'
LARADROP_DISK=local
# If your files need to be web accessible, set this param. S3, for example, would be 'https://s3.amazonaws.com/my-bucket'. Defaults to the web root (public).
LARADROP_DISK_PUBLIC_URL=/img
# If a thumbnail can not be generated due to incompatible file or any other reason, what image do you want to use? Defaults to 'vendor/jasekz/laradrop/img/genericThumbs/no-thumb.png'
LARADROP_DEFAULT_THUMB=/img/no-thumb.png
# Max file upload size in MB. Defaults to 10.
LARADROP_MAX_UPLOAD_SIZE=20
# Max file size (in MB) for which thumbnail generation will be attempted. If your server has an issue processing thumbs, you can lower this value. Defaults to 10.
LARADROP_MAX_THUMBNAIL_SIZE=10
# Defaults to 150px.
LARADROP_THUMB_WIDTH=150
# Defaults to 150px.
LARADROP_THUMB_HEIGHT=150
# Run laradrop routes through middlware. Defaults to none.
LARADROP_MIDDLEWARE=web
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.