Skip to content

vladimir-s/yii-composer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yii-composer

Simple Yii + Composer + Imagine application

The application shows basic usage of Yii framework, Composer and Imagine library. It allows to upload photos and automatically create thumbnails for them.

Installation

  1. Create a folder under DOCUMENT_ROOT of your server (e.g. yii-composer).
  2. Clone this repo to the folder git clone https://github.com/vladimir-s/yii-composer.git .
  3. Run composer install (this command will download all dependencies). You should install Composer before running this command.
  4. Create database and set its credentials in public_html/protected/config/main.php and public_html/protected/config/console.php.
  5. Run yiic migrate from the folder public_html/protected/ (this command will create images table in the database).

Usage

  1. Open http://localhost/yii-composer/public_html/index.php and login with admin/admin.
  2. Go to http://localhost/yii-composer/public_html/index.php?r=images/create to upload image.

About

Simple Yii + Composer + Imagic application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages