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 |
|---|---|---|---|---|---|---|---|---|
SecTheater/marketplace | https://github.com/SecTheater/marketplace/blob/ac94e42aec5cde9bf764ef610b68637f53323bd9/src/Repositories/Contracts/RepositoryInterface.php | src/Repositories/Contracts/RepositoryInterface.php | <?php
namespace SecTheater\Marketplace\Repositories\Contracts;
interface RepositoryInterface
{
public function getAll();
public function getById($id);
public function create(array $attributes);
public function update($id, array $attributes);
public function delete($id);
} | php | MIT | ac94e42aec5cde9bf764ef610b68637f53323bd9 | 2026-01-05T02:13:10.135861Z | false |
SecTheater/marketplace | https://github.com/SecTheater/marketplace/blob/ac94e42aec5cde9bf764ef610b68637f53323bd9/src/Providers/EloquentEventServiceProvider.php | src/Providers/EloquentEventServiceProvider.php | <?php
namespace SecTheater\Marketplace\Providers;
use Illuminate\Support\ServiceProvider;
class EloquentEventServiceProvider extends ServiceProvider {
/**
* Bootstrap services.
*
* @return void
*/
public function boot() {
if (config('market.observers.register')) {
\SecTheater\Marketplace\Models\Eloque... | php | MIT | ac94e42aec5cde9bf764ef610b68637f53323bd9 | 2026-01-05T02:13:10.135861Z | false |
SecTheater/marketplace | https://github.com/SecTheater/marketplace/blob/ac94e42aec5cde9bf764ef610b68637f53323bd9/src/Providers/AuthyServiceProvider.php | src/Providers/AuthyServiceProvider.php | <?php
namespace SecTheater\Marketplace\Providers;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthyServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
p... | php | MIT | ac94e42aec5cde9bf764ef610b68637f53323bd9 | 2026-01-05T02:13:10.135861Z | false |
SecTheater/marketplace | https://github.com/SecTheater/marketplace/blob/ac94e42aec5cde9bf764ef610b68637f53323bd9/src/Providers/MarketplaceServiceProvider.php | src/Providers/MarketplaceServiceProvider.php | <?php
namespace SecTheater\Marketplace\Providers;
use Illuminate\Support\ServiceProvider;
class MarketplaceServiceProvider extends ServiceProvider
{
public function boot()
{
}
public function register()
{
$this->registerPublishables();
$this->registerHelpers();
if ($this-... | php | MIT | ac94e42aec5cde9bf764ef610b68637f53323bd9 | 2026-01-05T02:13:10.135861Z | false |
SecTheater/marketplace | https://github.com/SecTheater/marketplace/blob/ac94e42aec5cde9bf764ef610b68637f53323bd9/src/Providers/EloquentServiceProvider.php | src/Providers/EloquentServiceProvider.php | <?php
namespace SecTheater\Marketplace\Providers;
use Illuminate\Support\ServiceProvider;
use SecTheater\Marketplace\Models\EloquentCart as Cart;
use SecTheater\Marketplace\Models\EloquentCategory as Category;
use SecTheater\Marketplace\Models\EloquentCoupon as Coupon;
use SecTheater\Marketplace\Models\EloquentProduc... | php | MIT | ac94e42aec5cde9bf764ef610b68637f53323bd9 | 2026-01-05T02:13:10.135861Z | false |
SecTheater/marketplace | https://github.com/SecTheater/marketplace/blob/ac94e42aec5cde9bf764ef610b68637f53323bd9/src/Policies/ProductPolicy.php | src/Policies/ProductPolicy.php | <?php
namespace SecTheater\Marketplace\Policies;
use Illuminate\Auth\Access\HandlesAuthorization;
use SecTheater\Marketplace\Models\EloquentProduct as Product;
use SecTheater\Marketplace\Models\EloquentUser as User;
class ProductPolicy
{
use HandlesAuthorization;
public function rate(User $user)
{
return $us... | php | MIT | ac94e42aec5cde9bf764ef610b68637f53323bd9 | 2026-01-05T02:13:10.135861Z | false |
SecTheater/marketplace | https://github.com/SecTheater/marketplace/blob/ac94e42aec5cde9bf764ef610b68637f53323bd9/src/Policies/CartPolicy.php | src/Policies/CartPolicy.php | <?php
namespace SecTheater\Marketplace\Policies;
use Illuminate\Auth\Access\HandlesAuthorization;
use SecTheater\Marketplace\Models\EloquentUser as User;
use SecTheater\Marketplace\Models\EloquentCart as Cart;
class CartPolicy
{
use HandlesAuthorization;
public function delete_from_others(User $user)
{
return... | php | MIT | ac94e42aec5cde9bf764ef610b68637f53323bd9 | 2026-01-05T02:13:10.135861Z | false |
SecTheater/marketplace | https://github.com/SecTheater/marketplace/blob/ac94e42aec5cde9bf764ef610b68637f53323bd9/src/Policies/CategoryPolicy.php | src/Policies/CategoryPolicy.php | <?php
namespace SecTheater\Marketplace\Policies;
use Illuminate\Auth\Access\HandlesAuthorization;
use SecTheater\Marketplace\Models\EloquentUser as User;
use SecTheater\Marketplace\Models\EloquentCategory as Category;
class CategoryPolicy
{
use HandlesAuthorization;
public function view(User $user, Category ... | php | MIT | ac94e42aec5cde9bf764ef610b68637f53323bd9 | 2026-01-05T02:13:10.135861Z | false |
SecTheater/marketplace | https://github.com/SecTheater/marketplace/blob/ac94e42aec5cde9bf764ef610b68637f53323bd9/src/Policies/UserPolicy.php | src/Policies/UserPolicy.php | <?php
namespace SecTheater\Marketplace\Policies;
use Illuminate\Auth\Access\HandlesAuthorization;
use SecTheater\Marketplace\Models\EloquentUser as User;
class UserPolicy
{
use HandlesAuthorization;
public function downgrade(User $user)
{
return $user->hasRole('downgrade-user');
}
public function upgrade(U... | php | MIT | ac94e42aec5cde9bf764ef610b68637f53323bd9 | 2026-01-05T02:13:10.135861Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/src/Sermepa/Tpv/TpvException.php | src/Sermepa/Tpv/TpvException.php | <?php
namespace Sermepa\Tpv;
class TpvException extends \Exception
{
}
| php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/src/Sermepa/Tpv/Tpv.php | src/Sermepa/Tpv/Tpv.php | <?php
namespace Sermepa\Tpv;
use Exception;
/**
* Class Sermepa
*/
class Tpv
{
CONST TIMEOUT = 10;
CONST READ_TIMEOUT = 120;
CONST SSLVERSION_TLSv1_2 = 6;
protected $_setEnvironment;
protected $_setNameForm;
protected $_setIdForm;
protected $_setParameters;
protected $_setVersion;
... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/src/Redsys/Merchant/MerchantEnvironment.php | src/Redsys/Merchant/MerchantEnvironment.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use ReflectionClass;
class MerchantEnvironment {
public const LIVE = 'live';
public const TEST = 'test';
public const REST_LIVE = 'restLive';
public const REST_TEST = 'restTest';
public const START_REST_LIVE = 'startRequestRestLive';
public c... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/src/Redsys/Merchant/MerchantConsumerLanguages.php | src/Redsys/Merchant/MerchantConsumerLanguages.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use ReflectionClass;
class MerchantConsumerLanguages {
public const DEFAULT = 0; // Por defecto - Español
public const ES = 1; // Español
public const EN = 2; // English - Ingles
public const CAT = 3; // Català
public cons... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/src/Redsys/Merchant/MerchantCurrencies.php | src/Redsys/Merchant/MerchantCurrencies.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use ReflectionClass;
class MerchantCurrencies {
public const AED = '784'; // Dirham DE EAU
public const AFN = '971'; // Afgani afgano
public const ALL = '008'; // Lek
public const AMD = '051'; // Dram armenio
public const ANG = '532'; // Florín... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/src/Redsys/Merchant/MerchantPaymethods.php | src/Redsys/Merchant/MerchantPaymethods.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use ReflectionClass;
class MerchantPaymethods {
public const ALL = '';
public const TARJETA = 'C';
public const TARJETA_IUPAY = 'T';
public const BIZUM = 'z';
public const PAYPAL = 'P';
public const TRANSFERENCIA = 'R';
public const MASTERP... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/src/Redsys/Merchant/MerchantCofTypes.php | src/Redsys/Merchant/MerchantCofTypes.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use ReflectionClass;
class MerchantCofTypes {
public const INSTALLMENTS = 'I';
public const RECURRING = 'R';
public const REAUTHORIZATION = 'H';
public const RESUBMISSION = 'E';
public const DELAYED = 'D';
public const INCREMENTAL... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/src/Redsys/Merchant/MerchantTransactionTypes.php | src/Redsys/Merchant/MerchantTransactionTypes.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use ReflectionClass;
class MerchantTransactionTypes {
public const AUTORIZACION = 0; // Autorización
public const PREAUTORIZACION = 1; // Preautorización
public const PREAUTORIZACION_DE... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/tests/TpvResponseTest.php | tests/TpvResponseTest.php | <?php
declare(strict_types=1);
namespace Sermepa\Tpv;
use PHPUnit\Framework\TestCase;
use Sermepa\Tpv\Tpv;
class TpvResponseTest extends TestCase
{
public function test_response_error_code()
{
$response = [
'errorCode' => '123'
];
$key = 'YOUR_KEY';
$redsys = $... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/tests/MerchantCofTypesTest.php | tests/MerchantCofTypesTest.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
class MerchantCofTypesTest extends PHPUnitTestCase {
public function testCodeIsValid () {
$this->assertTrue(MerchantCofTypes::isValid(MerchantCofTypes::OTHER));
}
public function testCodeNotVal... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/tests/MerchantPaymethodsTest.php | tests/MerchantPaymethodsTest.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
class MerchantPaymethodsTest extends PHPUnitTestCase {
public function testCodeIsValid () {
$this->assertTrue(MerchantPaymethods::isValid(MerchantPaymethods::TARJETA));
}
public function testCo... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/tests/MerchantEnvironmentTest.php | tests/MerchantEnvironmentTest.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
class MerchantEnvironmentTest extends PHPUnitTestCase {
public function testCodeIsValid () {
$this->assertTrue(MerchantEnvironment::isValid(MerchantEnvironment::LIVE));
}
public function testCo... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/tests/MerchantCurrenciesTest.php | tests/MerchantCurrenciesTest.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
class MerchantCurrenciesTest extends PHPUnitTestCase {
public function testCodeIsValid () {
$this->assertTrue(MerchantCurrencies::isValid(MerchantCurrencies::EUR));
}
public function testCodeNo... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/tests/MerchantTransactionTypesTest.php | tests/MerchantTransactionTypesTest.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
class MerchantTransactionTypesTest extends PHPUnitTestCase {
public function testCodeIsValid () {
$this->assertTrue(MerchantTransactionTypes::isValid(MerchantTransactionTypes::AUTORIZACION));
}
... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/tests/TpvTest.php | tests/TpvTest.php | <?php
declare(strict_types=1);
namespace Sermepa\Tpv;
use ReflectionClass;
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
class TpvTest extends PHPUnitTestCase
{
private $isEmptyMethod;
private $redsys;
protected function setUp(): void
{
$this->redsys = new Tpv();
$reflection =... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
ssheduardo/sermepa | https://github.com/ssheduardo/sermepa/blob/6760ae9950cc142ae4591cc89949da10dac0e891/tests/MerchantConsumerLanguagesTest.php | tests/MerchantConsumerLanguagesTest.php | <?php
declare(strict_types=1);
namespace Redsys\Merchant;
use PHPUnit\Framework\TestCase as PHPUnitTestCase;
class MerchantConsumerLanguagesTest extends PHPUnitTestCase {
public function testCodeIsValid () {
$this->assertTrue(MerchantConsumerLanguages::isValid(MerchantConsumerLanguages::ES));
}
public... | php | MIT | 6760ae9950cc142ae4591cc89949da10dac0e891 | 2026-01-05T02:13:42.166040Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Page.php | src/Page.php | <?php
namespace Pvtl\VoyagerFrontend;
use Laravel\Scout\Searchable;
use Pvtl\VoyagerFrontend\Helpers\BladeCompiler;
class Page extends \Pvtl\VoyagerPages\Page
{
use Searchable;
public $asYouType = false;
/**
* Get the indexed data array for the model.
*
* @return array
*/
public... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/BlogPost.php | src/BlogPost.php | <?php
namespace Pvtl\VoyagerFrontend;
use Laravel\Scout\Searchable;
use Pvtl\VoyagerFrontend\Helpers\BladeCompiler;
class BlogPost extends \Pvtl\VoyagerBlog\BlogPost
{
use Searchable;
public $asYouType = false;
/**
* Get the indexed data array for the model.
*
* @return array
*/
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Helpers/Layouts.php | src/Helpers/Layouts.php | <?php
namespace Pvtl\VoyagerFrontend\Helpers;
class Layouts
{
/**
* Scans project directories to retrieve a list of layouts
* @param string $module
* @return array
*/
public static function getLayouts($module, $directory = 'layouts')
{
$layouts = array();
// Get list o... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Helpers/ClassEvents.php | src/Helpers/ClassEvents.php | <?php
namespace Pvtl\VoyagerFrontend\Helpers;
class ClassEvents
{
/**
* Fire in the hole! Execute our custom functionality.
*
* @param $classString
* @param mixed $forcedParams (eg. for form hooks, we pass through form data)
* @return mixed
*/
public static function executeClass(... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Helpers/ImageResize.php | src/Helpers/ImageResize.php | <?php
use Illuminate\Support\Facades\Storage;
use Intervention\Image\ImageManagerStatic as Image;
function imageUrl($imagePath = '', $width = null, $height = null, $config = array())
{
// Available configs
$quality = isset($config['quality']) ? $config['quality'] : 100;
$crop = isset($config['crop']) ? !!... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Helpers/BladeCompiler.php | src/Helpers/BladeCompiler.php | <?php
namespace Pvtl\VoyagerFrontend\Helpers;
use Illuminate\Support\Facades\Blade;
class BladeCompiler
{
/**
* Compile blade template with passing arguments.
*
* @param string $value HTML-code including blade
* @param array $args Array of values used in blade
*
* @return string
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Http/Controllers/PostController.php | src/Http/Controllers/PostController.php | <?php
namespace Pvtl\VoyagerFrontend\Http\Controllers;
use Pvtl\VoyagerFrontend\BlogPost;
use Illuminate\Support\Carbon;
class PostController extends \Pvtl\VoyagerBlog\Http\Controllers\PostController
{
protected $viewPath = 'voyager-frontend';
/**
* Recent posts widget
*
* @return \Illuminate... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Http/Controllers/AccountController.php | src/Http/Controllers/AccountController.php | <?php
namespace Pvtl\VoyagerFrontend\Http\Controllers;
use Auth;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Validator;
use Illuminate\Routing\Controller as BaseController;
class AccountController extends BaseController
{
/**
* Get a validator for an i... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Http/Controllers/SearchController.php | src/Http/Controllers/SearchController.php | <?php
namespace Pvtl\VoyagerFrontend\Http\Controllers;
use Illuminate\Http\Request;
use Illuminate\Routing\Controller as BaseController;
class SearchController extends BaseController
{
protected $searchableModels = [];
public function __construct()
{
$this->searchableModels = self::getSearchable... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Http/Controllers/PageController.php | src/Http/Controllers/PageController.php | <?php
namespace Pvtl\VoyagerFrontend\Http\Controllers;
use Pvtl\VoyagerPages\Page;
use Pvtl\VoyagerFrontend\Helpers\Layouts;
use Pvtl\VoyagerFrontend\Traits\Breadcrumbs;
use Pvtl\VoyagerFrontend\Helpers\BladeCompiler;
use Illuminate\Http\Request;
class PageController extends \Pvtl\VoyagerPages\Http\Controllers\PageC... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Traits/Breadcrumbs.php | src/Traits/Breadcrumbs.php | <?php
namespace Pvtl\VoyagerFrontend\Traits;
use Illuminate\Http\Request;
use TCG\Voyager\Models\MenuItem;
use Illuminate\Support\Facades\Cache;
trait Breadcrumbs
{
/**
* Defines an array of breadcrumbs
*
* @param Request $request
* @return array
*/
public static function getBreadcru... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Facades/VoyagerFrontend.php | src/Facades/VoyagerFrontend.php | <?php
namespace Pvtl\VoyagerFrontend\Facades;
use Illuminate\Support\Facades\Facade;
class VoyagerFrontend extends Facade
{
protected static function getFacadeAccessor()
{
return 'voyager-frontend';
}
} | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Commands/GenerateSearchIndices.php | src/Commands/GenerateSearchIndices.php | <?php
namespace Pvtl\VoyagerFrontend\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
use Pvtl\VoyagerFrontend\Http\Controllers\SearchController;
class GenerateSearchIndices extends Command
{
/**
* The name and signature of the console command.
*
* @var string
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Commands/InstallCommand.php | src/Commands/InstallCommand.php | <?php
namespace Pvtl\VoyagerFrontend\Commands;
use Pvtl\VoyagerFrontend\Providers\VoyagerFrontendServiceProvider;
use TCG\Voyager\Traits\Seedable;
use Illuminate\Console\Command;
use Illuminate\Filesystem\Filesystem;
use Symfony\Component\Process\Process;
class InstallCommand extends Command
{
use Seedable;
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Commands/ThumbnailsClean.php | src/Commands/ThumbnailsClean.php | <?php
namespace Pvtl\VoyagerFrontend\Commands;
use Carbon\Carbon;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Storage;
class ThumbnailsClean extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'voyager-fronten... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Commands/GenerateSitemap.php | src/Commands/GenerateSitemap.php | <?php
namespace Pvtl\VoyagerFrontend\Commands;
use Illuminate\Console\Command;
use Spatie\Sitemap\SitemapGenerator;
class GenerateSitemap extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'voyager-frontend:generate-sitemap';
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/Providers/VoyagerFrontendServiceProvider.php | src/Providers/VoyagerFrontendServiceProvider.php | <?php
namespace Pvtl\VoyagerFrontend\Providers;
use Illuminate\Http\Request;
use Pvtl\VoyagerFrontend\Commands;
use Illuminate\Pagination\Paginator;
use Illuminate\Support\Facades\View;
use Illuminate\Support\Facades\Event;
use Illuminate\Support\Facades\Artisan;
use Illuminate\Support\ServiceProvider;
use Laravel\Sc... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/src/FormFields/FrontendLayout.php | src/FormFields/FrontendLayout.php | <?php
namespace Pvtl\VoyagerFrontend\FormFields;
use TCG\Voyager\FormFields\AbstractHandler;
class FrontendLayout extends AbstractHandler
{
protected $codename = 'frontend_layout';
public function createContent($row, $dataType, $dataTypeContent, $options)
{
return view('voyager-frontend::formfie... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/tests/TestCase.php | tests/TestCase.php | <?php
namespace Pvtl\VoyagerFrontend\Test;
use Illuminated\Testing\TestingTools;
use Orchestra\Testbench\TestCase as Orchestra;
abstract class TestCase extends Orchestra
{
use TestingTools;
/**
* @param \Illuminate\Foundation\Application $app
*
* @return array
*/
protected functi... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/tests/FacadeTest.php | tests/FacadeTest.php | <?php
namespace Pvtl\VoyagerFrontend\Test;
use Pvtl\VoyagerFrontend\facades\VoyagerFrontend;
class FacadeTest extends TestCase
{
/** @test */
function it_returns_true_if_facade_returns_right_string()
{
$this->assertEquals('You used the VoyagerFrontendFacade to call this method!', VoyagerFrontend:... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/tests/RouteTest.php | tests/RouteTest.php | <?php
namespace Pvtl\VoyagerFrontend\Test;
use Artisan;
use Monolog\Logger;
class RouteTest extends TestCase
{
/** @test */
public function it_returns_true_if_the_test_route_is_visited()
{
$response = $this->get('/test');
$response->assertStatus(200);
}
} | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/tests/CommandTest.php | tests/CommandTest.php | <?php
namespace Pvtl\VoyagerFrontend\Test;
class CommandTest extends TestCase
{
/** @test */
function it_returns_true_if_command_logs_expected_string()
{
$this->artisan('voyager-frontend:install');
$this->seeArtisanOutput('Example command executed!');
}
} | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/tests/ConfigTest.php | tests/ConfigTest.php | <?php
namespace Pvtl\VoyagerFrontend\Test;
class ConfigTest extends TestCase
{
/** @test */
function it_returns_true_if_the_right_title_text_is_returned()
{
$this->assertEquals('Pvtl/VoyagerFrontend', config('test.title'));
}
/** @test */
function it_returns_false_if_the_wrong_title_t... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/routes/web.php | routes/web.php | <?php
use Pvtl\VoyagerFrontend\Page;
use Illuminate\Support\Facades\Request;
$accountController = '\Pvtl\VoyagerFrontend\Http\Controllers\AccountController';
$searchController = '\Pvtl\VoyagerFrontend\Http\Controllers\SearchController';
/**
* Authentication
*/
Route::group(['middleware' => ['web']], function () us... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/config/voyager-frontend.php | config/voyager-frontend.php | <?php
return [
'title' => 'Pvtl/VoyagerFrontend',
];
| php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/config/scout.php | config/scout.php | <?php
return [
/*
|--------------------------------------------------------------------------
| TNTSearch Configuration (https://github.com/teamtnt/laravel-scout-tntsearch-driver)
|--------------------------------------------------------------------------
|
| There is where we define our config... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/database/seeds/VoyagerFrontendMenuDataRowsTableSeeder.php | database/seeds/VoyagerFrontendMenuDataRowsTableSeeder.php | <?php
use Illuminate\Database\Seeder;
use TCG\Voyager\Models\Menu;
use TCG\Voyager\Models\MenuItem;
class VoyagerFrontendMenuDataRowsTableSeeder extends Seeder
{
public function run()
{
$this->createMainMenu();
$this->createSocialMenu();
}
protected function createMainMenu()
{
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/database/seeds/VoyagerFrontendPagesDataRowsTableSeeder.php | database/seeds/VoyagerFrontendPagesDataRowsTableSeeder.php | <?php
use TCG\Voyager\Models\DataRow;
use TCG\Voyager\Models\DataType;
use Illuminate\Database\Seeder;
class VoyagerFrontendPagesDataRowsTableSeeder extends Seeder
{
public function run()
{
$pageDataType = DataType::where('slug', 'pages')->firstOrFail();
$dataRow = $this->dataRow($pageDataTyp... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/database/seeds/VoyagerFrontendBlogDataTypesTableSeeder.php | database/seeds/VoyagerFrontendBlogDataTypesTableSeeder.php | <?php
use Illuminate\Database\Seeder;
use TCG\Voyager\Models\DataType;
class VoyagerFrontendBlogDataTypesTableSeeder extends Seeder
{
/**
* Auto generated seed file.
*/
public function run()
{
$dataType = $this->dataType('slug', 'blog_posts');
if (!$dataType->exists) {
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/database/seeds/VoyagerFrontendDatabaseSeeder.php | database/seeds/VoyagerFrontendDatabaseSeeder.php | <?php
use TCG\Voyager\Traits\Seedable;
use Illuminate\Database\Seeder;
class VoyagerFrontendDatabaseSeeder extends Seeder
{
use Seedable;
protected $seedersPath = __DIR__ . '/';
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
$this->seed('Voy... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/database/seeds/VoyagerFrontendPagesDataTypesTableSeeder.php | database/seeds/VoyagerFrontendPagesDataTypesTableSeeder.php | <?php
use Illuminate\Database\Seeder;
use TCG\Voyager\Models\DataType;
class VoyagerFrontendPagesDataTypesTableSeeder extends Seeder
{
/**
* Auto generated seed file.
*/
public function run()
{
$dataType = $this->dataType('slug', 'pages');
if (!$dataType->exists) {
$d... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/database/migrations/2018_04_19_224316_add_fields_to_pages_table.php | database/migrations/2018_04_19_224316_add_fields_to_pages_table.php | <?php
use Illuminate\Support\Facades\Schema;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;
class AddFieldsToPagesTable extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if (!Schema::hasColumn('page... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/stubs/views/auth/login.blade.php | stubs/views/auth/login.blade.php | @include('voyager-frontend::modules.auth.login') | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/stubs/views/auth/register.blade.php | stubs/views/auth/register.blade.php | @include('voyager-frontend::modules.auth.register') | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/stubs/views/auth/passwords/email.blade.php | stubs/views/auth/passwords/email.blade.php | @include('voyager-frontend::modules.auth.passwords.email') | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/stubs/views/auth/passwords/reset.blade.php | stubs/views/auth/passwords/reset.blade.php | @include('voyager-frontend::modules.auth.passwords.reset') | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/stubs/views/errors/404.blade.php | stubs/views/errors/404.blade.php | @include('voyager-frontend::modules.errors.404') | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/formfields/frontend_layout.blade.php | resources/views/formfields/frontend_layout.blade.php | <?php
$selected_value = (isset($dataTypeContent->{$row->field}) && !is_null(old($row->field, $dataTypeContent->{$row->field}))) ? old($row->field, $dataTypeContent->{$row->field}) : old($row->field);
$layouts = \Pvtl\VoyagerFrontend\Helpers\Layouts::getLayouts('voyager-frontend');
?>
<select class="form-control select... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/vendor/voyager/users/browse.blade.php | resources/views/vendor/voyager/users/browse.blade.php | @extends('voyager::master')
@section('page_title', __('voyager::generic.viewing').' '.$dataType->getTranslatedAttribute('display_name_plural'))
@section('page_header')
<div class="container-fluid">
<h1 class="page-title">
<i class="{{ $dataType->icon }}"></i> {{ $dataType->getTranslatedAttribu... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/pagination.blade.php | resources/views/partials/pagination.blade.php | @if ($paginator->hasPages())
<ul class="pagination">
{{-- Previous Page Link --}}
@if ($paginator->onFirstPage())
<li class="disabled"><span>« Previous</span></li>
@else
<li><a href="{{ $paginator->previousPageUrl() }}" rel="prev">« Previous</a></li>
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/menu-left.blade.php | resources/views/partials/menu-left.blade.php | @foreach($items as $menu_item)
@php ($hasChildren = count($menu_item->children) > 0)
<li>
<a href="{{ $menu_item->link() }}">{{ $menu_item->title }}</a>
@if ($hasChildren)
<ul class="menu">
@include('voyager-frontend::partials.menu-left', ['items' => $menu_item->child... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/breadcrumbs.blade.php | resources/views/partials/breadcrumbs.blade.php | @if (isset($breadcrumbs) && count($breadcrumbs) > 1)
<div class="breadcrumbs-container background-color-lightgray">
<div class="grid-container">
<div class="vspace-1"></div>
<nav aria-label="You are here:" role="navigation">
<ul class="breadcrumbs">
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/social.blade.php | resources/views/partials/social.blade.php | @foreach($items as $menu_item)
<li>
<a href="{{ $menu_item->link() }}">
<i class="fab {{ $menu_item->icon_class }} fa-2x"></i>
</a>
</li>
@endforeach | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/page-title.blade.php | resources/views/partials/page-title.blade.php | <div
class="page-title"
@if (View::hasSection('page_banner'))
style="background-image: url(@yield('page_banner'))"
@endif>
<div class="grid-container">
<h1>@yield('page_title')</h1>
@if (View::hasSection('page_subtitle'))
<p>@yield('page_subtitle')</p>
@endif
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/meta.blade.php | resources/views/partials/meta.blade.php | <!doctype html>
<html lang="en" class="no-js">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>@yield('meta_title', setting('site.title'))</title>
<meta name="descripti... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/header.blade.php | resources/views/partials/header.blade.php | <div class="off-canvas position-right" id="offCanvas" data-off-canvas data-transition="push">
<a href="#" class="close-button off-canvas-menu-icon-close" data-close="offCanvas">
<span aria-hidden="true">×</span>
</a>
<ul class="vertical menu" data-dropdown-menu>
{{ menu('primary', 'vo... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/footer.blade.php | resources/views/partials/footer.blade.php | <footer class="top-footer">
<div class="grid-container">
<div class="grid-x">
<div class="cell medium-4 text-center medium-text-left">
<h6>Sign up for our newsletter</h6>
<div class="input-group">
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/menu-right.blade.php | resources/views/partials/menu-right.blade.php | <li class="hide-for-small-only">
<a href="#" data-toggle-search-trigger>
<i class="fas fa-search"></i>
</a>
</li>
@if (Auth::guest())
<li><a href="{{ route('login') }}">Login</a></li>
<li><a href="{{ route('register') }}">Register</a></li>
@else
<li>
<a href="#">My Account</a>
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/partials/search-box.blade.php | resources/views/partials/search-box.blade.php | <form id="search-form" action="/search" method="GET">
<div class="input-group">
<input class="input-group-field" name="keywords" type="search" value="{{ \Request::get('keywords') }}" placeholder="I'm looking for..."/>
<div class="input-group-button">
<input type="submit" class="button da... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/layouts/sidebar-right.blade.php | resources/views/layouts/sidebar-right.blade.php | @include('voyager-frontend::partials.meta')
@include('voyager-frontend::partials.header')
@include('voyager-frontend::partials.page-title')
<main class="main-content">
<div class="grid-container">
<div class="grid-x grid-padding-x">
<div class="vspace-2"></div>
<div class="cell smal... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/layouts/default.blade.php | resources/views/layouts/default.blade.php | @include('voyager-frontend::partials.meta')
@include('voyager-frontend::partials.header')
<main class="main-content">
@yield('content')
</main>
@include('voyager-frontend::partials.footer')
| php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/auth/login.blade.php | resources/views/modules/auth/login.blade.php | @extends('voyager-frontend::layouts.default')
@section('content')
<form class="login-form" method="POST" action="{{ route('login') }}">
@csrf
<div class="grid-container">
<div class="grid-x grid-padding-y">
<div class="medium-6 medium-offset-3 cell email">
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/auth/register.blade.php | resources/views/modules/auth/register.blade.php | @extends('voyager-frontend::layouts.default')
@section('content')
<form class="register-form" method="POST" action="{{ route('register') }}">
@csrf
<div class="grid-container">
<div class="grid-x grid-padding-y">
<div class="medium-6 medium-offset-3 cell email">
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/auth/account.blade.php | resources/views/modules/auth/account.blade.php | @extends('voyager-frontend::layouts.default')
@section('content')
<form class="register-form" method="POST" action="{{ route('voyager-frontend.account') }}">
@csrf
<div class="grid-container">
<div class="grid-x grid-padding-y">
<div class="medium-6 medium-offset-3 cell... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/auth/passwords/email.blade.php | resources/views/modules/auth/passwords/email.blade.php | @extends('voyager-frontend::layouts.default')
@section('content')
<form class="forgot-password-form" method="POST" action="{{ route('password.email') }}">
@csrf
<div class="grid-container">
<div class="grid-x grid-padding-y">
<div class="medium-6 medium-offset-3 cell em... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/auth/passwords/reset.blade.php | resources/views/modules/auth/passwords/reset.blade.php | @extends('voyager-frontend::layouts.default')
@section('content')
<form class="password-reset-form" method="POST" action="{{ route('password.request') }}">
@csrf
<div class="grid-container">
<div class="grid-x grid-padding-y">
<div class="medium-6 medium-offset-3 cell e... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/errors/404.blade.php | resources/views/modules/errors/404.blade.php | @extends('voyager-frontend::layouts.default')
@section('meta_title', '404')
@section('meta_description', '404')
@section('page_title', '404')
@section('content')
<div class="vspace-5"></div>
<div class="grid-container">
<div class="grid-x">
<div class="cell small-12">
<h2 c... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/pages/default.blade.php | resources/views/modules/pages/default.blade.php | @php if (empty($layout)) $layout = 'default'; @endphp
@extends('voyager-frontend::layouts.' . $layout)
@section('meta_title', $page->title)
@section('meta_description', $page->meta_description)
@section('page_title', $page->title)
@section('page_banner', imageUrl($page->image, 1200, 211))
@section('content')
{!! $... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/posts/posts-grid.blade.php | resources/views/modules/posts/posts-grid.blade.php | <div class="vspace-2"></div>
<div class="grid-container">
<div class="cell small-12">
<div class="grid-x grid-padding-x">
@empty($posts)
<p>There are currently no posts.</p>
@else
@foreach($posts as $post)
<div class="cell small-12... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/posts/post.blade.php | resources/views/modules/posts/post.blade.php | @extends('voyager-frontend::layouts.default')
@section('meta_title', $post->title)
@section('meta_description', $post->meta_description)
@section('page_title', $post->title)
@section('page_subtitle', 'Posted // ' . $post->created_at->format('jS M. Y'))
@section('page_banner', imageUrl($post->image))
@section('content'... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/posts/posts.blade.php | resources/views/modules/posts/posts.blade.php | @extends('voyager-frontend::layouts.default')
@section('meta_title', 'Blog Posts')
@section('meta_description', 'Blog Posts')
@section('page_title', 'Blog Posts')
@section('content')
@include('voyager-frontend::partials.page-title')
<div class="vspace-2"></div>
@if ($featuredPost)
<div class="gri... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/search/result.blade.php | resources/views/modules/search/result.blade.php | <div class="cell small-12 search-result">
<h5>
<a href="/{{ $result->slug }}">{{ $result->title }}</a>
</h5>
<p class="search-result-url"><a href="/{{ $result->slug }}">{{ URL::to('/') }}/{{ $result->slug }}</a></p>
@if ($result->excerpt)
<p>{{ Illuminate\Support\Str::limit($result->ex... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
pvtl/voyager-frontend | https://github.com/pvtl/voyager-frontend/blob/5166cb8367d849d550883aa3b96d1fcf4b3d0d97/resources/views/modules/search/listing.blade.php | resources/views/modules/search/listing.blade.php | @extends('voyager-frontend::layouts.default')
@section('meta_title', 'Search Results')
@section('meta_description', 'Search Results')
@section('page_title', 'Site Search')
@section('content')
@include('voyager-frontend::partials.page-title')
<div class="vspace-2"></div>
<div class="grid-container">
... | php | MIT | 5166cb8367d849d550883aa3b96d1fcf4b3d0d97 | 2026-01-05T02:13:43.576906Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/helper-functions.php | test/helper-functions.php | <?php
use Rx\Testing\Recorded;
use Rx\Testing\Subscription;
use Rx\Notification\OnCompletedNotification;
use Rx\Notification\OnErrorNotification;
use Rx\Notification\OnNextNotification;
function onError($dueTime, $error) {
return new Recorded($dueTime, new OnErrorNotification($error));
}
function onNext($dueTime... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/bootstrap.php | test/bootstrap.php | <?php
/*
* This file is part of Rx.PHP.
*
* (c) Alexander <iam.asm89@gmail.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
if (file_exists($file = __DIR__.'/../vendor/autoload.php')) {
$loader = require_once $file;
$... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/TestCase.php | test/Rx/TestCase.php | <?php
namespace Rx;
use PHPUnit_Framework_TestCase;
class TestCase extends PHPUnit_Framework_TestCase
{
}
| php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/Functional/ColdObservableTest.php | test/Rx/Functional/ColdObservableTest.php | <?php
namespace Rx\Functional;
class ColdObservableTest extends FunctionalTestCase
{
/**
* @test
*/
public function it_calls_relative_to_subscribe_time()
{
$xs = $this->createColdObservable(array(
onNext(50, "foo"),
onNext(75, "Bar"),
onCompleted(105)
... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/Functional/FunctionalTestCase.php | test/Rx/Functional/FunctionalTestCase.php | <?php
namespace Rx\Functional;
use PHPUnit_Framework_ExpectationFailedException;
use Rx\Scheduler\VirtualTimeScheduler;
use Rx\TestCase;
use Rx\Testing\ColdObservable;
use Rx\Testing\HotObservable;
use Rx\Testing\Subscription;
use Rx\Testing\TestScheduler;
abstract class FunctionalTestCase extends TestCase
{
/**... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/Functional/React/PromiseFromObservableTest.php | test/Rx/Functional/React/PromiseFromObservableTest.php | <?php
namespace Rx\Functional\React;
use Exception;
use Rx\Disposable\CallbackDisposable;
use Rx\Functional\FunctionalTestCase;
use Rx\Observable\AnonymousObservable;
use Rx\Observable;
use Rx\Observable\EmptyObservable;
use Rx\React\Promise;
use Rx\Subject\Subject;
class PromiseFromObservableTest extends Functiona... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/Functional/React/PromiseFactoryTest.php | test/Rx/Functional/React/PromiseFactoryTest.php | <?php
namespace Rx\Functional\React;
use Exception;
use React\Promise\Deferred;
use Rx\Disposable\CallbackDisposable;
use Rx\Functional\FunctionalTestCase;
use Rx\Observable\AnonymousObservable;
use Rx\Observable;
use Rx\Observable\EmptyObservable;
use Rx\Observer\CallbackObserver;
use Rx\React\Promise;
use Rx\React\... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/Functional/React/PromiseToObservableTest.php | test/Rx/Functional/React/PromiseToObservableTest.php | <?php
namespace Rx\Functional\React;
use Exception;
use React\Promise\Deferred;
use Rx\Disposable\CallbackDisposable;
use Rx\Functional\FunctionalTestCase;
use Rx\Observable\AnonymousObservable;
use Rx\Observable;
use Rx\Observable\EmptyObservable;
use Rx\Observer\CallbackObserver;
use Rx\React\Promise;
use Rx\Subje... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/Functional/Scheduler/EventLoopSchedulerTest.php | test/Rx/Functional/Scheduler/EventLoopSchedulerTest.php | <?php
namespace Rx\Functional\Scheduler;
use React\EventLoop\Factory;
use Rx\Functional\FunctionalTestCase;
use Rx\Observable;
use Rx\Observer\CallbackObserver;
use Rx\Scheduler\EventLoopScheduler;
class EventLoopSchedulerTest extends FunctionalTestCase
{
public function testDisposeInsideFirstSchedulePeriodicAct... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/Functional/Operator/SkipLastTest.php | test/Rx/Functional/Operator/SkipLastTest.php | <?php
namespace Rx\Functional\Operator;
use Rx\Functional\FunctionalTestCase;
use Rx\Testing\MockObserver;
class SkipLastTest extends FunctionalTestCase
{
/**
* @expectedException \InvalidArgumentException
*/
public function testSkipLastNegative()
{
$xs = $this->createHotObservable(
... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/Functional/Operator/RetryTest.php | test/Rx/Functional/Operator/RetryTest.php | <?php
namespace Rx\Functional\Operator;
use Rx\Functional\FunctionalTestCase;
use Rx\Observable\AnonymousObservable;
use Rx\Observable\ErrorObservable;
use Rx\Observable\ReturnObservable;
use Rx\Observer\CallbackObserver;
use Rx\Testing\TestScheduler;
class RetryTest extends FunctionalTestCase
{
public function ... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
asm89/Rx.PHP | https://github.com/asm89/Rx.PHP/blob/eb08c5fe155e6a73a0ce24223f014db31385b7a6/test/Rx/Functional/Operator/DeferTest.php | test/Rx/Functional/Operator/DeferTest.php | <?php
namespace Rx\Functional\Operator;
use Rx\Functional\FunctionalTestCase;
use Rx\Observable;
class DeferTest extends FunctionalTestCase
{
/**
* @test
*/
public function defer_complete()
{
$invoked = 0;
$xs = null;
$results = $this->scheduler->startWithCreate... | php | MIT | eb08c5fe155e6a73a0ce24223f014db31385b7a6 | 2026-01-05T02:13:42.035239Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.