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 |
|---|---|---|---|---|---|---|---|---|
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/AuthModule.php | AuthModule.php | <?php
/**
* AuthModule class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth
* @version 1.7.0
*/
/**
* Web module for managing Yii's built-in author... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/controllers/AssignmentController.php | controllers/AssignmentController.php | <?php
/**
* AssignmentController class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.controllers
*/
/**
* Controller for assignment related actions... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/controllers/TaskController.php | controllers/TaskController.php | <?php
/**
* TaskController class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.controllers
*/
/**
* Controller for task related actions.
*/
class ... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/controllers/AuthItemController.php | controllers/AuthItemController.php | <?php
/**
* AuthItemController class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.controllers
*/
/**
* Base controller for authorization item rela... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/controllers/OperationController.php | controllers/OperationController.php | <?php
/**
* OperationController class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.controllers
*/
/**
* Controller for operation related actions.
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/controllers/RoleController.php | controllers/RoleController.php | <?php
/**
* RoleController class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.controllers
*/
/**
* Controller for role related actions.
*/
class ... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/components/PermissionDataProvider.php | components/PermissionDataProvider.php | <?php
/**
* PermissionDataProvider class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.components
*/
/**
* Data provider for listing permissions.
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/components/AuthWebUser.php | components/AuthWebUser.php | <?php
/**
* AuthWebUser class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2013-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.components
*/
/**
* Web user that allows for passing access checks when... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/components/AuthBehavior.php | components/AuthBehavior.php | <?php
/**
* AuthBehavior class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.components
*/
/**
* Auth module behavior for the authorization manager... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/components/CachedDbAuthManager.php | components/CachedDbAuthManager.php | <?php
/**
* CachedDbAuthManager class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.components
*/
Yii::import('auth.components.ICachedAuthManager');... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/components/AuthController.php | components/AuthController.php | <?php
/**
* AuthController class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.components
*/
/**
* Base controller for the module.
* Note: Do NOT ... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/components/ICachedAuthManager.php | components/ICachedAuthManager.php | <?php
/**
* ICachedAuthManager class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.components
*/
/**
* Interface for cached authorization managers.... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/components/AuthItemDataProvider.php | components/AuthItemDataProvider.php | <?php
/**
* AuthItemDataProvider class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.components
*/
/**
* Data provider for listing authorization it... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/de/main.php | messages/de/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/uk/main.php | messages/uk/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/pt_br/main.php | messages/pt_br/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/zh/main.php | messages/zh/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/ja/main.php | messages/ja/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/pl/main.php | messages/pl/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/fr/main.php | messages/fr/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/pt/main.php | messages/pt/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/it/main.php | messages/it/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/template/main.php | messages/template/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/ru/main.php | messages/ru/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/es/main.php | messages/es/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/messages/da/main.php | messages/da/main.php | <?php
/**
* Message translations.
*
* This file is automatically generated by 'yiic message' command.
* It contains the localizable messages extracted from source code.
* You may modify this file by translating the extracted messages.
*
* Each array element represents the translation (value) of a message (key).
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/models/AuthItemForm.php | models/AuthItemForm.php | <?php
/**
* AuthItemForm class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.models
*/
/**
* Form model for updating an authorization item.
*/
cla... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/models/AddAuthItemForm.php | models/AddAuthItemForm.php | <?php
/**
* AddAuthItemForm class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.models
*/
/**
* Form model for displaying a list of authorization i... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/views/assignment/view.php | views/assignment/view.php | <?php
/* @var $this AssignmentController */
/* @var $model User */
/* @var $authItemDp AuthItemDataProvider */
/* @var $formModel AddAuthItemForm */
/* @var $form TbActiveForm */
/* @var $assignmentOptions array */
$this->breadcrumbs = array(
Yii::t('AuthModule.main', 'Assignments') => array('index'),
CHtml::v... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/views/assignment/index.php | views/assignment/index.php | <?php
/* @var $this AssignmentController */
/* @var $dataProvider CActiveDataProvider */
$this->breadcrumbs = array(
Yii::t('AuthModule.main', 'Assignments'),
);
?>
<h1><?php echo Yii::t('AuthModule.main', 'Assignments'); ?></h1>
<?php $this->widget(
'bootstrap.widgets.TbGridView',
array(
'type' ... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/views/layouts/main.php | views/layouts/main.php | <?php
/* @var $this AuthController */
?>
<div class="auth-module">
<?php $this->widget(
'bootstrap.widgets.TbNav',
array(
'type' => TbHtml::NAV_TYPE_TABS,
'items' => array(
array(
'label' => Yii::t('AuthModule.main', 'Assignments'),
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/views/authItem/view.php | views/authItem/view.php | <?php
/* @var $this OperationController|TaskController|RoleController */
/* @var $item CAuthItem */
/* @var $ancestorDp AuthItemDataProvider */
/* @var $descendantDp AuthItemDataProvider */
/* @var $formModel AddAuthItemForm */
/* @var $form TbActiveForm */
/* @var $childOptions array */
$this->breadcrumbs = array(
... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/views/authItem/index.php | views/authItem/index.php | <?php
/* @var $this OperationController|TaskController|RoleController */
/* @var $dataProvider AuthItemDataProvider */
$this->breadcrumbs = array(
$this->capitalize($this->getTypeText(true)),
);
?>
<h1><?php echo $this->capitalize($this->getTypeText(true)); ?></h1>
<?php echo TbHtml::linkButton(
Yii::t('Auth... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/views/authItem/update.php | views/authItem/update.php | <?php
/* @var $this OperationController|TaskController|RoleController */
/* @var $model AuthItemForm */
/* @var $item CAuthItem */
/* @var $form TbActiveForm */
$this->breadcrumbs = array(
$this->capitalize($this->getTypeText(true)) => array('index'),
$item->description => array('view', 'name' => $item->name),... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/views/authItem/create.php | views/authItem/create.php | <?php
/* @var $this OperationController|TaskController|RoleController */
/* @var $model AuthItemForm */
/* @var $form TbActiveForm */
$this->breadcrumbs = array(
$this->capitalize($this->getTypeText(true)) => array('index'),
Yii::t('AuthModule.main', 'New {type}', array('{type}' => $this->getTypeText())),
);
?... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/widgets/AuthItemTypeColumn.php | widgets/AuthItemTypeColumn.php | <?php
/**
* AuthItemTypeColumn class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.widgets
*/
/**
* Grid column for displaying the type for an auth... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/widgets/AuthItemColumn.php | widgets/AuthItemColumn.php | <?php
/**
* AuthItemColumn class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.widgets
*/
Yii::import('zii.widgets.grid.CGridColumn');
/**
* Grid ... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/widgets/AuthAssignmentColumn.php | widgets/AuthAssignmentColumn.php | <?php
/**
* AuthAssignmentColumn class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.widgets
*/
Yii::import('zii.widgets.grid.CGridColumn');
/**
*... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/widgets/AuthAssignmentItemsColumn.php | widgets/AuthAssignmentItemsColumn.php | <?php
/**
* AuthAssignmentItemsColumn class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.widgets
*/
/**
* Grid column for displaying the authoriza... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/widgets/AuthItemRemoveColumn.php | widgets/AuthItemRemoveColumn.php | <?php
/**
* AuthItemRemoveColumn class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.widgets
*/
/**
* Grid column for displaying the remove link fo... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/widgets/AuthAssignmentViewColumn.php | widgets/AuthAssignmentViewColumn.php | <?php
/**
* AuthAssignmentViewColumn class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.widgets
*/
/**
* Grid column for displaying the view link ... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/widgets/AuthAssignmentNameColumn.php | widgets/AuthAssignmentNameColumn.php | <?php
/**
* AuthAssignmentNameColumn class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.widgets
*/
/**
* Grid column for displaying the name of th... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/widgets/AuthAssignmentRevokeColumn.php | widgets/AuthAssignmentRevokeColumn.php | <?php
/**
* AuthAssignmentRevokeColumn class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.widgets
*/
/**
* Grid column for displaying the revoke l... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/widgets/AuthItemDescriptionColumn.php | widgets/AuthItemDescriptionColumn.php | <?php
/**
* AuthItemColumn class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.widgets
*/
/**
* Grid column for displaying the description for an a... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
crisu83/yii-auth | https://github.com/crisu83/yii-auth/blob/c1b9108a41f78a46c77e073866410d10e283ac9a/filters/AuthFilter.php | filters/AuthFilter.php | <?php
/**
* AuthFilter class file.
* @author Christoffer Niska <ChristofferNiska@gmail.com>
* @copyright Copyright © Christoffer Niska 2012-
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
* @package auth.components
*/
/**
* Filter that automatically checks if the user has acc... | php | BSD-3-Clause | c1b9108a41f78a46c77e073866410d10e283ac9a | 2026-01-05T05:07:34.734757Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Client.php | src/Client.php | <?php
namespace Psonic;
use Psonic\Exceptions\ConnectionException;
use Psonic\Contracts\Client as ClientInterface;
use Psonic\Contracts\Command as CommandInterface;
use Psonic\Contracts\Response as ResponseInterface;
class Client implements ClientInterface
{
private $resource;
private $host;
private $po... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Ingest.php | src/Ingest.php | <?php
namespace Psonic;
use Psonic\Channels\Channel;
use Psonic\Contracts\Client;
use InvalidArgumentException;
use Psonic\Commands\Ingest\PopCommand;
use Psonic\Commands\Ingest\PushCommand;
use Psonic\Commands\Ingest\CountCommand;
use Psonic\Commands\Ingest\FlushObjectCommand;
use Psonic\Commands\Ingest\FlushBucketC... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Control.php | src/Control.php | <?php
namespace Psonic;
use Psonic\Channels\Channel;
use Psonic\Contracts\Client;
use Psonic\Commands\Control\InfoCommand;
use Psonic\Commands\Control\TriggerCommand;
use Psonic\Commands\Control\StartControlChannelCommand;
class Control extends Channel
{
/**
* Control constructor.
* @param Client $cli... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/SonicResponse.php | src/SonicResponse.php | <?php
namespace Psonic;
use Psonic\Contracts\Response as ResponseInterface;
use Psonic\Exceptions\CommandFailedException;
class SonicResponse implements ResponseInterface
{
private $message;
private $pieces;
private $results;
/**
* SonicResponse constructor.
* @param $message
*/
... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Search.php | src/Search.php | <?php
namespace Psonic;
use Psonic\Channels\Channel;
use Psonic\Contracts\Client;
use Psonic\Commands\Search\QueryCommand;
use Psonic\Commands\Search\SuggestCommand;
use Psonic\Exceptions\CommandFailedException;
use Psonic\Commands\Search\StartSearchChannelCommand;
class Search extends Channel
{
/**
* Sear... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Exceptions/ConnectionException.php | src/Exceptions/ConnectionException.php | <?php
namespace Psonic\Exceptions;
use Exception;
class ConnectionException extends Exception
{ } | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Exceptions/CommandFailedException.php | src/Exceptions/CommandFailedException.php | <?php
namespace Psonic\Exceptions;
use Exception;
class CommandFailedException extends Exception
{ } | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Channels/Channel.php | src/Channels/Channel.php | <?php
namespace Psonic\Channels;
use Psonic\Contracts\Client;
use Psonic\Contracts\Command;
use Psonic\Contracts\Response;
use Psonic\Commands\Misc\PingCommand;
use Psonic\Exceptions\ConnectionException;
use Psonic\Commands\Misc\QuitChannelCommand;
use Psonic\Contracts\Channel as ChannelInterface;
abstract class Cha... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Contracts/Command.php | src/Contracts/Command.php | <?php
namespace Psonic\Contracts;
interface Command
{
/**
* @return string
* ultimately a command instance get translated into a string
*/
public function __toString(): string ;
} | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Contracts/Client.php | src/Contracts/Client.php | <?php
namespace Psonic\Contracts;
use Psonic\Exceptions\ConnectionException;
interface Client
{
/**
* Connects to a socket
* @throws ConnectionException
*/
public function connect();
/**
* disconnects the socket
*/
public function disconnect();
/**
* @param Command... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Contracts/Response.php | src/Contracts/Response.php | <?php
namespace Psonic\Contracts;
interface Response
{
/**
* fetches an item from the parsed buffer
* @param $key
* @return mixed
*/
public function get($key);
/**
* returns the status of the read buffer
* @return string
*/
public function getStatus(): string;
}
| php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Contracts/Channel.php | src/Contracts/Channel.php | <?php
namespace Psonic\Contracts;
use Psonic\Exceptions\ConnectionException;
interface Channel
{
/**
* @return mixed
* @throws ConnectionException
*/
public function connect();
/**
* @return Response
*/
public function disconnect(): Response;
} | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Command.php | src/Commands/Command.php | <?php
namespace Psonic\Commands;
use Psonic\Contracts\Command as CommandInterface;
abstract class Command implements CommandInterface
{
private $command;
private $parameters;
public function __construct($command, $parameters = [])
{
$this->command = $command;
$this->parameters = $par... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Misc/PingCommand.php | src/Commands/Misc/PingCommand.php | <?php
namespace Psonic\Commands\Misc;
use Psonic\Commands\Command;
final class PingCommand extends Command
{
private $command = 'PING';
private $parameters = [];
/**
* PingCommand constructor.
*/
public function __construct()
{
parent::__construct($this->command, $this->param... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Misc/QuitChannelCommand.php | src/Commands/Misc/QuitChannelCommand.php | <?php
namespace Psonic\Commands\Misc;
use Psonic\Commands\Command;
final class QuitChannelCommand extends Command
{
private $command = 'QUIT';
private $parameters = [];
/**
* QuitChannelCommand constructor.
*/
public function __construct()
{
parent::__construct($this->command... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Search/StartSearchChannelCommand.php | src/Commands/Search/StartSearchChannelCommand.php | <?php
namespace Psonic\Commands\Search;
use Psonic\Commands\Command;
final class StartSearchChannelCommand extends Command
{
private $command = 'START';
private $parameters = [];
/**
* StartSearchChannelCommand constructor.
* @param string $password
*/
public function __construct($... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Search/SuggestCommand.php | src/Commands/Search/SuggestCommand.php | <?php
namespace Psonic\Commands\Search;
use Psonic\Commands\Command;
final class SuggestCommand extends Command
{
private $command = 'SUGGEST';
private $parameters = [];
/**
* SuggestCommand constructor.
* @param string $collection
* @param string $bucket
* @param string $terms
... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Search/QueryCommand.php | src/Commands/Search/QueryCommand.php | <?php
namespace Psonic\Commands\Search;
use Psonic\Commands\Command;
final class QueryCommand extends Command
{
private $command = 'QUERY';
private $parameters = [];
/**
* QueryCommand constructor.
* @param string $collection
* @param string $bucket
* @param string $terms
* @... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Ingest/FlushObjectCommand.php | src/Commands/Ingest/FlushObjectCommand.php | <?php
namespace Psonic\Commands\Ingest;
use Psonic\Commands\Command;
final class FlushObjectCommand extends Command
{
private $command = 'FLUSHO';
private $parameters = [];
/**
* Flushes the text from an object
* FlushObjectCommand constructor.
* @param string $collection
* @param... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Ingest/FlushCollectionCommand.php | src/Commands/Ingest/FlushCollectionCommand.php | <?php
namespace Psonic\Commands\Ingest;
use Psonic\Commands\Command;
final class FlushCollectionCommand extends Command
{
private $command = 'FLUSHC';
private $parameters = [];
/**
* Flushes a given collection
* FlushCollectionCommand constructor.
* @param string $collection
*/
... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Ingest/FlushBucketCommand.php | src/Commands/Ingest/FlushBucketCommand.php | <?php
namespace Psonic\Commands\Ingest;
use Psonic\Commands\Command;
final class FlushBucketCommand extends Command
{
private $command = 'FLUSHB';
private $parameters = [];
/**
* Flushes a given bucket in a collection
* FlushBucketCommand constructor.
* @param string $collection
*... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Ingest/CountCommand.php | src/Commands/Ingest/CountCommand.php | <?php
namespace Psonic\Commands\Ingest;
use Psonic\Commands\Command;
final class CountCommand extends Command
{
private $command = 'COUNT';
private $parameters = [];
/**
* Counts the number of objects
* CountCommand constructor.
* @param string $collection
* @param string|null $bu... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Ingest/PushCommand.php | src/Commands/Ingest/PushCommand.php | <?php
namespace Psonic\Commands\Ingest;
use Psonic\Commands\Command;
final class PushCommand extends Command
{
private $command = 'PUSH';
private $parameters = [];
/**
* Push a text/object into an object/bucket respectively
* PushCommand constructor.
* @param string $collection
* ... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Ingest/StartIngestChannelCommand.php | src/Commands/Ingest/StartIngestChannelCommand.php | <?php
namespace Psonic\Commands\Ingest;
use Psonic\Commands\Command;
final class StartIngestChannelCommand extends Command
{
private $command = 'START';
private $parameters = [];
/**
* StartIngestChannelCommand constructor.
* @param string $password
*/
public function __construct($... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Ingest/PopCommand.php | src/Commands/Ingest/PopCommand.php | <?php
namespace Psonic\Commands\Ingest;
use Psonic\Commands\Command;
final class PopCommand extends Command
{
private $command = 'POP';
private $parameters = [];
/**
* pops a text from a given object
* PopCommand constructor.
* @param string $collection
* @param string $bucket
... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Control/StartControlChannelCommand.php | src/Commands/Control/StartControlChannelCommand.php | <?php
namespace Psonic\Commands\Control;
use Psonic\Commands\Command;
final class StartControlChannelCommand extends Command
{
private $command = 'START';
private $parameters = [];
/**
* StartControlChannelCommand constructor.
* @param string $password
*/
public function __construc... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Control/TriggerCommand.php | src/Commands/Control/TriggerCommand.php | <?php
namespace Psonic\Commands\Control;
use Psonic\Commands\Command;
final class TriggerCommand extends Command
{
private $command = 'TRIGGER';
private $parameters = [];
/**
* TriggerCommand constructor.
* @param string $action
*/
public function __construct(string $action)
{
... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/src/Commands/Control/InfoCommand.php | src/Commands/Control/InfoCommand.php | <?php
namespace Psonic\Commands\Control;
use Psonic\Commands\Command;
final class InfoCommand extends Command
{
private $command = 'INFO';
private $parameters = [];
/**
* Info Command constructor.
*/
public function __construct()
{
parent::__construct($this->command, $this->... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/tests/TestCase.php | tests/TestCase.php | <?php
namespace Tests;
class TestCase extends \PHPUnit\Framework\TestCase
{
protected $collection;
protected $bucket;
public function __construct()
{
parent::__construct();
$this->collection = 'basecollection';
$this->bucket = 'basebucket';
$this->password = 'Secret... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/tests/bootstrap.php | tests/bootstrap.php | <?php
/**
* Author: ppshobi@gmail.com
*
*/
require_once ('vendor/autoload.php');
| php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/tests/Unit/ControlChannelTest.php | tests/Unit/ControlChannelTest.php | <?php
/**
* Author: ppshobi@gmail.com
*
*/
namespace Tests\Unit;
use Psonic\Control;
use Psonic\Client;
use Tests\TestCase;
class ControlChannelTest extends TestCase
{
public function setUp(): void
{
$this->control = new Control(new Client());
}
/**
* @test
* @group connected
... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/tests/Unit/ClientTest.php | tests/Unit/ClientTest.php | <?php
/**
* Author: ppshobi@gmail.com
*
*/
namespace Tests\Unit;
use Psonic\Client;
use Psonic\Commands\Misc\PingCommand;
use Psonic\Contracts\Command;
use Psonic\Contracts\Response;
use Psonic\Exceptions\ConnectionException;
use Tests\TestCase;
class ClientTest extends TestCase
{
public function setUp(): void... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/tests/Unit/SearchChannelTest.php | tests/Unit/SearchChannelTest.php | <?php
/**
* Author: ppshobi@gmail.com
*
*/
namespace Tests\Unit;
use Psonic\Control;
use Psonic\Ingest;
use Psonic\Search;
use Psonic\Client;
use Tests\TestCase;
class SearchChannelTest extends TestCase
{
public function setUp(): void
{
$this->search = new Search(new Client());
$this->inges... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/tests/Unit/ChannelTest.php | tests/Unit/ChannelTest.php | <?php
/**
* Author: ppshobi@gmail.com
*
*/
namespace Tests\Unit;
use Psonic\Control;
use Psonic\Ingest;
use Psonic\Search;
use Psonic\Client;
use Psonic\Commands\Misc\PingCommand;
use Psonic\Contracts\Response;
use Tests\TestCase;
class ChannelTest extends TestCase
{
public function setUp(): void
{
... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
ppshobi/psonic | https://github.com/ppshobi/psonic/blob/d7dd830c7512aedc31a9e34647a777566a9b893c/tests/Unit/IngestChannelTest.php | tests/Unit/IngestChannelTest.php | <?php
/**
* Author: ppshobi@gmail.com
*
*/
namespace Tests\Unit;
use Psonic\Control;
use Psonic\Ingest;
use Psonic\Client;
use Tests\TestCase;
class IngestChannelTest extends TestCase
{
public function setUp(): void
{
$this->ingest = new Ingest(new Client());
$this->control = new Control(ne... | php | MIT | d7dd830c7512aedc31a9e34647a777566a9b893c | 2026-01-05T05:07:38.798383Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/_ide_helpers.php | _ide_helpers.php | <?php
/** @noinspection PhpUndefinedClassInspection */
/** @noinspection PhpFullyQualifiedNameUsageInspection */
/** @noinspection PhpUnusedAliasInspection */
namespace Illuminate\Testing {
/**
* @see \ClaudioDekker\Inertia\TestResponseMacros
*
* @method self assertInertia(\Closure $assert = null)... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/src/TestResponseMacros.php | src/TestResponseMacros.php | <?php
namespace ClaudioDekker\Inertia;
use Closure;
class TestResponseMacros
{
public function assertInertia()
{
return function (Closure $callback = null) {
$assert = Assert::fromTestResponse($this);
if (is_null($callback)) {
return $this;
}
... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/src/Assert.php | src/Assert.php | <?php
namespace ClaudioDekker\Inertia;
use Closure;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Support\Traits\Macroable;
use PHPUnit\Framework\Assert as PHPUnit;
use PHPUnit\Framework\AssertionFailedError;
class Assert implements Arrayable
{
use Concerns\Has,
Concerns\Matching,
Co... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/src/InertiaTestingServiceProvider.php | src/InertiaTestingServiceProvider.php | <?php
namespace ClaudioDekker\Inertia;
use Illuminate\Foundation\Testing\TestResponse as LegacyTestResponse;
use Illuminate\Support\Facades\App;
use Illuminate\Support\ServiceProvider;
use Illuminate\Testing\TestResponse;
use Illuminate\View\FileViewFinder;
use Inertia\Assert as InertiaAssertions;
use LogicException;... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/src/Concerns/Interaction.php | src/Concerns/Interaction.php | <?php
namespace ClaudioDekker\Inertia\Concerns;
use Illuminate\Support\Str;
use PHPUnit\Framework\Assert as PHPUnit;
trait Interaction
{
/** @var array */
protected $interacted = [];
protected function interactsWith(string $key): void
{
$prop = Str::before($key, '.');
if (! in_array... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/src/Concerns/Has.php | src/Concerns/Has.php | <?php
namespace ClaudioDekker\Inertia\Concerns;
use Closure;
use Illuminate\Support\Arr;
use Illuminate\Support\Collection;
use PHPUnit\Framework\Assert as PHPUnit;
trait Has
{
protected function count(string $key, $length): self
{
PHPUnit::assertCount(
$length,
$this->prop($k... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/src/Concerns/Debugging.php | src/Concerns/Debugging.php | <?php
namespace ClaudioDekker\Inertia\Concerns;
trait Debugging
{
public function dump(string $prop = null): self
{
dump($this->prop($prop));
return $this;
}
public function dd(string $prop = null): void
{
dd($this->prop($prop));
}
abstract protected function pro... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/src/Concerns/PageObject.php | src/Concerns/PageObject.php | <?php
namespace ClaudioDekker\Inertia\Concerns;
use Illuminate\Support\Arr;
use InvalidArgumentException;
use PHPUnit\Framework\Assert as PHPUnit;
trait PageObject
{
public function component(string $value = null, $shouldExist = null): self
{
PHPUnit::assertSame($value, $this->component, 'Unexpected ... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/src/Concerns/Matching.php | src/Concerns/Matching.php | <?php
namespace ClaudioDekker\Inertia\Concerns;
use Closure;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Contracts\Support\Responsable;
use Illuminate\Support\Collection;
use PHPUnit\Framework\Assert as PHPUnit;
trait Matching
{
public function whereAll(array $bindings): self
{
foreach... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/tests/TestCase.php | tests/TestCase.php | <?php
namespace ClaudioDekker\Inertia\Tests;
use ClaudioDekker\Inertia\InertiaTestingServiceProvider;
use Illuminate\Foundation\Testing\TestResponse as LegacyTestResponse;
use Illuminate\Testing\TestResponse;
use Inertia\Inertia;
use LogicException;
use Orchestra\Testbench\TestCase as Orchestra;
class TestCase exten... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/tests/Unit/AssertTest.php | tests/Unit/AssertTest.php | <?php
namespace ClaudioDekker\Inertia\Tests\Unit;
use ClaudioDekker\Inertia\Assert;
use ClaudioDekker\Inertia\Tests\TestCase;
use Exception;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Foundation\Auth\User;
use Illuminate\Http\Resources\Json\JsonResource;
use Illuminate\Support\Collection;
use Inertia\Iner... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | true |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/tests/Unit/TestResponseMacrosTest.php | tests/Unit/TestResponseMacrosTest.php | <?php
namespace ClaudioDekker\Inertia\Tests\Unit;
use ClaudioDekker\Inertia\Assert;
use ClaudioDekker\Inertia\Tests\TestCase;
use Inertia\Inertia;
class TestResponseMacrosTest extends TestCase
{
/** @test */
public function it_can_make_inertia_assertions(): void
{
$response = $this->makeMockReque... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
claudiodekker/inertia-laravel-testing | https://github.com/claudiodekker/inertia-laravel-testing/blob/1e4f320bd85146c5e85cd189126d46a21ec470ef/config/inertia.php | config/inertia.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Force top-level property interaction
|--------------------------------------------------------------------------
|
| This setting allows you to toggle the automatic property interaction
| check ... | php | MIT | 1e4f320bd85146c5e85cd189126d46a21ec470ef | 2026-01-05T05:07:58.862099Z | false |
recca0120/laravel-repository | https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/Method.php | src/Method.php | <?php
namespace Recca0120\Repository;
class Method
{
/**
* $name.
*
* @var string
*/
public $name;
/**
* $parameters.
*
* @var mixed
*/
public $parameters;
/**
* @param string $name
* @param mixed $parameters
*/
public function __con... | php | MIT | d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd | 2026-01-05T05:08:03.638560Z | false |
recca0120/laravel-repository | https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/SqliteConnectionResolver.php | src/SqliteConnectionResolver.php | <?php
namespace Recca0120\Repository;
use Illuminate\Container\Container;
use Illuminate\Database\ConnectionInterface;
use Illuminate\Database\ConnectionResolverInterface;
use Illuminate\Database\Connectors\ConnectionFactory;
class SqliteConnectionResolver implements ConnectionResolverInterface
{
/**
* All ... | php | MIT | d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd | 2026-01-05T05:08:03.638560Z | false |
recca0120/laravel-repository | https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/EloquentRepository.php | src/EloquentRepository.php | <?php
namespace Recca0120\Repository;
use Illuminate\Contracts\Pagination\LengthAwarePaginator;
use Illuminate\Contracts\Pagination\Paginator;
use Illuminate\Contracts\Support\Arrayable;
use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\ModelNotFoundExc... | php | MIT | d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd | 2026-01-05T05:08:03.638560Z | false |
recca0120/laravel-repository | https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/Expression.php | src/Expression.php | <?php
namespace Recca0120\Repository;
use Illuminate\Database\Query\Expression as QueryExpression;
class Expression extends QueryExpression {}
| php | MIT | d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd | 2026-01-05T05:08:03.638560Z | false |
recca0120/laravel-repository | https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/Criteria.php | src/Criteria.php | <?php
namespace Recca0120\Repository;
use BadMethodCallException;
use Closure;
use Illuminate\Database\Eloquent\Builder as EloquentBuilder;
use Illuminate\Database\Query\Builder as QueryBuilder;
use Illuminate\Support\Str;
use ReflectionClass;
use ReflectionException;
use ReflectionMethod;
/**
* @mixin QueryBuilder... | php | MIT | d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd | 2026-01-05T05:08:03.638560Z | false |
recca0120/laravel-repository | https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/HigherOrderTapProxy.php | src/HigherOrderTapProxy.php | <?php
namespace Recca0120\Repository;
class HigherOrderTapProxy
{
/**
* The target being tapped.
*
* @var mixed
*/
public $target;
/**
* Create a new tap proxy instance.
*
* @param mixed $target
* @return void
*/
public function __construct($target)
... | php | MIT | d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd | 2026-01-05T05:08:03.638560Z | false |
recca0120/laravel-repository | https://github.com/recca0120/laravel-repository/blob/d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd/src/CollectionModel.php | src/CollectionModel.php | <?php
namespace Recca0120\Repository;
use Illuminate\Support\Collection;
abstract class CollectionModel extends FileModel
{
/**
* items.
*
* @var array|Collection
*/
protected $items = [];
/**
* loadFromResource.
*
* @return Collection
*/
protected function lo... | php | MIT | d506fdc8c602e0ccaa52aea2d2f8ee3380dbbedd | 2026-01-05T05:08:03.638560Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.