PHPackages                             jeroen-g/laravel-photo-gallery - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. jeroen-g/laravel-photo-gallery

AbandonedArchivedLibrary

jeroen-g/laravel-photo-gallery
==============================

A photo gallery for Laravel 4

v1.2(11y ago)4092831[4 issues](https://github.com/Jeroen-G/laravel-photo-gallery/issues)[1 PRs](https://github.com/Jeroen-G/laravel-photo-gallery/pulls)EUPL-1.1PHPPHP &gt;=5.3.0

Since Jul 15Pushed 10y ago7 watchersCompare

[ Source](https://github.com/Jeroen-G/laravel-photo-gallery)[ Packagist](https://packagist.org/packages/jeroen-g/laravel-photo-gallery)[ RSS](/packages/jeroen-g-laravel-photo-gallery/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (2)Versions (8)Used By (0)

Laravel Photo Gallery
=====================

[](#laravel-photo-gallery)

A photo gallery for Laravel 4.2

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/a783ff48f3ddd568b476d01923fe82c438391383f1d1ff85f5b48606b1dbec98/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4a65726f656e2d472f6c61726176656c2d70686f746f2d67616c6c6572792f6261646765732f7175616c6974792d73636f72652e706e673f733d64313862663333386565336139656136346138333437643538393362353939363962386136623231)](https://scrutinizer-ci.com/g/Jeroen-G/laravel-photo-gallery/)[![Latest Stable Version](https://camo.githubusercontent.com/4f9251bc63ff2df1dfebc9c38fb81a48738183aeab78b68a4d476b3383636a22/68747470733a2f2f706f7365722e707567782e6f72672f6a65726f656e2d672f6c61726176656c2d70686f746f2d67616c6c6572792f762f737461626c652e706e67)](https://packagist.org/packages/jeroen-g/laravel-photo-gallery)

Installation
------------

[](#installation)

First you should install this package through Composer and edit your project's `composer.json`:

```
"require": {
    "laravel/framework": "4.2.*",
    "jeroen-g/laravel-photo-gallery": "1.*"
}

```

Next, update Composer via the command line:

```
composer update

```

The next step is to add the service provider in `app/config/app.php`:

```
'JeroenG\LaravelPhotoGallery\LaravelPhotoGalleryServiceProvider',

```

The last thing to do is to migrate:

```
php artisan migrate --package="jeroen-g/laravel-photo-gallery"

```

This will create the tables for the gallery. Now you're ready to start! Visit `/gallery` on your host to view the Photo Gallery.

Usage
-----

[](#usage)

### Photos

[](#photos)

The photos will be uploaded to the folder `public/uploads/photos/`.

### Views

[](#views)

If you want to change the way the gallery looks, use this command:

```
php artisan view:publish jeroen-g/laravel-photo-gallery

```

Now you can edit the views for the gallery in the `app/views/packages/jeroen-g/laravel-photo-gallery` directory.

### Config

[](#config)

There are a few settings you could change in a configuration file. To set these values, use this command:

```
php artisan config:publish jeroen-g/laravel-photo-gallery

```

The configuration file can now be found inside `app/config/packages/`

### Flickr

[](#flickr)

If you want to use the Flickr API you have to take a few extra steps:

- Create the file `app/bindings.php` and paste this code:

    ```
