Donations Appreciated

There is no exercise better for the heart than reaching down and lifting people up. - John Holmes

CollectionController.php - IoC container

Id Name Email Created At Updated At


    public function getIoc()
        return view('datatables.collection.ioc');

    public function getIocData()
        $datatables = app('datatables');
        $users = User::select(['id', 'name', 'email', 'created_at', 'updated_at'])->get();

        return $datatables->collection($users)->make(true);


        processing: true,
        serverSide: true,
        ajax: '',
        columns: [
            {data: 'id', name: 'id'},
            {data: 'name', name: 'name'},
            {data: 'email', name: 'email'},
            {data: 'created_at', name: 'created_at'},
            {data: 'updated_at', name: 'updated_at'}