Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

smartystudio/testimonialcrud

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TestimonialCrud

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.

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages