sfUploadManagerPlugin - 1.0.1

The `sfUploadManagerPlugin` manage uploaded files in a database. Usefull with swfUpload or equivalent to be able to retrieve all file informations (original filename, size, mime type, uploaded date ...).

You are currently browsing
the website for symfony 1

Visit the Symfony2 website


« Back to the Plugins Home

Signin


Forgot your password?
Create an account

Tools

Stats

advanced search
Information Readme Releases Changelog Contribute
Show source

sfUploadManagerPlugin

The sfUploadManagerPlugin manage uploaded files in a database. Usefull with swfUpload or equivalent to be able to retrieve all file informations (original filename, size, mime type, uploaded date ...).

Installation

  • Install the plugin

    $ symfony plugin:install sfUploadManagerPlugin
    
    • Rebuild your model

      $ symfony doctrine:build-model $ symfony doctrine:build-sql $ symfony doctrine:build-forms $ symfony doctrine:build-filters

      • Update your database tables by starting from scratch (it will delete all the existing tables, then re-create them):

      $ symfony doctrine:insert-sql

      or you can just create the new tables by using the generated SQL statements in data/sql/plugins.sfGuardAuth.lib.model.schema.sql

      • Enable one module in your settings.yml

      [php] all: .settings: enabled_modules: [default, sfUploadManager]

  • Clear the cache

    $ symfony cache:clear