PHP code example of arshad1114 / laravel-dms-disk-server

1. Go to this page and download the library: Download arshad1114/laravel-dms-disk-server 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/ */

    

arshad1114 / laravel-dms-disk-server example snippets


Consumer service                         DMS service (this package)
────────────────                         ──────────────────────────
Storage::disk('dms')->put(...)           POST /dms-disk/upload
Storage::disk('dms')->get(...)    HTTP   GET  /dms-disk/file
Storage::disk('dms')->delete()   ────►  DELETE /dms-disk/file
...                                      ...
                                         Calls Storage::put(...)
                                         using your filesystems.php
bash
php artisan vendor:publish --tag=dms-disk-server-config
bash
php artisan route:list --path=dms-disk
bash
php artisan route:clear
php artisan route:list --path=dms-disk
bash
php artisan package:discover