Download the PHP package elendev/roxyfileman-bundle without Composer

On this page you can find all versions of the php package elendev/roxyfileman-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package roxyfileman-bundle

README

The bundle provide a Roxyfileman integration for Symfony2. It works well with IvoryCKEditorBundle.

Documentation

  1. Installation
  2. Configuration
    1. File location configuration
    2. Roxyfileman configuration
    3. Multiple profiles
  3. Advanced customization
    1. Custom filesystem service
    2. Custom version of Roxyfileman
  4. LICENSE

Installation

Require the bundle in your composer.json file:

Register the bundle :

Update composer :

Import the bundle's routes to your routing configuration file, e.g. routing.yml:

The prefix can be changed. You can also add the path to the firewall to have the file manager service protected.

Configuration

RoxyFilemanBundle provide a simple configuration.

File location configuration

If you use the default LocalFileSystem (recommanded), this is the required configuration :

The base_path parameter should be absolute. The base_url parameter is appended to the file name / relative file path to create its url. The LocalFileSystem is used to access to a certain directory in the local file system. If you want to serve file from a distant server or located in database, you can take a look at the Custom filesystem service section.

Roxyfileman configuration

Every configuration options are available on the Roxyfileman configuration page.

The parameters have to be in lowercase. Be careful : every url parameter available on the Roxyfileman configuration page should be used as a route here and the parameter have to be postfixed by _route. For example : the parameter DIRLIST becomes dirlist_route.

Multiple profiles

Above shows how the bundle work in single profile mode. Occasionally, you may need different file manager instances to manage different directories - imagine a CMS with a "album" and a "blog" module, and you don't want the "album" administrator to touch the files in the "blog" module. This is possible by telling the bundle to operate in multi-profile mode. Here's how:

Now we have two profiles defined, each with its own base path, URL settings, and configuration options.

The bundle needs to know which profile it should work on when its certain URL is accessed. One way is to add the profile placeholder to the routing config:

Note: When profiles is not empty, the bundle will operate in multi-profile mode. conf, local_file_system and file_system_service_id values defined in the root configuration will be ignored.

Integration with rich text editor (CKEditor)

The original index path /fileman/index.html is served by the route elendev_roxyfileman_index in this bundle, and is what you need to integrate with rich text editors like CKEditor. For example:

Using this bundle with egeloen/IvoryCKEditorBundle is really simple, a small modification to the ivory_ck_editor configuration do the job :

Advanced customization

Custom filesystem service

The filesystem service represent a file system for Roxyfileman. It is capable of serving files, file and directory trees, do operations on directories and files, ... You can create a custom filesystem service by implementing the Elendev\RoxyFilemanBundle\FileSystem\FileSystemInterface and provide it as a service to the elendev_roxy_fileman parameter.

Custom version of Roxyfileman

The bundle comes with a version of Roxyfileman library. If you want to use a custom version, you can specify the path to the directory containing the index.html file to the roxyfileman_lib_path parameter.

The library files are served by the Elendev\RoxyFilemanBundle\Controller\ResourcesController.php controller. It don't have to be publicly accessible.

LICENCE

The Elendev RoxyFileman BUndle is under the MIT license. For the full copyright and license information, please read the LICENSE file that was distributed with this source code.

A partial copy of Roxyfileman library is bundled with this bundle. The Roxyfileman library is under the GPLv3 license was distributed with this source code.


All versions of roxyfileman-bundle with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.3
symfony/framework-bundle Version ~2.3|~3.0|~4.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package elendev/roxyfileman-bundle contains the following files

Loading the files please wait ....