smartystudio/testimonialcrud

This package is abandoned and no longer maintained. No replacement package was suggested.

An admin interface for Laravel Backpack to easily add, edit or remove Testimonials.

1.0.1 2021-07-21 15:22 UTC

This package is auto-updated.

Last update: 2024-02-08 16:27:30 UTC


README

An admin interface for Laravel Backpack to easily add, edit or remove Testimonials.

Install

  1. In your terminal:
$ composer require smartystudio/testimonialcrud
  1. If your Laravel version does not have package autodiscovery then add the service provider to your config/app.php file:
Cviebrock\EloquentSluggable\ServiceProvider::class,
SmartyStudio\TestimonialCrud\TestimonialCRUDServiceProvider::class,
  1. Publish & run the migration file
$ php artisan vendor:publish --provider="SmartyStudio\TestimonialCrud\TestimonialCRUDServiceProvider" # publish migration file
$ php artisan migrate # create the testimonial table
  1. [Optional] Add a menu item for it in resources/views/vendor/backpack/base/inc/sidebar.blade.php or menu.blade.php:
<li class="nav-item"><a class="nav-link" href="{{ backpack_url('testimonial') }}"><i class="nav-icon la la-bullhorn"></i><span>Testimonials</span></a></li>
  1. Add a TestimonialComposer in App\Providers\AppServiceProvider.php:
use SmartyStudio\TestimonialCrud\app\Http\View\Composers\TestimonialComposer;
  1. Add the line below after the first curly brackets of boot() method in App\Providers\AppServiceProvider.php file:
view()->composer('folder_name.*', TestimonialComposer::class);

folder_name - this is the folder with the front-end template files where the testimonials should appear

How to use the package

  • First create a testimonial
  • Add title
  • Add content
  • Add client
  • Add client url (optional)
  • Upload an image
  • Save the testimonial

Change log

Please see CHANGELOG for more information what has changed recently.

Testing

// TODO

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security related issues, please email us instead of using the issue tracker.

Credits

  • Martin Nestorov - Web Developer @ Smarty Studio MBN Ltd.
  • All Contributors

License

The SmartyStudio\TestimonialCRUD is open-source software licensed under the MIT license.