karim-qaderi/zoroaster-column-filter

There is no license information available for the latest version (v1.0) of this package.

A Laravel Zoroaster column queryer filter

v1.0 2019-02-23 08:40 UTC

This package is auto-updated.

Last update: 2024-10-24 05:43:21 UTC


README

نصب

composer require karim-qaderi/zoroaster-column-filter

استفاده

 php artisan Zoroaster:filter ColumnFilter 
<?php

    namespace App\Zoroaster\Filters;

    use KarimQaderi\ZoroasterColumnFilter\ColumnFilter as Filter;

    class ColumnFilter extends Filter
    {
        public $label="فیلتر ستون";
        
        public function columns()
        {
            return [
                ''=>'',
                'id'=>'ID',
                'title'=>'عنوان',
            ];
        }

    }