2017 © Pedro Peláez
 

library laravel-backpack-slideshow

Admin interface for managing slideshow

image

novius/laravel-backpack-slideshow

Admin interface for managing slideshow

  • Monday, December 11, 2017
  • by novius
  • Repository
  • 4 Watchers
  • 2 Stars
  • 176 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 7 Versions
  • 23 % Grown

The README.md

Laravel Backpack Slideshow

Travis Packagist Release Licence, (*1)

Admin interface for managing slideshow, (*2)

Installation

In your terminal:, (*3)

composer require novius/laravel-backpack-slideshow

In config/app.php, add:, (*4)

\Novius\Backpack\Slideshow\SlideshowServiceProvider::class,
\Spatie\MediaLibrary\MediaLibraryServiceProvider::class,

Run, (*5)

```php?start_inline=1 php artisan vendor:publish --provider="Novius\Backpack\Slideshow\SlideshowServiceProvider" --tag="routes" php artisan vendor:publish --provider="Novius\Backpack\Slideshow\SlideshowServiceProvider" --tag="lang" php artisan vendor:publish --provider="Novius\Backpack\Slideshow\SlideshowServiceProvider" --tag="migrations" php artisan vendor:publish --provider="Novius\Backpack\Slideshow\SlideshowServiceProvider" --tag="views" php artisan vendor:publish --provider="Novius\Backpack\Slideshow\SlideshowServiceProvider" --tag="config", (*6)

php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="migrations", (*7)

php artisan migrate, (*8)

## Usage & Features
### Integration on admin panel:

Add code bellow to : `resources/views/vendor/backpack/base/inc/sidebar.blade.php` 

```php
<li>
  <a href="{{ route('crud.slideshow.index') }}" title="">
    <i class="fa fa-picture-o"></i>
    <span>{{ trans('backpack_slideshow::slideshow.slideshow') }}</span>
  </a>
</li>

You can go and create your slideshow.

Then you can display your slideshow like this:

// The function "display" takes one parameter:
//  1. Slug => Identifies the slideshow
<?php echo \Novius\Backpack\Slideshow\Models\Slideshow::display('slugOfMySlideshow'); ?>

Feel free to override the base view to suit your needs.

/resources/views/vendor/laravel-backpack-slideshow/slider.blade.php

Testing

Run the tests with:, (*9)

./test.sh

Lint

Run php-cs with:, (*10)

./cs.sh

Contributing

Contributions are welcome! Leave an issue on Github, or create a Pull Request., (*11)

Licence

This package is under GNU Affero General Public License v3 or (at your option) any later version., (*12)

The Versions

11/12 2017

dev-feature/crud-3.3-support

dev-feature/crud-3.3-support

Admin interface for managing slideshow

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

laravel novius

16/11 2017

0.1.x-dev

0.1.9999999.9999999-dev

Admin interface for managing slideshow

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

laravel novius

16/11 2017

0.2.x-dev

0.2.9999999.9999999-dev

Admin interface for managing slideshow

  Sources   Download

AGPL-3.0

The Requires

 

The Development Requires

laravel novius