antuan-sehikyan/image-manager

ZF2 Image Upload Module + Doctrine Example + WebinoImageThumb

dev-master 2015-11-05 16:24 UTC

This package is not auto-updated.

Last update: 2024-05-01 16:55:29 UTC


README

##Introduction

This is a ZF2 Image Upload Module using DoctrineModule + WebinoImageThumb Integration.

##Installation Using Composer

The recommended way to get a working copy of this project is to clone the repository and use composer to install dependencies:

curl -s https://getcomposer.org/installer | php --

You would then invoke composer to install dependencies. Add to your composer.json

"antuan-sehikyan/image-manager": "dev-master"        

##Required Modules

"doctrine/doctrine-module": "0.*",  
"doctrine/doctrine-orm-module": "0.*",	
"webino/webino-image-thumb": "dev-master",
"rwoverdijk/assetmanager": "1.*"

##Configuration

Once module installed, you could declare the module into your "config/application.config.php" by adding:

    'Application',	
    'DoctrineModule',
	'DoctrineORMModule',
    'WebinoImageThumb',		
    'ImageManager',
    'AssetManager', 				         	

Copy/Paste the configuration file and change configuration options according to your social accounts. Note: You must create applications for that...

cp vendor/antuan-sehikyan/image-manager/config/doctrine.local.php.dist config/autoload/doctrine.local.php

##Create your Database:

./vendor/bin/doctrine-module orm:validate-schema
./vendor/bin/doctrine-module orm:schema-tool:update --force