filepileio/filepile-laravel

Laravel Commands for FilePile.io

1.1.7 2017-11-14 14:07 UTC

This package is not auto-updated.

Last update: 2024-04-28 02:16:36 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

  1. Create a FilePile.io account
  2. Create a new API Key (My Account > API Keys)
  3. 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.