Download Laravel-xCRUD Integration Full Code that includes this full demo


<?php

namespace App\Http\Controllers;

use 
Illuminate\Http\Request;

class 
xColumnsController extends Controller
{
    public function 
index()
    {
        
$xcrud Xcrud_get_instance();
        
$xcrud->table('customers');
        
$xcrud->columns('customerName,phone,city,country'); // columns in grid
        
$xcrud->fields('customerName,creditLimit,salesRepEmployeeNumber'); // fields in details
        
$render $xcrud->render();     

        return 
view('xcrud_simple', ['render' => $render]);
    }
}

Customers

#CustomernamePhoneCityCountry 
1Signal Gift Stores7025551838Las VegasUSA View Edit Remove
2Australian Collectors, Co.34343403 9520 4555MelbourneAustralia View Edit Remove
3La Rochelle Gifts mzgs40.67.8555NantesFrance View Edit Remove
4Baane Mini Imports07-98 9555StavernNorway View Edit Remove
5Mini Gifts Distributors Ltd.4155551450San RafaelUSA View Edit Remove
6Zbyszek Zbyszek Piestrzeniewicz266427555WarszawaPoland View Edit Remove
7Blauer See Auto, Co.+49 69 66 90 2555FrankfurtGermany View Edit Remove
8Mini Wheels Co.6505555787San FranciscoUSA View Edit Remove
9Land of Toys Inc.2125557818NYCUSA View Edit Remove
10Euro+ Shopping Channel(91) 555 94 44MadridSpain View Edit Remove
Search