Download the PHP package relief_applications/doc-manager-bundle without Composer
On this page you can find all versions of the php package relief_applications/doc-manager-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download relief_applications/doc-manager-bundle
More information about relief_applications/doc-manager-bundle
Files in relief_applications/doc-manager-bundle
Package doc-manager-bundle
Short Description A bundle to manage upload and download of documents within database context
License MIT
Informations about the package doc-manager-bundle
DocBundle
Step 1: Download the Bundle
Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:
This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.
For more informations about the bundle and its dependencies, please visit our packagist page : https://packagist.org/packages/relief_applications/doc-bundle .
Step 2: Enable the Bundle
Then, enable the bundle by adding it to the list of registered bundles
in the app/AppKernel.php
file of your project:
Step 3: Usage
-
Create a class which extends Ra\DocBundle\Model\BaseDocument
-
Uploading and creating a document
-
Uploading and updating a document
-
Downloading a document
-
Removing a document
- Get document's path in the filesystem
Step 4: Configuration
The configuration of Vich, Gaufrette and Liip is the responsability of the developer.
Step * : Customization
1. You can change the default file's field by adding a custom field and declaring this field :
You can also define your custom requirements in the Assert\File annotation.
All versions of doc-manager-bundle with dependencies
symfony/framework-bundle Version >=2.5.6
knplabs/knp-gaufrette-bundle Version >=0.3
liip/imagine-bundle Version >=1.6
vich/uploader-bundle Version >=1.3
aws/aws-sdk-php-symfony Version >=1.0
jms/serializer-bundle Version >=1.1