onestartup / slider
sliders for websites onestartup
0.0.1
2018-07-17 20:14 UTC
This package is not auto-updated.
Last update: 2025-03-24 18:03:18 UTC
README
onestartup/slider is a module slider for websites
Installation
- Run this in the terminal
composer require onestartup/slider
- add the ServiceProvider to the providers array in config/app.php
Onestartup\Slider\SliderServiceProvider::class,
- add the ServiceProvider to the alias array in config/app.php
'Slide' => Onestartup\Slider\Model\Slider::class,
- Run migration
php artisan migrate
- run serv
php artisan serve
- test in the view the slider
@foreach(Slide::getSlides("-insert slide name-") as $slider)
{{$slider}}
@endforeach