darvinstudio / darvin-fileman-bundle
This bundle integrates 'darvinstudio/fileman' with Symfony.
Installs: 3 475
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 3
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
This package is auto-updated.
Last update: 2024-11-29 04:52:25 UTC
README
This bundle integrates "darvinstudio/fileman" with Symfony. It allows to easily exchange uploaded files between Symfony-based project's instances.
Installation
- Install package using Composer:
$ composer require darvinstudio/darvin-fileman-bundle
- Register bundle in your AppKernel class:
// app/AppKernel.php public function registerBundles() { $bundles = [ // ... new Darvin\DatabaserBundle\DarvinFilemanBundle(), // ... ]; }
Usage
Pull uploaded files
$ /usr/bin/env php bin/console fileman:pull [-k|--key [KEY]] [-p|--password] [-P|--port [PORT]] [--parameters [PARAMETERS]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> <user@host> <project_path_remote> [<project_path_local>]
Examples:
$ /usr/bin/env php bin/console fileman:pull root@example.com www/example.com $ /usr/bin/env php bin/console fileman:pull -P 123 root@example.com /var/www/example.com
Push uploaded files
$ /usr/bin/env php bin/console fileman:push [-k|--key [KEY]] [-p|--password] [-P|--port [PORT]] [--parameters [PARAMETERS]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command> <user@host> <project_path_remote> [<project_path_local>]
Examples:
$ /usr/bin/env php bin/console fileman:push root@example.com www/example.com $ /usr/bin/env php bin/console fileman:push -P 123 root@example.com /var/www/example.com