Download the PHP package digitalkaoz/gaufrette-browser-bundle without Composer
On this page you can find all versions of the php package digitalkaoz/gaufrette-browser-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download digitalkaoz/gaufrette-browser-bundle
More information about digitalkaoz/gaufrette-browser-bundle
Files in digitalkaoz/gaufrette-browser-bundle
Package gaufrette-browser-bundle
Short Description This bundle provides an integration of the KnpMenu library
License MIT
Informations about the package gaufrette-browser-bundle
Gaufrette Browser
This Bundle allows you to browse a Gaufrette Filesystem like a Doctrine Connection. It tries to wrap Doctrine ObjectRepositories and Entities around Gaufrette Files.
Installation
Install it with Composer
Active the Bundle in your Kernel
Import the Routing
Configuration
Create a Gaufrette Filesystem (see https://github.com/KnpLabs/KnpGaufretteBundle for more Installation and Configuration)
Connect the Browser to the Filesystem
The Full Config Reference
Usage
Goto http://your.domain/gaufrette/browser and browse the filesystem
Querying for Directories or Files
Using the Repository Implementations:
Using the ParamConverters
Using ParamConverters for Directory
and File
is quiet simple:
Hooking into Events
Everything inside the Controller-Actions is build up with Events.
The following Events exists
Hook your own Functionality into default Controllers
implement the Subscriber
and TAG the Service
Tests
everything is well unit tested:
view builds on Travis: https://travis-ci.org/digitalkaoz/GaufretteBrowserBundle
TODO
- better Tree Initialization of Directories (maybe https://github.com/KnpLabs/materialized-path)
- Javascript-Tree to Browse Files more sophisticated (maybe http://jquery.bassistance.de/treeview/demo/)
- better File Detail Pages
- functional Tests
- allow more gaufrette-filesystem instances
- more powerful Repository Queries