%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/ugotscom/kma/app/Exports/
Upload File :
Create Path :
Current File : /home/ugotscom/kma/app/Exports/ExportUser.php

<?php

namespace App\Exports;

use App\Member;
use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;

class ExportUser implements FromCollection, WithHeadings
{
    /**
    * @return \Illuminate\Support\Collection
    */
    public function collection()
    {
        return Member::all();
    }
    public function headings(): array

    {

        return [

            'id',
            'profile_image',
            'name',
            'designation',
            'company_name',
            'company_address',
            'home_address',
            'member_code',
            'email',
            'email2',
            'phone',
            'phone2',
            'proposed_by',
            'member_type',
            'gst',
            'status',
            'created_at',
            'updated_at',



        ];

    }
}

Zerion Mini Shell 1.0