PHP code example of bpocallaghan / testimonials

1. Go to this page and download the library: Download bpocallaghan/testimonials library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

bpocallaghan / testimonials example snippets

bash
Route::group(['prefix' => 'general', 'namespace' => 'Testimonials\Controllers\Admin'], function () {
    Route::get('testimonials/order', 'OrderController@index');
    Route::post('testimonials/order', 'OrderController@updateOrder');
    Route::resource('testimonials', 'TestimonialsController');
});
bash
php artisan testimonials:publish
bash
php artisan testimonials:publish --files=all
bash
Route::group(['namespace' => 'Testimonials'], function () {
    Route::get('testimonials/order', 'OrderController@index');
    Route::post('testimonials/order', 'OrderController@updateOrder');
    Route::resource('testimonials', 'TestimonialsController');
});