2017 © Pedro Peláez
 

library laravel-images

A Laravel 4 package for uploading images to a website

image

fbf/laravel-images

A Laravel 4 package for uploading images to a website

  • Friday, January 17, 2014
  • by neilcrookes
  • Repository
  • 2 Watchers
  • 3 Stars
  • 137 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel Images

A Laravel 4 package for uploading images to a website, (*1)

Includes

  • Migration for a database table to store references to the uploaded image
  • Model for accessing the database table
  • FrozenNode Administrator config for uploading and managing images

Installation

Add the following to you composer.json file, (*2)

"fbf/laravel-images": "dev-master"

Run, (*3)

composer update

Add the following to app/config/app.php, (*4)

'Fbf\LaravelImages\LaravelImagesServiceProvider'

Publish the config, (*5)

php artisan config:publish fbf/laravel-images

Run the migration, (*6)

php artisan migrate --package="fbf/laravel-images"

Create the relevant image upload directories that you specify in your config, e.g., (*7)

public/uploads/packages/fbf/laravel-images/original
public/uploads/packages/fbf/laravel-images/admin_thumb

Administrator

You can use the excellent Laravel Administrator package by frozennode to administer your images., (*8)

http://administrator.frozennode.com/docs/installation, (*9)

A ready-to-use model config file for the Image model (images.php) is provided in the src/config/administrator directory of the package, which you can copy into the app/config/administrator directory (or whatever you set as the model_config_path in the administrator config file)., (*10)

The Versions

17/01 2014

dev-master

9999999-dev

A Laravel 4 package for uploading images to a website

  Sources   Download

MIT

The Requires

 

17/01 2014

v0.1.0

0.1.0.0

A Laravel 4 package for uploading images to a website

  Sources   Download

MIT

The Requires