filepileio / filepile-laravel
Laravel Commands for FilePile.io
1.1.7
2017-11-14 14:07 UTC
Requires
- guzzlehttp/guzzle: ^6.3
- symfony/console: ^3.3
Requires (Dev)
- graham-campbell/testbench: ^3.1
- mockery/mockery: ^0.9.4
- phpunit/phpunit: ^4.8|^5.0
This package is not auto-updated.
Last update: 2025-03-02 06:30:35 UTC
README
Installation
Install into your project using:
composer require filepileio/filepile-laravel
If using Laravel older than 5.5, add to your config/app.php providers array:
FilePile\FilePileLaravel\Providers\FilePileLaravelServiceProvider::class,
Getting Started
- Create a FilePile.io account
- Create a new API Key (My Account > API Keys)
- Copy your API Key to .env:
FILEPILE_KEY=YOUR-API-KEY
Commands
This package offers a few simple commands to integrate with the filepile.io service:
List
php artisan filepile:list
The list command will display all piles available for this api key. Each of these pile names are available to the "install" command
Install
php artisan filepile:install {pile-slug}
The install command will install the given pile via it's slug. Slugs are created using the FilePile.io UI. Prompts will be displayed if assigned to the selected pile before files are copied.