Download the PHP package davide-casiraghi/laravel-testimonials without Composer
On this page you can find all versions of the php package davide-casiraghi/laravel-testimonials. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download davide-casiraghi/laravel-testimonials
More information about davide-casiraghi/laravel-testimonials
Files in davide-casiraghi/laravel-testimonials
Package laravel-testimonials
Short Description A Laravel package to show testimonials trough a carousel. The contents support multi language.
License MIT
Homepage https://github.com/davide-casiraghi/laravel-testimonials
Informations about the package laravel-testimonials
Laravel testimonials
A Laravel package to show testimonials trough a carousel. The contents support multi language.
Installation
You can install the package via composer:
Publish all the vendor files
Run the database migrations
Install also slick carousel
Import the scss files
Add this line to your resources/sass/app.scss file:
and then run in console:
Import the js files
Add this line to your resources/js/app.js file:
Usage
Authorization
To work the package aspect that in your user model and table you have a field called group that can have this possible values:
- null: Registered user
- 1: Super Admin
- 2: Admin
Just the users that have Admin and Super admin privileges can access to the routes that allow to create, edit and delete the blogs, categories and posts. Otherwise you get redirected to the homepage.
Access to the package
After the package is published this new routes will be available:
- /testimonialGroups
- /testimonials
Accessing to this routes you can manage new testimonial groups and testimonials.
Replace the snippet occurrances
Add the replace funcion to your code in the show() funcion of the controller.
Use the code snippet in your posts
Then the library will replace all the occurances of this snippet:
with the some HTML code of the relative testimonial group. This code uses bootstrap 4.
Testing
Changelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Davide Casiraghi
- All Contributors
License
The MIT License (MIT). Please see License File for more information.
Laravel Package Boilerplate
This package was generated using the Laravel Package Boilerplate.
All versions of laravel-testimonials with dependencies
astrotomic/laravel-translatable Version ^11.1
davide-casiraghi/laravel-form-partials Version ^1.0
illuminate/support Version 5.8.* || ^6.0
intervention/image Version ^2.5
mcamara/laravel-localization Version ^1.3
nesbot/carbon Version ^2.20