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 
1Atelier graphique40.32.2555NantesFrance View Edit Remove
2Signal Gift Stores7025551838Las VegasUSA View Edit Remove
3Australian Collectors, Co.03 9520 4555MelbourneAustralia View Edit Remove
4La Rochelle Gifts40.67.8555NantesFrance View Edit Remove
5Baane Mini Imports07-98 9555StavernNorway View Edit Remove
6Mini Gifts Distributors Ltd.4155551450San RafaelUSA View Edit Remove
7Zbyszek Zbyszek Piestrzeniewicz266427555WarszawaPoland View Edit Remove
8Blauer See Auto, Co.+49 69 66 90 2555FrankfurtGermany View Edit Remove
9Mini Wheels Co.6505555787San FranciscoUSA View Edit Remove
10Land of Toys Inc.2125557818NYCUSA View Edit Remove
Search