repo stringlengths 7 63 | file_url stringlengths 81 284 | file_path stringlengths 5 200 | content stringlengths 0 32.8k | language stringclasses 1
value | license stringclasses 7
values | commit_sha stringlengths 40 40 | retrieved_at stringdate 2026-01-04 15:02:33 2026-01-05 05:24:06 | truncated bool 2
classes |
|---|---|---|---|---|---|---|---|---|
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/Resolve.php | src/Modifiers/Resolve.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/DataUriToBinary.php | src/Modifiers/DataUriToBinary.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/MergeQuery.php | src/Modifiers/MergeQuery.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/DecodeUnreservedCharacters.php | src/Modifiers/DecodeUnreservedCharacters.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/AddRootLabel.php | src/Modifiers/AddRootLabel.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/Basename.php | src/Modifiers/Basename.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/AddBasePath.php | src/Modifiers/AddBasePath.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/AppendSegment.php | src/Modifiers/AppendSegment.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/RemoveEmptySegments.php | src/Modifiers/RemoveEmptySegments.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/Relativize.php | src/Modifiers/Relativize.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League.uri
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri/blob/master/LICENSE (MIT License)
* @version 4.2.0
* @link https://github.co... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/AddLeadingSlash.php | src/Modifiers/AddLeadingSlash.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/KsortQuery.php | src/Modifiers/KsortQuery.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/CallableAdapter.php | src/Modifiers/CallableAdapter.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/src/Modifiers/Pipeline.php | src/Modifiers/Pipeline.php | <?php
/**
* League.Uri (http://uri.thephpleague.com)
*
* @package League\Uri
* @subpackage League\Uri\Modifiers
* @author Ignace Nyamagana Butera <nyamsprod@gmail.com>
* @copyright 2016 Ignace Nyamagana Butera
* @license https://github.com/thephpleague/uri-manipulations/blob/master/LICENSE (MIT Licens... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/tests/QueryModifierTest.php | tests/QueryModifierTest.php | <?php
namespace LeagueTest\Uri;
use InvalidArgumentException;
use League\Uri;
use League\Uri\Components\Query;
use League\Uri\Schemes\Http;
use PHPUnit\Framework\TestCase;
/**
* @group query
* @group modifier
* @group query-modifier
*/
class QueryModifierTest extends TestCase
{
/**
* @var Http
*/
... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/tests/PipelineTest.php | tests/PipelineTest.php | <?php
namespace LeagueTest\Uri;
use GuzzleHttp\Psr7;
use InvalidArgumentException;
use League\Uri\Modifiers\CallableAdapter;
use League\Uri\Modifiers\Pipeline;
use League\Uri\Modifiers\RemoveDotSegments;
use League\Uri\Schemes\Ftp;
use League\Uri\Schemes\Http;
use PHPUnit\Framework\TestCase;
/**
* @group pipeline
... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/tests/HostModifierTest.php | tests/HostModifierTest.php | <?php
namespace LeagueTest\Uri;
use GuzzleHttp\Psr7\Uri as GuzzleUri;
use InvalidArgumentException;
use League\Uri;
use League\Uri\Components\Host;
use League\Uri\Schemes\Http;
use PHPUnit\Framework\TestCase;
/**
* @group host
* @group modifier
*/
class HostModifierTest extends TestCase
{
/**
* @var Http... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/tests/FormatterTest.php | tests/FormatterTest.php | <?php
namespace LeagueTest\Uri;
use InvalidArgumentException;
use League\Uri\Components\Host;
use League\Uri\Components\Query;
use League\Uri\Components\Scheme;
use League\Uri\Modifiers\Formatter;
use League\Uri\Schemes\Data;
use League\Uri\Schemes\Http;
use PHPUnit\Framework\TestCase;
use Zend\Diactoros\Uri as ZendU... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/tests/FunctionsTest.php | tests/FunctionsTest.php | <?php
namespace LeagueTest\Uri;
use InvalidArgumentException;
use League\Uri;
use League\Uri\Schemes\Http;
use PHPUnit\Framework\TestCase;
/**
* @group functions
*/
class FunctionsTest extends TestCase
{
/**
* @dataProvider uriProvider
*
* @covers \League\Uri\Modifiers\uri_reference
* @cove... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/tests/UriModifierTest.php | tests/UriModifierTest.php | <?php
namespace LeagueTest\Uri;
use InvalidArgumentException;
use League\Uri;
use League\Uri\Interfaces\Uri as LeagueUriInterface;
use League\Uri\Schemes\Data;
use League\Uri\Schemes\Ftp;
use League\Uri\Schemes\Http;
use PHPUnit\Framework\TestCase;
/**
* @group uri
* @group modifier
* @group uri-modifier
*/
clas... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
thephpleague/uri-manipulations | https://github.com/thephpleague/uri-manipulations/blob/6058f5139cf11b972f54ab622b186d3e905b216d/tests/PathModifierTest.php | tests/PathModifierTest.php | <?php
namespace LeagueTest\Uri;
use GuzzleHttp\Psr7;
use InvalidArgumentException;
use League\Uri;
use League\Uri\Components\DataPath;
use League\Uri\Components\Path;
use League\Uri\Schemes\Data;
use League\Uri\Schemes\Http;
use PHPUnit\Framework\TestCase;
/**
* @group path
* @group modifier
*/
class PathModifier... | php | MIT | 6058f5139cf11b972f54ab622b186d3e905b216d | 2026-01-05T02:19:00.762326Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/FieldConfig.php | src/FieldConfig.php | <?php
namespace Nayjest\Grids;
use Illuminate\Support\Collection;
/**
* Class FieldConfig
*
* This class describes grid column.
*
* @package Nayjest\Grids
*/
class FieldConfig
{
/**
* Field name.
*
* @var string
*/
protected $name;
/**
* Text label that will be rendered in ... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Grid.php | src/Grid.php | <?php
namespace Nayjest\Grids;
use Event;
use Cache;
use Nayjest\Grids\Components\TFoot;
use Nayjest\Grids\Components\THead;
use View;
use Illuminate\Foundation\Application;
class Grid
{
const SORT_ASC = 'ASC';
const SORT_DESC = 'DESC';
const EVENT_PREPARE = 'grid.prepare';
const EVENT_CREATE = 'gri... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Sorter.php | src/Sorter.php | <?php
namespace Nayjest\Grids;
/**
* Class Sorter
*
* Data sorting manager.
*
* @package Nayjest\Grids
*/
class Sorter
{
/**
* @var Grid
*/
protected $grid;
/**
* Constructor.
*
* @param Grid $grid
*/
public function __construct(Grid $grid)
{
$this->gri... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/DbalDataProvider.php | src/DbalDataProvider.php | <?php
namespace Nayjest\Grids;
use DB;
use Doctrine\DBAL\Query\QueryBuilder;
use Event;
use Illuminate\Foundation\Application;
use Illuminate\Support\Collection;
class DbalDataProvider extends DataProvider
{
protected $collection;
protected $paginator;
/** @var $iterator \ArrayIterator */
protected... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Filtering.php | src/Filtering.php | <?php
namespace Nayjest\Grids;
use Illuminate\Support\Collection;
/**
* Class Filtering
*
* This class manages data filtering.
*
* @package Nayjest\Grids
*/
class Filtering
{
/** @var Grid */
protected $grid;
protected $filters;
/**
* Constructor.
*
* @param Grid $grid
*/
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/EloquentDataRow.php | src/EloquentDataRow.php | <?php
namespace Nayjest\Grids;
/**
* @deprecated
* Class EloquentDataRow
* @package Nayjest\Grids
*/
class EloquentDataRow extends ObjectDataRow
{
}
| php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/DataProvider.php | src/DataProvider.php | <?php
namespace Nayjest\Grids;
/**
* Class DataProvider
* @package Nayjest\Grids
*/
abstract class DataProvider
{
const EVENT_FETCH_ROW = 'grid.dp.fetch_row';
protected $src;
protected $index = 0;
protected $page_size = 100;
protected $current_page = 1;
/**
* Constructor.
*
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/IdFieldConfig.php | src/IdFieldConfig.php | <?php
namespace Nayjest\Grids;
/**
* Class IdFieldConfig
*
* IdFieldConfig is a column type that will render a row number in table rows.
*
* @package Nayjest\Grids
*/
class IdFieldConfig extends FieldConfig
{
/**
* Constructor.
*/
public function __construct()
{
parent::__construct... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/GridConfig.php | src/GridConfig.php | <?php
namespace Nayjest\Grids;
use Illuminate\Support\Collection;
use Nayjest\Grids\Components\Base\RenderableComponentInterface;
use Nayjest\Grids\Components\Base\TComponent;
use Nayjest\Grids\Components\Base\TRegistry;
use Nayjest\Grids\Components\Base\RegistryInterface;
use Nayjest\Grids\Components\TFoot;
use Nayje... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/ArrayDataRow.php | src/ArrayDataRow.php | <?php
namespace Nayjest\Grids;
class ArrayDataRow extends DataRow
{
/**
* {@inheritdoc}
*/
protected function extractCellValue($fieldName)
{
if (strpos($fieldName, '.') !== false) {
$parts = explode('.', $fieldName);
$res = $this->src;
foreach ($parts a... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/FilterConfig.php | src/FilterConfig.php | <?php
namespace Nayjest\Grids;
class FilterConfig
{
const OPERATOR_LIKE = 'like';
const OPERATOR_EQ = 'eq';
const OPERATOR_NOT_EQ = 'n_eq';
const OPERATOR_GT = 'gt';
const OPERATOR_LS = 'lt';
const OPERATOR_LSE = 'ls_e';
const OPERATOR_GTE = 'gt_e';
const OPERATOR_IN = 'in';
/** @... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Grids.php | src/Grids.php | <?php
namespace Nayjest\Grids;
use Nayjest\Builder\Env;
use Nayjest\Grids\Build\Setup;
/**
* Class Grids
*
* Facade for constructing grids using configurations.
*
* @package Nayjest\Grids
*/
class Grids {
protected static $builder;
/**
* Returns builder instance.
*
* @return \Nayjest\Bu... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/DataRow.php | src/DataRow.php | <?php
namespace Nayjest\Grids;
/**
* Class DataRow
*
* Abstract class for DataRowInterface implementations
*
* @package Nayjest\Grids
*/
abstract class DataRow implements DataRowInterface
{
/** @var mixed row data */
protected $src;
/** @var int row id */
protected $id;
/**
* Constru... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/GridInputProcessor.php | src/GridInputProcessor.php | <?php
namespace Nayjest\Grids;
use Illuminate\Support\Facades\App;
use Input;
use Request;
use Form;
/**
* Class GridInputProcessor
*
* This class manages input processing for grid.
*
* @package Nayjest\Grids
*/
class GridInputProcessor
{
/**
* @var Grid
*/
protected $grid;
/**
* @va... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/ObjectDataRow.php | src/ObjectDataRow.php | <?php
namespace Nayjest\Grids;
use Exception;
use RuntimeException;
class ObjectDataRow extends DataRow
{
/**
* @param string $fieldName
* @return mixed
* @throws Exception
*/
protected function extractCellValue($fieldName)
{
if (strpos($fieldName, '.') !== false) {
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/SelectFilterConfig.php | src/SelectFilterConfig.php | <?php
namespace Nayjest\Grids;
class SelectFilterConfig extends FilterConfig
{
protected $template = '*.select';
protected $options = [];
protected $is_submitted_on_change = false;
protected $size = null;
protected $multipleMode = false;
/**
* Returns option items of html select tag.... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/EloquentDataProvider.php | src/EloquentDataProvider.php | <?php
namespace Nayjest\Grids;
use Illuminate\Database\Eloquent\Builder;
use Event;
use Illuminate\Foundation\Application;
use Illuminate\Support\Collection;
class EloquentDataProvider extends DataProvider
{
protected $collection;
protected $paginator;
/** @var $iterator \ArrayIterator */
protected... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/ServiceProvider.php | src/ServiceProvider.php | <?php namespace Nayjest\Grids;
use Illuminate\Foundation\Application;
use Illuminate\Support\ServiceProvider as BaseServiceProvider;
class ServiceProvider extends BaseServiceProvider
{
/**
* Indicates if loading of the provider is deferred.
*
* @var bool
*/
protected $defer = false;
/... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Filter.php | src/Filter.php | <?php
namespace Nayjest\Grids;
use View;
class Filter
{
/** @var FilterConfig */
protected $config;
/** @var FieldConfig */
protected $column;
/**
* Constructor.
*
* @param FilterConfig $config
* @param FieldConfig $column
* @param Grid $grid
*/
public function ... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/_ide_helper.php | src/_ide_helper.php | <?php
use Nayjest\Grids\Grids as Base;
class Grids extends Base {}
| php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/DataRowInterface.php | src/DataRowInterface.php | <?php
namespace Nayjest\Grids;
/**
* Interface DataRowInterface
*
* Interface for row of data received from data provider.
*
* @package Nayjest\Grids
*/
interface DataRowInterface
{
/**
* Returns row ID (row number).
*
* @return integer
*/
public function getId();
/**
* Retu... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Build/Setup.php | src/Build/Setup.php | <?php
namespace Nayjest\Grids\Build;
use Closure;
use DB;
use LogicException;
use Nayjest\Builder\Blueprint;
use Nayjest\Builder\BlueprintsCollection;
use Nayjest\Builder\Builder;
use Nayjest\Builder\Env;
use Nayjest\Builder\Instructions\Base\Instruction;
use Nayjest\Builder\Instructions\Mapping\Build;
use Nayjest\Bui... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Build/Instructions/BuildDataProvider.php | src/Build/Instructions/BuildDataProvider.php | <?php
namespace Nayjest\Grids\Build\Instructions;
use LogicException;
use Nayjest\Builder\Instructions\Base\Instruction;
use Nayjest\Builder\Scaffold;
/**
* Class BuildDataProvider
*
* This class is a build instruction for nayjest/build package
* that defines how to setup grids data provider
*
* @internal
* @... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/RenderFunc.php | src/Components/RenderFunc.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableComponent;
/**
* Class RenderFunc
*
* The component prints value returned by specified PHP function.
*
* @package Nayjest\Grids\Components
*/
class RenderFunc extends RenderableComponent
{
/** @var callable */
protec... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/ColumnHeader.php | src/Components/ColumnHeader.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\FieldConfig;
/**
* Class ColumnHeader
*
* The component for rendering column header
*
* @package Nayjest\Grids\Components
*/
class ColumnHeader extends TableCell
{
protected $tag_name = 'th';
/**
* @param FieldConfig $column
* @retur... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/ExcelExport.php | src/Components/ExcelExport.php | <?php
namespace Nayjest\Grids\Components;
use Event;
use Illuminate\Pagination\Paginator;
use Illuminate\Foundation\Application;
use Maatwebsite\Excel\Classes\LaravelExcelWorksheet;
use Maatwebsite\Excel\Excel;
use Maatwebsite\Excel\Writers\LaravelExcelWriter;
use Nayjest\Grids\Components\Base\RenderableComponent;
us... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Container.php | src/Components/Container.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableRegistry;
class Container extends RenderableRegistry
{
protected $html_tags = ['div'];
public function setHtmlTags(array $tags)
{
$this->html_tags = $tags;
return $this;
}
public function render... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/THead.php | src/Components/THead.php | <?php
namespace Nayjest\Grids\Components;
/**
* Class THead
*
* The component for rendering THEAD html tag inside grid.
*
* @package Nayjest\Grids\Components
*/
class THead extends HtmlTag
{
const NAME = 'thead';
/**
* Returns default set of child components.
*
* @return \Nayjest\Grids\Co... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/TotalsRow.php | src/Components/TotalsRow.php | <?php
namespace Nayjest\Grids\Components;
use LogicException;
use Nayjest\Grids\Components\Base\RenderableComponentInterface;
use Nayjest\Grids\Components\Base\TComponent;
use Nayjest\Grids\Components\Base\TComponentView;
use Nayjest\Grids\ArrayDataRow;
use Nayjest\Grids\DataProvider;
use Nayjest\Grids\DataRow;
use Na... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/SelectFilter.php | src/Components/SelectFilter.php | <?php
namespace Nayjest\Grids\Components;
class SelectFilter extends Filter
{
protected $variants = [];
protected $template = '*.components.filters.select';
public function getVariants()
{
return $this->variants;
}
public function setVariants(array $variants)
{
$this->var... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/SortingControl.php | src/Components/SortingControl.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableComponent;
use Nayjest\Grids\Components\Base\RenderableRegistry;
use Nayjest\Grids\FieldConfig;
/**
* Class SortingControl
*
* The component for rendering sorting controls
* added to column header automatically when field is so... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/PhpSpreadsheetExport.php | src/Components/PhpSpreadsheetExport.php | <?php
namespace Nayjest\Grids\Components;
use Generator;
use Illuminate\Http\Exceptions\HttpResponseException;
use Maatwebsite\Excel\Concerns\FromGenerator;
use Maatwebsite\Excel\Concerns\WithEvents;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Events\BeforeSheet;
use Maatwebsite\Excel\Excel;
u... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/FiltersRow.php | src/Components/FiltersRow.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableRegistry;
/**
* Class FiltersRow
*
* provides additional render sections for columns: 'filters_row_column_<name>'
*
* @package Nayjest\Grids\Components
*/
class FiltersRow extends RenderableRegistry
{
const NAME = 'filters... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/RecordsPerPage.php | src/Components/RecordsPerPage.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableComponent;
/**
* Class RecordsPerPage
*
* The component renders control
* for switching count of records displayed per page.
*
* @package Nayjest\Grids\Components
*/
class RecordsPerPage extends RenderableComponent
{
pro... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/ColumnHeadersRow.php | src/Components/ColumnHeadersRow.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Grid;
/**
* Class ColumnHeadersRow
*
* The component for rendering table row with column headers.
*
* @package Nayjest\Grids\Components
*/
class ColumnHeadersRow extends HtmlTag
{
protected $tag_name = 'tr';
/**
* Initializes component wi... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/ColumnsHider.php | src/Components/ColumnsHider.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableComponent;
/**
* Class ColumnsHider
*
* The component renders control for showing/hiding columns.
*
* @package Nayjest\Grids\Components
*/
class ColumnsHider extends RenderableComponent
{
protected $template = '*.componen... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/OneCellRow.php | src/Components/OneCellRow.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableRegistry;
class OneCellRow extends RenderableRegistry
{
protected $name = 'one_cell_row';
/**
* {@inheritdoc}
*/
public function render()
{
$colspan = $this->grid->getConfig()->getColumns()->count(... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/TFoot.php | src/Components/TFoot.php | <?php
namespace Nayjest\Grids\Components;
use Illuminate\Foundation\Application;
/**
* Class TFoot
*
* The component for rendering TFOOT html tag inside grid.
*
* @package Nayjest\Grids\Components
*/
class TFoot extends HtmlTag
{
const NAME = 'tfoot';
/**
* Returns default set of child components.
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/HtmlTag.php | src/Components/HtmlTag.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableRegistry;
class HtmlTag extends RenderableRegistry
{
protected $tag_name;
protected $content;
/**
* HTML tag attributes.
* Keys are attribute names and values are attribute values.
* @var array
*/
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Tr.php | src/Components/Tr.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\DataRowInterface;
/**
* Class Tr
*
* The component for rendering TR html tag inside grid.
*
* @package Nayjest\Grids\Components
*/
class Tr extends HtmlTag
{
/** @var DataRowInterface */
protected $data_row;
/**
* Returns data row.
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/CsvExport.php | src/Components/CsvExport.php | <?php
namespace Nayjest\Grids\Components;
use Event;
use Illuminate\Pagination\Paginator;
use Illuminate\Foundation\Application;
use Illuminate\Http\Response;
use Nayjest\Grids\Components\Base\RenderableComponent;
use Nayjest\Grids\Components\Base\RenderableRegistry;
use Nayjest\Grids\DataProvider;
use Nayjest\Grids\... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Filter.php | src/Components/Filter.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableComponent;
class Filter extends RenderableComponent
{
protected $filtering_func;
protected $default_value;
protected $template = '*.components.filters.input';
protected $label;
/**
* Returns function th... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Pager.php | src/Components/Pager.php | <?php
namespace Nayjest\Grids\Components;
use DomainException;
use Illuminate\Foundation\Application;
use Illuminate\Pagination\Paginator;
use Nayjest\Grids\Components\Base\RenderableComponent;
use Nayjest\Grids\Grid;
class Pager extends RenderableComponent
{
/**
* @var \Illuminate\Pagination\Factory
*... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/ShowingRecords.php | src/Components/ShowingRecords.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\Components\Base\RenderableComponent;
/**
* Class ShowingRecords
*
* Renders text: Showing records $from — $to of $total
*
* @package Nayjest\Grids\Components
*/
class ShowingRecords extends RenderableComponent
{
protected $template = '*.components... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/TableCell.php | src/Components/TableCell.php | <?php
namespace Nayjest\Grids\Components;
use Nayjest\Grids\FieldConfig;
/**
* Class TableCell
*
* The component for rendering TD html tag inside grid.
*
* @package Nayjest\Grids\Components
*/
class TableCell extends HtmlTag
{
protected $tag_name = 'td';
/** @var FieldConfig */
protected $column... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/TComponentView.php | src/Components/Base/TComponentView.php | <?php
namespace Nayjest\Grids\Components\Base;
trait TComponentView
{
use TRenderable {
TRenderable::getTemplate as private getTemplateInternal;
}
protected $render_section;
/**
* Returns variables for usage inside view template.
*
* @return array
*/
protected function... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/RenderableComponentInterface.php | src/Components/Base/RenderableComponentInterface.php | <?php
namespace Nayjest\Grids\Components\Base;
/**
* Interface RenderableComponentInterface
*
* Interface for grid components that can be rendered.
*
* @package Nayjest\Grids\Components\Base
*/
interface RenderableComponentInterface extends
RenderableInterface,
ComponentInterface
{
/**
* Returns... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/ComponentInterface.php | src/Components/Base/ComponentInterface.php | <?php
namespace Nayjest\Grids\Components\Base;
use Nayjest\Grids\Grid;
/**
* Interface ComponentInterface
*
* Interface of Grid component.
*
* Basically, component is an object that can be attached
* to grid components hierarchy and react to initialize & prepare calls.
*
* @package Nayjest\Grids\Components\Ba... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/RenderableInterface.php | src/Components/Base/RenderableInterface.php | <?php
namespace Nayjest\Grids\Components\Base;
/**
* Interface RenderableInterface
*
* Interface for objects that can be rendered.
*
* @package Nayjest\Grids\Components\Base
*/
interface RenderableInterface
{
/**
* Renders object.
*
* @return string
*/
public function render();
/... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/TRenderable.php | src/Components/Base/TRenderable.php | <?php
namespace Nayjest\Grids\Components\Base;
use View;
/**
* Trait TRenderable
*
* Default implementation of rendering facilities for grid component, etc.
*
* @todo Avoid usage of Laravel Facade aliases (?)
* @todo Absence of getViewData isn't convenient (?)
*
* @package Nayjest\Grids\Components\Base
*/
tr... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/TComponent.php | src/Components/Base/TComponent.php | <?php
namespace Nayjest\Grids\Components\Base;
use Nayjest\Grids\Grid;
/**
* Class TComponent
*
* ComponentInterface interface implementation.
*
* @see Nayjest\Grids\Components\Base\ComponentInterface
*
* @package Nayjest\Grids\Components\Base
*/
trait TComponent
{
use TTaggable;
protected $parent;
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/TTaggable.php | src/Components/Base/TTaggable.php | <?php
namespace Nayjest\Grids\Components\Base;
trait TTaggable
{
protected $tags = [];
/**
* @deprecated
* @return array
*/
public function getTags()
{
return $this->tags;
}
/**
* @deprecated
* @param array $tags
* @return $this
*/
public functi... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/RenderableComponent.php | src/Components/Base/RenderableComponent.php | <?php
namespace Nayjest\Grids\Components\Base;
/**
* Class RenderableComponent
*
* Base class for components that can be rendered.
*
* @package Nayjest\Grids\Components\Base
*/
class RenderableComponent implements RenderableComponentInterface
{
use TComponent;
use TComponentView;
}
| php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/RegistryInterface.php | src/Components/Base/RegistryInterface.php | <?php
namespace Nayjest\Grids\Components\Base;
/**
* Interface RegistryInterface
*
* Interface of Grid components registry
*
* @package Nayjest\Grids\Components\Base
*/
interface RegistryInterface
{
/**
* Returns collection of attached components.
*
* @return \Illuminate\Support\Collection|Com... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/TaggableInterface.php | src/Components/Base/TaggableInterface.php | <?php
namespace Nayjest\Grids\Components\Base;
/**
* Interface TaggableInterface
* @deprecated
* @package Nayjest\Grids\Components\Base
*/
interface TaggableInterface
{
/**
* @deprecated
* @return array
*/
public function getTags();
/**
* @deprecated
* @param array $tagNames
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/RenderableRegistry.php | src/Components/Base/RenderableRegistry.php | <?php
namespace Nayjest\Grids\Components\Base;
/**
* Class RenderableRegistry
*
* Base class for components that can hold children components and be rendered.
*
* @package Nayjest\Grids\Components\Base
*/
class RenderableRegistry implements
RenderableComponentInterface,
RegistryInterface
{
use TCompo... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Base/TRegistry.php | src/Components/Base/TRegistry.php | <?php
namespace Nayjest\Grids\Components\Base;
use Illuminate\Support\Collection;
use Nayjest\Grids\Grid;
trait TRegistry
{
protected $components;
/**
* Returns default child components.
*
* Override this method.
*
* @return \Illuminate\Support\Collection|ComponentInterface[]|array
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Filters/DateRangePicker.php | src/Components/Filters/DateRangePicker.php | <?php
namespace Nayjest\Grids\Components\Filters;
use Carbon\Carbon;
use Nayjest\Grids\Components\Filter;
use Nayjest\Grids\DataProvider;
/**
* Class DateRangePicker
*
* Date Range Picker for Bootstrap.
* https://github.com/dangrossman/bootstrap-daterangepicker
*
* This component does not includes javascript & ... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/src/Components/Laravel5/Pager.php | src/Components/Laravel5/Pager.php | <?php
namespace Nayjest\Grids\Components\Laravel5;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\App;
use Nayjest\Grids\Components\Base\RenderableComponent;
use Nayjest\Grids\Grid;
class Pager extends RenderableComponent
{
protected $input_key;
protected $previous_page_name;
protec... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/grid.php | resources/views/default/grid.php | <form>
<?php
/** @var Nayjest\Grids\DataProvider $data **/
/** @var Nayjest\Grids\Grid $grid **/
?>
<table class="table table-striped" id="<?= $grid->getConfig()->getName() ?>">
<?= $grid->header() ? $grid->header()->render() : '' ?>
<?php # ========== TABLE BODY ========== ?>
<tbody>
<?php while($row = $data->getRow()... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/columns_hider.php | resources/views/default/components/columns_hider.php | <?php /** @var Nayjest\Grids\Components\ColumnsHider $component */ ?>
<span data-role="columns-hider" id="<?= $component->getId('container') ?>" >
<button
id="<?= $component->getId('btn') ?>"
class="btn btn-sm btn-default"
data-toggle="popover"
type="button"
data-placement="b... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/sorting_control.php | resources/views/default/components/sorting_control.php | <small style="white-space: nowrap">
<a
title="Sort ascending"
<?php if($column->isSortedAsc()): ?>
class="text-success"
<?php else: ?>
href="<?= $grid->getSorter()->link($column, 'ASC') ?>"
<?php endif ?>
>
▲
</a>
<a
tit... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/excel_export.php | resources/views/default/components/excel_export.php | <?php
/**
* @author: Vitaliy Ofat <i@vitaliy-ofat.com>
*
* @var $grid Nayjest\Grids\Grid
*/
use Nayjest\Grids\Components\ExcelExport;
?>
<span>
<a
href="<?= $grid
->getInputProcessor()
->getUrl([ExcelExport::INPUT_PARAM => 1])
?>"
class="btn btn-sm btn-default"
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/records_per_page.php | resources/views/default/components/records_per_page.php | <span>Records per page</span>
<?php
/** @var Nayjest\Grids\Components\RecordsPerPage $component */
echo \Form::select(
$component->getInputName(),
$component->getVariants(),
$component->getValue(),
[
'class' => "form-control input-sm grids-control-records-per-page",
'style' => 'display: ... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/filters_row.php | resources/views/default/components/filters_row.php | <?php # ========== FILTERS ROW ==========
/**
* @var Nayjest\Grids\Components\FiltersRow $component
* @var Nayjest\Grids\FieldConfig $column
*/
?>
<?php if($grid->getFiltering()->available()): ?>
<tr>
<?php foreach($columns as $column): ?>
<td
class="column-<?= $co... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/totals.php | resources/views/default/components/totals.php | <?php
use Nayjest\Grids\Components\TotalsRow;
/** @var TotalsRow $component */
?>
<tr>
<?php foreach($columns as $column): ?>
<td
class="column-<?= $column->getName() ?>"
<?= $column->isHidden()?'style="display:none"':'' ?>
>
<?php
if ($component->... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/showing_records.php | resources/views/default/components/showing_records.php | <span class="showing_records">
Showing records <?= $from ?>—<?= $to ?> of <?= $total ?>
</span>
| php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/csv_export.php | resources/views/default/components/csv_export.php | <?php
/**
* @author: Vitaliy Ofat <i@vitaliy-ofat.com>
*
* @var $grid Nayjest\Grids\Grid
*/
use Nayjest\Grids\Components\CsvExport;
?>
<span>
<a
href="<?= $grid
->getInputProcessor()
->getUrl([CsvExport::INPUT_PARAM => 1])
?>"
class="btn btn-sm btn-default"
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/filters/date_picker.php | resources/views/default/components/filters/date_picker.php | <?php
/** @var Nayjest\Grids\Components\Filter $component */
$id = uniqid();
?>
<?php if($component->getLabel()): ?>
<span><?= $component->getLabel() ?></span>
<?php endif ?>
<input
class="form-control input-sm"
style="display: inline; width: 85px; margin-right: 10px"
name="<?= $component->getInputName(... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/filters/select.php | resources/views/default/components/filters/select.php | <?php
/** @var Nayjest\Grids\Components\SelectFilter $component */
?>
<?php if ($component->getLabel()): ?>
<span><?= $component->getLabel() ?></span>
<?php endif ?>
<?=
\Form::select(
$component->getInputName(),
$component->getVariants(),
$component->getValue(),
[
'class' => "form-control i... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/filters/checkboxes.php | resources/views/default/components/filters/checkboxes.php | <?php
/** @var Nayjest\Grids\Components\SelectFilter $component */
$value = $component->getValue();
if (!is_array($value)) $value = [];
$id = uniqid() . mt_rand();
?>
<div class="btn-group">
<button type="button" class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown">
<?= $component->getLabel... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/filters/input.php | resources/views/default/components/filters/input.php | <?php
/** @var Nayjest\Grids\Components\Filter $component */
?>
<?php if($component->getLabel()): ?>
<span><?= $component->getLabel() ?></span>
<?php endif ?>
<input
class="form-control input-sm"
style="display: inline; width: 80px; margin-right: 10px"
type="text"
name="<?= $component->getInputName(... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/components/filters/date_range_picker.php | resources/views/default/components/filters/date_range_picker.php | <?php
/** @var Nayjest\Grids\Components\Filters\DateRangePicker $component */
$id = uniqid();
?>
<?php if($component->getLabel()): ?>
<span>
<span class="glyphicon glyphicon-calendar"></span>
<?= $component->getLabel() ?>
</span>
<?php endif ?>
<input
class="form-control input-sm"
style=... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/filters/select.php | resources/views/default/filters/select.php | <?php
/** @var Nayjest\Grids\Filter $filter */
/** @var Nayjest\Grids\SelectFilterConfig $cfg */
$cfg = $filter->getConfig();
$onchange = '';
if (method_exists($cfg, 'isSubmittedOnChange') && $cfg->isSubmittedOnChange()) {
$onchange = 'onchange="this.form.submit()"';
}
?>
<select
class="form-control input-sm"
... | php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
Nayjest/Grids | https://github.com/Nayjest/Grids/blob/a14880d5367f3f0fd647766f115f1bb7be8bdf78/resources/views/default/filters/input.php | resources/views/default/filters/input.php | <?php
/** @var Nayjest\Grids\Filter $filter */
?>
<input
class="form-control input-sm"
name="<?= $filter->getInputName() ?>"
value="<?= $filter->getValue() ?>"
/>
<?php if($label): ?>
<span><?= $label ?></span>
<?php endif ?>
| php | MIT | a14880d5367f3f0fd647766f115f1bb7be8bdf78 | 2026-01-05T02:19:07.302329Z | false |
mohamedsabil83/filament-forms-tinyeditor | https://github.com/mohamedsabil83/filament-forms-tinyeditor/blob/a3af2c30d99e4c6e5ce5c1605f769ca4ed108195/src/FilamentFormsTinyeditorServiceProvider.php | src/FilamentFormsTinyeditorServiceProvider.php | <?php
namespace Mohamedsabil83\FilamentFormsTinyeditor;
use Filament\Support\Assets\Js;
use Filament\Support\Facades\FilamentAsset;
use Spatie\LaravelPackageTools\Package;
use Spatie\LaravelPackageTools\PackageServiceProvider;
class FilamentFormsTinyeditorServiceProvider extends PackageServiceProvider
{
public s... | php | MIT | a3af2c30d99e4c6e5ce5c1605f769ca4ed108195 | 2026-01-05T02:19:15.856192Z | false |
mohamedsabil83/filament-forms-tinyeditor | https://github.com/mohamedsabil83/filament-forms-tinyeditor/blob/a3af2c30d99e4c6e5ce5c1605f769ca4ed108195/src/Components/TinyEditor.php | src/Components/TinyEditor.php | <?php
namespace Mohamedsabil83\FilamentFormsTinyeditor\Components;
use Filament\Forms\Components\Concerns;
use Filament\Forms\Components\Contracts;
use Filament\Forms\Components\Field;
class TinyEditor extends Field implements Contracts\CanBeLengthConstrained, Contracts\HasFileAttachments
{
use Concerns\CanBeLen... | php | MIT | a3af2c30d99e4c6e5ce5c1605f769ca4ed108195 | 2026-01-05T02:19:15.856192Z | false |
mohamedsabil83/filament-forms-tinyeditor | https://github.com/mohamedsabil83/filament-forms-tinyeditor/blob/a3af2c30d99e4c6e5ce5c1605f769ca4ed108195/tests/Pest.php | tests/Pest.php | <?php
use Mohamedsabil83\FilamentFormsTinyeditor\Tests\TestCase;
uses(TestCase::class)->in(__DIR__);
| php | MIT | a3af2c30d99e4c6e5ce5c1605f769ca4ed108195 | 2026-01-05T02:19:15.856192Z | false |
mohamedsabil83/filament-forms-tinyeditor | https://github.com/mohamedsabil83/filament-forms-tinyeditor/blob/a3af2c30d99e4c6e5ce5c1605f769ca4ed108195/tests/TestCase.php | tests/TestCase.php | <?php
namespace Mohamedsabil83\FilamentFormsTinyeditor\Tests;
use Mohamedsabil83\FilamentFormsTinyeditor\FilamentFormsTinyeditorServiceProvider;
use Orchestra\Testbench\TestCase as Orchestra;
class TestCase extends Orchestra
{
protected function getPackageProviders($app)
{
return [
Filame... | php | MIT | a3af2c30d99e4c6e5ce5c1605f769ca4ed108195 | 2026-01-05T02:19:15.856192Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.