2017 © Pedro Peláez
 

library slider

laravel slider with full feacher by using slick slider js plugin

image

pratik007kumar/slider

laravel slider with full feacher by using slick slider js plugin

  • Friday, July 14, 2017
  • by pratik007kumar
  • Repository
  • 2 Watchers
  • 4 Stars
  • 146 Installations
  • CSS
  • 0 Dependents
  • 0 Suggesters
  • 4 Forks
  • 0 Open issues
  • 3 Versions
  • 24 % Grown

The README.md

laravel Slider

Laravel 5.4 Image Slider, (*1)

Following are the step to configure Image Slider

Step 1:copy vendor using composer

composer require pratik007kumar/slider

or

"require": {

    "pratik007kumar/slider": "dev-master"
}
composer update

step 2: Copy providers to config/app.php

'providers' => [
 // ...
  Collective\Html\HtmlServiceProvider::class,
  Pratik\Slider\SliderServiceProvider::class,
  Barryvdh\Elfinder\ElfinderServiceProvider::class,
 // ...

]


'aliases' => [
    // ...
      'Form' => Collective\Html\FormFacade::class,
      'Html' => Collective\Html\HtmlFacade::class,
      'Input' => Illuminate\Support\Facades\Input::class,

    // ...
  ],

step 3: Run

php artisan vendor:publish

step 4: Run

php artisan elfinder:publish

step 5: Run

php artisan migrate

step 6: create public/uploads folder and set permission 0777

step 7: Copy following array in config/elfinder.php

'dir' => ['uploads'],
'route' => [
    'prefix' => 'elfinder',
    'middleware' => ['web', 'auth'], //Set to null to disable middleware filter
],
'roots' => array(
    array(
        'driver' => 'LocalFileSystem',
        'path'   => __DIR__.'/../public/uploads', 
        'URL'    => './../../uploads', // <-- That dir should be same as above, in path
        'attributes' => array(
            array( 
                'pattern' => '/\/\./',
                'read' => false,
                'write' => false,
                'locked' => true,
                'hidden' => true
            )
        )
    )
),
'options' => array(
    'accessControl' => 'access',
    'uploadAllow' => ['image'],
    'mimeDetect' => 'internal',
    'imgLib'     => 'gd',
    'uploadOrder'=> ['allow', 'deny'],
    'tmbPath' => '.tmb'
    ),

This packager Required Auth login if you don't have Auth login, (*2)

php artisan make:auth
php artisan migrate

You can change Route prefix using config/slider.php

 'slider_route_prefix' => 'admin',

you can view laravel slider with following link:

www.yourdomain.com/admin/slider or localhost/yourapp/admin/slider, (*3)

Demo

All Slider Page Create Slider Page Slider Preview Page, (*4)

The Versions

14/07 2017

dev-master

9999999-dev https://github.com/pratik007kumar/laravel-slider

laravel slider with full feacher by using slick slider js plugin

  Sources   Download

MIT

The Requires

 

by Pratik Kumar

laravel slider laravel 5.4 image slider laravel slider laravel banner and slider

14/07 2017

v1.01

1.01.0.0 https://github.com/pratik007kumar/laravel-slider

laravel slider with full feacher by using slick slider js plugin

  Sources   Download

MIT

The Requires

 

by Pratik Kumar

laravel slider laravel 5.4 image slider laravel slider laravel banner and slider

11/07 2017

v1.0

1.0.0.0 https://github.com/pratik007kumar/laravel-slider

laravel slider with full feacher by using slick slider js plugin

  Sources   Download

MIT

The Requires

 

by Pratik Kumar

laravel slider laravel 5.4 image slider laravel slider laravel banner and slider