2017 © Pedro Peláez
 

library slider

A package which provides simple slideshow

image

quandt/slider

A package which provides simple slideshow

  • Wednesday, August 26, 2015
  • by truongquan
  • Repository
  • 1 Watchers
  • 0 Stars
  • 50 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

Slideshow Package for Laravel 5

This package provide a simple image slideshow with backend management for Laravel 5 web appliaction., (*1)

Installation

Require this package with Composer, (*2)

composer require 'quandt/slider:dev-master', (*3)

Add these ServiceProviders to the providers array in app/config/app.php, (*4)

'QuanDT\Slider\SliderServiceProvider', 'Intervention\Image\ImageServiceProvider',, (*5)

Add this to the aliases array in app/config/app.php:, (*6)

'Image' => 'Intervention\Image\Facades\Image', (*7)

You need to copy migration files to /database/migrations folder, using the following artisan command:, (*8)

php artisan vendor:publish --tag=migration --force, (*9)

Then copy assets to /public folder:, (*10)

php artisan vendor:publish --tag=asset --force, (*11)

You can override the default views by copying to the resources/views/packages/quandt/slider folder. You can also do that with the following command:, (*12)

php artisan vendor:publish --tag=view --force, (*13)

You can override the default config too (file config will be copied to /config/slider.php):, (*14)

php artisan vendor:publish --tag=config --force, (*15)

Usage

Run artisan migrate command to create database for this slide:, (*16)

php artisan migrate, (*17)

First you need to create a slider, access the following url:, (*18)

http://yourwebsite.com/slider, (*19)

Then you can add items for the slider you just create (assume your slider ID is 1):, (*20)

http://yourwebsite.com/slider-content/create?slider_id=1, (*21)

After that, you can preview your slider by access this url:, (*22)

http://yourwebsite/slider/display/1, (*23)

That's it!, (*24)

The Versions

26/08 2015

dev-master

9999999-dev

A package which provides simple slideshow

  Sources   Download

The Requires

 

by Do Truong Quan

09/06 2015

v1.0

1.0.0.0

A package which provides simple slideshow

  Sources   Download

The Requires

 

by Do Truong Quan