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 |
|---|---|---|---|---|---|---|---|---|
awcodes/filament-badgeable-column | https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/src/Feature/ColumnTest.php | tests/src/Feature/ColumnTest.php | <?php
declare(strict_types=1);
use Awcodes\BadgeableColumn\Tests\Fixtures\Livewire\PostsTable;
use Awcodes\BadgeableColumn\Tests\Fixtures\Models\Post;
use Awcodes\BadgeableColumn\Tests\TestCase;
use function Pest\Livewire\livewire;
uses(TestCase::class);
it('can render column', function () {
Post::factory()->c... | php | MIT | 993c1ac7667ad4fffefba0e0e087598264d53b92 | 2026-01-05T04:41:05.841685Z | false |
awcodes/filament-badgeable-column | https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/src/Feature/EntryTest.php | tests/src/Feature/EntryTest.php | <?php
declare(strict_types=1);
use Awcodes\BadgeableColumn\Tests\Fixtures\Livewire\InfolistPage;
use Awcodes\BadgeableColumn\Tests\Fixtures\Models\Post;
use Awcodes\BadgeableColumn\Tests\TestCase;
use function Pest\Livewire\livewire;
uses(TestCase::class);
it('can render entry', function () {
$post = Post::fac... | php | MIT | 993c1ac7667ad4fffefba0e0e087598264d53b92 | 2026-01-05T04:41:05.841685Z | false |
awcodes/filament-badgeable-column | https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/src/Feature/DebugTest.php | tests/src/Feature/DebugTest.php | <?php
declare(strict_types=1);
arch('it will not use debugging functions')
->expect(['dd', 'dump', 'ray'])
->each->not->toBeUsed();
| php | MIT | 993c1ac7667ad4fffefba0e0e087598264d53b92 | 2026-01-05T04:41:05.841685Z | false |
awcodes/filament-badgeable-column | https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/src/Unit/BadgeTest.php | tests/src/Unit/BadgeTest.php | <?php
declare(strict_types=1);
use Awcodes\BadgeableColumn\Components\Badge;
use Awcodes\BadgeableColumn\Tests\TestCase;
use Filament\Support\Colors\Color;
use Filament\Support\Enums\FontFamily;
use Filament\Support\Enums\FontWeight;
use Filament\Support\Enums\Size;
uses(TestCase::class);
beforeEach(function () {
... | php | MIT | 993c1ac7667ad4fffefba0e0e087598264d53b92 | 2026-01-05T04:41:05.841685Z | false |
awcodes/filament-badgeable-column | https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/src/Providers/PostsTableServiceProvider.php | tests/src/Providers/PostsTableServiceProvider.php | <?php
declare(strict_types=1);
namespace Awcodes\BadgeableColumn\Tests\Providers;
use Awcodes\BadgeableColumn\Tests\Fixtures\Livewire\PostsTable;
use Illuminate\Support\ServiceProvider;
use Livewire\Livewire;
use Livewire\Mechanisms\ComponentRegistry;
class PostsTableServiceProvider extends ServiceProvider
{
pu... | php | MIT | 993c1ac7667ad4fffefba0e0e087598264d53b92 | 2026-01-05T04:41:05.841685Z | false |
awcodes/filament-badgeable-column | https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/database/factories/PostFactory.php | tests/database/factories/PostFactory.php | <?php
declare(strict_types=1);
namespace Awcodes\BadgeableColumn\Tests\Database\Factories;
use Awcodes\BadgeableColumn\Tests\Fixtures\Models\Post;
use Illuminate\Database\Eloquent\Factories\Factory;
class PostFactory extends Factory
{
protected $model = Post::class;
public function definition(): array
... | php | MIT | 993c1ac7667ad4fffefba0e0e087598264d53b92 | 2026-01-05T04:41:05.841685Z | false |
awcodes/filament-badgeable-column | https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/tests/database/migrations/create_posts_table.php | tests/database/migrations/create_posts_table.php | <?php
declare(strict_types=1);
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('posts', function (Blueprint $table): void {
$tabl... | php | MIT | 993c1ac7667ad4fffefba0e0e087598264d53b92 | 2026-01-05T04:41:05.841685Z | false |
awcodes/filament-badgeable-column | https://github.com/awcodes/filament-badgeable-column/blob/993c1ac7667ad4fffefba0e0e087598264d53b92/resources/views/components/badge.blade.php | resources/views/components/badge.blade.php | @use('Filament\Support\Enums\FontFamily')
@use('Filament\Support\Enums\FontWeight')
@use('Filament\Support\Enums\Size')
@use('Illuminate\Support\Arr')
@if (! $isHidden())
@php
$color = $getColor();
$size = match ($size = $getSize()) {
Size::ExtraSmall, 'xs' => 'xs',
Size::S... | php | MIT | 993c1ac7667ad4fffefba0e0e087598264d53b92 | 2026-01-05T04:41:05.841685Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/app/autoload.php | app/autoload.php | <?php
if (!$loader = include __DIR__.'/../vendor/autoload.php') {
$nl = PHP_SAPI === 'cli' ? PHP_EOL : '<br />';
echo "$nl$nl";
if (is_writable(dirname(__DIR__)) && $installer = @file_get_contents('http://getcomposer.org/installer')) {
echo 'You must set up the project dependencies.'.$nl;
$... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/app/AppKernel.php | app/AppKernel.php | <?php
use Symfony\Component\HttpKernel\Kernel;
use Symfony\Component\Config\Loader\LoaderInterface;
class AppKernel extends Kernel
{
public function registerBundles()
{
$bundles = array(
new Symfony\Bundle\FrameworkBundle\FrameworkBundle(),
new Symfony\Bundle\SecurityBundle\Sec... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/app/AppCache.php | app/AppCache.php | <?php
require_once __DIR__.'/AppKernel.php';
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache;
class AppCache extends HttpCache
{
}
| php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/app/check.php | app/check.php | <?php
if (!$iniPath = get_cfg_var('cfg_file_path')) {
$iniPath = 'WARNING: not using a php.ini file';
}
echo "********************************\n";
echo "* *\n";
echo "* Symfony requirements check *\n";
echo "* *\n";
echo "********************************... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/KnpIpsumBundle.php | src/Knp/IpsumBundle/KnpIpsumBundle.php | <?php
namespace Knp\IpsumBundle;
use Symfony\Component\HttpKernel\Bundle\Bundle;
class KnpIpsumBundle extends Bundle
{
}
| php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Entity/TimedThing.php | src/Knp/IpsumBundle/Entity/TimedThing.php | <?php
namespace Knp\IpsumBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/**
* Knp\IpsumBundle\Entity\TimedThing
*
* @ORM\Table()
* @ORM\Entity
*/
class TimedThing
{
/**
* @var integer $id
*
* @ORM\Column(name="id", type="integer")
* @ORM\Id
* ... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Entity/User.php | src/Knp/IpsumBundle/Entity/User.php | <?php
namespace Knp\IpsumBundle\Entity;
use FOS\UserBundle\Entity\User as BaseUser;
use Doctrine\ORM\Mapping as ORM;
/**
* Knp\IpsumBundle\Entity\User
*
* @ORM\Table(name="fos_user")
* @ORM\Entity
*/
class User extends BaseUser
{
/**
* @var integer
*
* @ORM\Column(name="id", type="integer")
... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Entity/Category.php | src/Knp/IpsumBundle/Entity/Category.php | <?php
namespace Knp\IpsumBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Doctrine\Common\Collections\ArrayCollection;
/**
* @ORM\Entity
*/
class Category
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* @ORM\Colum... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Entity/Thing.php | src/Knp/IpsumBundle/Entity/Thing.php | <?php
namespace Knp\IpsumBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
/**
* @ORM\Entity(repositoryClass="Knp\IpsumBundle\Repository\ThingRepository")
*/
class Thing
{
/**
* @ORM\Id
* @ORM\Column(type="integer")
* @ORM\GeneratedValue(strategy="AUTO")
*/
protected $id;
/**
* ... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/TwigController.php | src/Knp/IpsumBundle/Controller/TwigController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class TwigController extends Controller
{
public function helloAction($name)
{
return $this->render('KnpIpsumBundle:Twig:hello.html.twig', array(
'name' => $name
));
}
}
| php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/KnpMenuController.php | src/Knp/IpsumBundle/Controller/KnpMenuController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class KnpMenuController extends Controller
{
public function indexAction($name)
{
return $this->render('KnpIpsumBundle:KnpMenu:index.html.twig', array(
'name' => $name
));
}
}... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/SwiftmailerController.php | src/Knp/IpsumBundle/Controller/SwiftmailerController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class SwiftmailerController extends Controller
{
public function indexAction()
{
return $this->render('KnpIpsumBundle:SwiftMailer:index.html.twig');
}
public function sendAction()
{
... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/JMSSecurityExtraController.php | src/Knp/IpsumBundle/Controller/JMSSecurityExtraController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use JMS\SecurityExtraBundle\Annotation\Secure;
class JMSSecurityExtraController extends Controller
{
public function indexAction()
{
return $this->render('KnpIpsumBundle:JMSSecurityExtra:index.html.t... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/DoctrineOrmController.php | src/Knp/IpsumBundle/Controller/DoctrineOrmController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Knp\IpsumBundle\Entity\Thing;
use Knp\IpsumBundle\Entity\Category;
class DoctrineOrmController extends Controller
{
public function indexAction()
{
$em = $this->get('doctrine')->getEntityManager(... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/FormController.php | src/Knp/IpsumBundle/Controller/FormController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\HttpFoundation\RedirectResponse;
use Knp\IpsumBundle\Form\Type\ContactType;
use Knp\IpsumBundle\Form\Model\Contact;
use Symfony\Component\HttpFoundation\File\UploadedFile;
class FormController ... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/SecuredController.php | src/Knp/IpsumBundle/Controller/SecuredController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Symfony\Component\Security\Core\SecurityContext;
class SecuredController extends Controller
{
public function indexAction()
{
return $this->render('KnpIpsumBundle:Secured:index.html.twig');
}... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/LiipImagineController.php | src/Knp/IpsumBundle/Controller/LiipImagineController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class LiipImagineController extends Controller
{
public function indexAction()
{
return $this->render('KnpIpsumBundle:LiipImagine:index.html.twig');
}
}
| php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/SensioFrameworkExtraController.php | src/Knp/IpsumBundle/Controller/SensioFrameworkExtraController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;
/**
* @Route("/sensio-frameworkextra")
*/
class SensioFrameworkExtraController extends Con... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/AsseticController.php | src/Knp/IpsumBundle/Controller/AsseticController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class AsseticController extends Controller
{
public function indexAction()
{
return $this->render('KnpIpsumBundle:Assetic:index.html.twig');
}
}
| php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/DoctrineOdmController.php | src/Knp/IpsumBundle/Controller/DoctrineOdmController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Knp\IpsumBundle\Document\Product;
use Knp\IpsumBundle\Document\Category;
class DoctrineOdmController extends Controller
{
public function indexAction()
{
$dm = $this->get('doctrine.odm.mongodb.do... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/SummaryController.php | src/Knp/IpsumBundle/Controller/SummaryController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
class SummaryController extends Controller
{
public function indexAction()
{
return $this->render('KnpIpsumBundle:Summary:index.html.twig');
}
}
| php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/KnpPaginatorController.php | src/Knp/IpsumBundle/Controller/KnpPaginatorController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Pagerfanta\Pagerfanta;
use Pagerfanta\Adapter\DoctrineORMAdapter;
class KnpPaginatorController extends Controller
{
public function indexAction()
{
$em = $this->get('doctrine')->getEntityManager(... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Controller/GedmoExtensionsController.php | src/Knp/IpsumBundle/Controller/GedmoExtensionsController.php | <?php
namespace Knp\IpsumBundle\Controller;
use Symfony\Bundle\FrameworkBundle\Controller\Controller;
use Knp\IpsumBundle\Entity\TimedThing;
class GedmoExtensionsController extends Controller
{
public function indexAction()
{
$em = $this->get('doctrine')->getEntityManager();
$things = $em->ge... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Document/Product.php | src/Knp/IpsumBundle/Document/Product.php | <?php
namespace Knp\IpsumBundle\Document;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
/**
* @MongoDB\Document(repositoryClass="Knp\IpsumBundle\Document\Repository\ProductRepository")
*/
class Product
{
/**
* @MongoDB\Id
*/
protected $id;
/**
* @MongoDB\String
*/
protecte... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Document/Category.php | src/Knp/IpsumBundle/Document/Category.php | <?php
namespace Knp\IpsumBundle\Document;
use Doctrine\ODM\MongoDB\Mapping\Annotations as MongoDB;
/**
* @MongoDB\Document
*/
class Category
{
/**
* @MongoDB\Id
*/
protected $id;
/**
* @MongoDB\String
*/
protected $name;
/**
* @MongoDB\ReferenceMany(targetDocument="Knp\Ipsum... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Document/Repository/ProductRepository.php | src/Knp/IpsumBundle/Document/Repository/ProductRepository.php | <?php
namespace Knp\IpsumBundle\Document\Repository;
use Doctrine\ODM\MongoDB\DocumentRepository;
/**
* ProductRepository
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*/
class ProductRepository extends DocumentRepository
{
} | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Twig/Extension/IpsumExtension.php | src/Knp/IpsumBundle/Twig/Extension/IpsumExtension.php | <?php
namespace Knp\IpsumBundle\Twig\Extension;
use Symfony\Component\HttpKernel\KernelInterface;
use Symfony\Bundle\TwigBundle\Loader\FilesystemLoader;
class IpsumExtension extends \Twig_Extension
{
protected $loader;
protected $controller;
protected $environment;
public function __construct(Filesy... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Form/Model/Contact.php | src/Knp/IpsumBundle/Form/Model/Contact.php | <?php
namespace Knp\IpsumBundle\Form\Model;
use Symfony\Component\Validator\Constraints as Assert;
use Symfony\Component\HttpFoundation\File\UploadedFile;
class Contact
{
/**
* Message
*
* @var string
* @Assert\NotBlank()
*/
protected $message;
/**
* Email
*
* @va... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Form/Type/ContactType.php | src/Knp/IpsumBundle/Form/Type/ContactType.php | <?php
namespace Knp\IpsumBundle\Form\Type;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolverInterface;
class ContactType extends AbstractType
{
public function buildForm(FormBuilderInterface $builder, array $options)
... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/DependencyInjection/KnpIpsumExtension.php | src/Knp/IpsumBundle/DependencyInjection/KnpIpsumExtension.php | <?php
namespace Knp\IpsumBundle\DependencyInjection;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
use Symfony\Component\HttpKernel\DependencyInjection\Extension;
use Symfony\... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Menu/IpsumMenu.php | src/Knp/IpsumBundle/Menu/IpsumMenu.php | <?php
namespace Knp\IpsumBundle\Menu;
use Knp\Bundle\MenuBundle\Menu;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\Routing\Router;
class IpsumMenu extends Menu
{
/**
* @param Request $request
* @param Router $router
*/
public function __construct(Request $request, Router... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Menu/MenuBuilder.php | src/Knp/IpsumBundle/Menu/MenuBuilder.php | <?php
namespace Knp\IpsumBundle\Menu;
use Knp\Menu\FactoryInterface;
use Symfony\Component\HttpFoundation\Request;
class MenuBuilder
{
private $factory;
/**
* @param FactoryInterface $factory
*/
public function __construct(FactoryInterface $factory)
{
$this->factory = $factory;
... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Tests/Controller/IpsumControllerTest.php | src/Knp/IpsumBundle/Tests/Controller/IpsumControllerTest.php | <?php
namespace Knp\IpsumBundle\Tests\Controller;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
class IpsumControllerTest extends WebTestCase
{
public function testIndex()
{
$client = self::createClient();
$crawler = $client->request('GET', '/twig/Edgar');
$this->assertTrue($... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/DataFixtures/ORM/FOSUserFixtures.php | src/Knp/IpsumBundle/DataFixtures/ORM/FOSUserFixtures.php | <?php
namespace Knp\IpsumBundle\DataFixtures\ORM;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Knp\IpsumBundle\Entity\User;
class FOSUserFixtures extends AbstractFixture
{
public function load(ObjectManager $em)
{
$user = new User();
$u... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/DataFixtures/ORM/ThingFixtures.php | src/Knp/IpsumBundle/DataFixtures/ORM/ThingFixtures.php | <?php
namespace Knp\IpsumBundle\DataFixtures\ORM;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Knp\IpsumBundle\Entity\Thing;
use Knp\IpsumBundle\Entity\Category;
class ThingFixtures extends AbstractFixture
{
public function load(ObjectManager $em)
{
... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/DataFixtures/ORM/TimedThingFixtures.php | src/Knp/IpsumBundle/DataFixtures/ORM/TimedThingFixtures.php | <?php
namespace Knp\IpsumBundle\DataFixtures\ORM;
use Doctrine\Common\Persistence\ObjectManager;
use Doctrine\Common\DataFixtures\AbstractFixture;
use Knp\IpsumBundle\Entity\TimedThing;
class TimedThingFixtures extends AbstractFixture
{
public function load(ObjectManager $em)
{
$cat = new TimedThing... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/DataFixtures/MongoDB/ProductFixtures.php | src/Knp/IpsumBundle/DataFixtures/MongoDB/ProductFixtures.php | <?php
namespace Knp\IpsumBundle\DataFixtures\MongoDB;
use Doctrine\Common\DataFixtures\FixtureInterface;
use Knp\IpsumBundle\Document\Product;
use Knp\IpsumBundle\Document\Category;
class ProductFixtures implements FixtureInterface
{
public function load($dm)
{
$catFood = new Product();
$cat... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Features/Context/FeatureContext.php | src/Knp/IpsumBundle/Features/Context/FeatureContext.php | <?php
namespace Knp\IpsumBundle\Features\Context;
use Symfony\Component\HttpKernel\KernelInterface;
use Behat\Symfony2Extension\Context\KernelAwareInterface;
use Behat\MinkExtension\Context\MinkContext;
use Behat\Behat\Context\BehatContext,
Behat\Behat\Exception\PendingException;
use Behat\Gherkin\Node\PyStringN... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/Repository/ThingRepository.php | src/Knp/IpsumBundle/Repository/ThingRepository.php | <?php
namespace Knp\IpsumBundle\Repository;
use Doctrine\ORM\EntityRepository;
class ThingRepository extends EntityRepository
{
/**
* Return all things whose name contains some string
* Order by id desc
* I know, this is heavy stuff.
*
* @param string $finish
* @return Thing[]
... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/src/Knp/IpsumBundle/EventListener/ControllerListener.php | src/Knp/IpsumBundle/EventListener/ControllerListener.php | <?php
namespace Knp\IpsumBundle\EventListener;
use Symfony\Component\EventDispatcher\Event;
use Symfony\Component\HttpKernel\HttpKernelInterface;
use Symfony\Component\HttpKernel\Event\FilterControllerEvent;
use Knp\IpsumBundle\Twig\Extension\IpsumExtension;
class ControllerListener
{
protected $extension;
... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/web/app.php | web/app.php | <?php
require_once __DIR__.'/../app/bootstrap.php.cache';
require_once __DIR__.'/../app/AppKernel.php';
//require_once __DIR__.'/../app/AppCache.php';
use Symfony\Component\HttpFoundation\Request;
//$kernel = new AppCache(new AppKernel('prod', false));
$kernel = new AppKernel('prod', false);
$kernel->loadClassCache(... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/web/app_test.php | web/app_test.php | <?php
// this check prevents access to debug front controllers that are deployed by accident to production servers.
// feel free to remove this, extend it, or make something more sophisticated.
if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
'127.0.0.1',
'::1',
))) {
header('HTTP/1.0 403 Forbidden');
di... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
KnpLabs/KnpIpsum | https://github.com/KnpLabs/KnpIpsum/blob/a32f0f2cb9aa4feeafa42887aac0feb27a816f7f/web/app_dev.php | web/app_dev.php | <?php
// this check prevents access to debug front controllers that are deployed by accident to production servers.
// feel free to remove this, extend it, or make something more sophisticated.
if (!in_array(@$_SERVER['REMOTE_ADDR'], array(
'127.0.0.1',
'::1',
))) {
header('HTTP/1.0 403 Forbidden');
di... | php | MIT | a32f0f2cb9aa4feeafa42887aac0feb27a816f7f | 2026-01-05T04:41:17.232438Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/server.php | server.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. Thi... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Tag.php | app/Tag.php | <?php
namespace App;
class Tag extends Model
{
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'tags';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['name', 'slug'];
/**
* Get... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/User.php | app/User.php | <?php
namespace App;
use Illuminate\Auth\Authenticatable;
use Illuminate\Notifications\Notifiable;
use Illuminate\Auth\Passwords\CanResetPassword;
use Illuminate\Foundation\Auth\Access\Authorizable;
use Illuminate\Contracts\Auth\Authenticatable as AuthenticatableContract;
use Illuminate\Contracts\Auth\Access\Authoriz... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Project.php | app/Project.php | <?php
namespace App;
class Project extends Model
{
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'projects';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['name', 'slug', 'description... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Series.php | app/Series.php | <?php
namespace App;
class Series extends Model
{
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'series';
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = ['name', 'slug', 'description'];... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Model.php | app/Model.php | <?php
namespace App;
use Illuminate\Database\Eloquent\SoftDeletes;
use Illuminate\Database\Eloquent\Model as BaseModel;
abstract class Model extends BaseModel
{
use SoftDeletes;
protected $dates = ['deleted_at'];
}
| php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Post.php | app/Post.php | <?php
namespace App;
use Laravel\Scout\Searchable;
class Post extends Model
{
use Searchable;
/**
* The database table used by the model.
*
* @var string
*/
protected $table = 'posts';
/**
* The attributes that are mass assignable.
*
* @var array
*/
prote... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Exceptions/Handler.php | app/Exceptions/Handler.php | <?php
namespace App\Exceptions;
use Exception;
use Illuminate\Auth\AuthenticationException;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $do... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Kernel.php | app/Http/Kernel.php | <?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Request.php | app/Http/Requests/Request.php | <?php
namespace App\Http\Requests;
use Illuminate\Foundation\Http\FormRequest;
abstract class Request extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return (bool) $this->user();
}
... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Projects/UpdateProjectRequest.php | app/Http/Requests/Projects/UpdateProjectRequest.php | <?php
namespace App\Http\Requests\Projects;
use App\Http\Requests\Request;
use Illuminate\Validation\Rule;
class UpdateProjectRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
$project = $this->ro... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Projects/StoreProjectRequest.php | app/Http/Requests/Projects/StoreProjectRequest.php | <?php
namespace App\Http\Requests\Projects;
use App\Http\Requests\Request;
use Illuminate\Validation\Rule;
class StoreProjectRequest extends Request
{
/**
* The route to redirect to if validation fails.
*
* @var string
*/
protected $redirectRoute = 'admin.projects.create';
/**
*... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Users/UpdateUserRequest.php | app/Http/Requests/Users/UpdateUserRequest.php | <?php
namespace App\Http\Requests\Users;
use App\Http\Requests\Request;
use Illuminate\Validation\Rule;
class UpdateUserRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
$user = $this->route()->pa... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Users/StoreUserRequest.php | app/Http/Requests/Users/StoreUserRequest.php | <?php
namespace App\Http\Requests\Users;
use App\Http\Requests\Request;
use Illuminate\Validation\Rule;
class StoreUserRequest extends Request
{
/**
* The route to redirect to if validation fails.
*
* @var string
*/
protected $redirectRoute = 'admin.users.create';
/**
* Get the ... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Tags/StoreTagRequest.php | app/Http/Requests/Tags/StoreTagRequest.php | <?php
namespace App\Http\Requests\Tags;
use App\Http\Requests\Request;
use Illuminate\Http\JsonResponse;
class StoreTagRequest extends Request
{
/**
* The route to redirect to if validation fails.
*
* @var string
*/
protected $redirectRoute = 'admin.posts.create';
/**
* Get the ... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Series/StoreSeriesRequest.php | app/Http/Requests/Series/StoreSeriesRequest.php | <?php
namespace App\Http\Requests\Series;
use App\Http\Requests\Request;
use Illuminate\Validation\Rule;
class StoreSeriesRequest extends Request
{
/**
* The route to redirect to if validation fails.
*
* @var string
*/
protected $redirectRoute = 'admin.series.create';
/**
* Get ... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Series/UpdateSeriesRequest.php | app/Http/Requests/Series/UpdateSeriesRequest.php | <?php
namespace App\Http\Requests\Series;
use App\Http\Requests\Request;
use Illuminate\Validation\Rule;
class UpdateSeriesRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
$series = $this->route(... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Posts/UpdatePostRequest.php | app/Http/Requests/Posts/UpdatePostRequest.php | <?php
namespace App\Http\Requests\Posts;
use App\Http\Requests\Request;
use Illuminate\Validation\Rule;
class UpdatePostRequest extends Request
{
/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
$post = $this->route()->pa... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Requests/Posts/StorePostRequest.php | app/Http/Requests/Posts/StorePostRequest.php | <?php
namespace App\Http\Requests\Posts;
use App\Http\Requests\Request;
use Illuminate\Validation\Rule;
class StorePostRequest extends Request
{
/**
* The route to redirect to if validation fails.
*
* @var string
*/
protected $redirectRoute = 'admin.posts.create';
/**
* Get the ... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/ProjectsController.php | app/Http/Controllers/ProjectsController.php | <?php
namespace App\Http\Controllers;
use App\Project;
use Illuminate\Http\Request;
class ProjectsController extends Controller
{
/**
* GET /projects
* Get a listing of all projects.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\View\View
*/
public functio... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/PostsController.php | app/Http/Controllers/PostsController.php | <?php
namespace App\Http\Controllers;
use App\Post;
use Illuminate\Http\Request;
class PostsController extends Controller
{
/**
* GET /posts
* Get a listing of all posts.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\View\View
*/
public function index(Requ... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/Controller.php | app/Http/Controllers/Controller.php | <?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesReques... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/PagesController.php | app/Http/Controllers/PagesController.php | <?php
namespace App\Http\Controllers;
use App\Post;
class PagesController extends Controller
{
/**
* GET /
* The home page.
*
* @return \Illuminate\View\View
*/
public function index()
{
$latestPosts = Post::with('tags')->published()->latest()->take(5)->get();
$p... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/SitemapsController.php | app/Http/Controllers/SitemapsController.php | <?php
namespace App\Http\Controllers;
use Sitemap;
use App\Post;
use App\Project;
use App\Series;
class SitemapsController extends Controller
{
/**
* GET /sitemap
* Return the sitemap.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
Sitemap::addTag(rout... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/SeriesController.php | app/Http/Controllers/SeriesController.php | <?php
namespace App\Http\Controllers;
use App\Series;
use Illuminate\Http\Request;
class SeriesController extends Controller
{
/**
* GET /series
* Get a listing of all series.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminate\View\View
*/
public function index... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/TagsController.php | app/Http/Controllers/TagsController.php | <?php
namespace App\Http\Controllers;
use App\Tag;
class TagsController extends Controller
{
/**
* GET /tags
* Display a listing of all tags.
*
* @return \Illuminate\View\View
*/
public function index()
{
$tags = Tag::used()->get();
foreach ($tags as $tag) {
... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/RedirectsController.php | app/Http/Controllers/RedirectsController.php | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class RedirectsController extends Controller
{
/*
|--------------------------------------------------------------------------
| General redirects
|--------------------------------------------------------------------------
*/
... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/Admin/ProjectsController.php | app/Http/Controllers/Admin/ProjectsController.php | <?php
namespace App\Http\Controllers\Admin;
use App\Project;
use App\Http\Requests\Projects\StoreProjectRequest;
use App\Http\Requests\Projects\UpdateProjectRequest;
class ProjectsController extends Controller
{
/**
* GET /admin/projects
* Display all of the projects.
*
* @return \Illuminate\... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/Admin/PostsController.php | app/Http/Controllers/Admin/PostsController.php | <?php
namespace App\Http\Controllers\Admin;
use App\Tag;
use App\Post;
use App\Series;
use App\Http\Requests\Posts\StorePostRequest;
use App\Http\Requests\Posts\UpdatePostRequest;
class PostsController extends Controller
{
/**
* GET /admin/posts
* Display all of the posts.
*
* @return \Illumi... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/Admin/Controller.php | app/Http/Controllers/Admin/Controller.php | <?php
namespace App\Http\Controllers\Admin;
use App\Http\Controllers\Controller as BaseController;
abstract class Controller extends BaseController
{
/**
* Construct the controller.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
}
| php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/Admin/PagesController.php | app/Http/Controllers/Admin/PagesController.php | <?php
namespace App\Http\Controllers\Admin;
use App\Post;
use App\User;
use App\Series;
use App\Project;
class PagesController extends Controller
{
/**
* GET /admin/users
* Display a listing of users.
*
* @return \Illuminate\View\View
*/
public function index()
{
$postsCo... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/Admin/SessionsController.php | app/Http/Controllers/Admin/SessionsController.php | <?php
namespace App\Http\Controllers\Admin;
use Validator;
use Illuminate\Contracts\Auth\Guard;
use Illuminate\Http\Request;
class SessionsController extends Controller
{
/**
* Construct the controller.
*
* @return void
*/
public function __construct()
{
$this->middleware('aut... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/Admin/SeriesController.php | app/Http/Controllers/Admin/SeriesController.php | <?php
namespace App\Http\Controllers\Admin;
use App\Series;
use App\Http\Requests\Series\StoreSeriesRequest;
use App\Http\Requests\Series\UpdateSeriesRequest;
class SeriesController extends Controller
{
/**
* GET /admin/series
* Display all of the series.
*
* @return \Illuminate\View\View
... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/Admin/TagsController.php | app/Http/Controllers/Admin/TagsController.php | <?php
namespace App\Http\Controllers\Admin;
use App\Tag;
use Illuminate\Http\Request;
use App\Http\Requests\Tags\StoreTagRequest;
class TagsController extends Controller
{
/**
* GET /admin/tags
* Display all of the tags.
*
* @param \Illuminate\Http\Request $request
* @return \Illuminat... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Controllers/Admin/UsersController.php | app/Http/Controllers/Admin/UsersController.php | <?php
namespace App\Http\Controllers\Admin;
use App\User;
use App\Http\Requests\Users\StoreUserRequest;
use App\Http\Requests\Users\UpdateUserRequest;
class UsersController extends Controller
{
/**
* GET /admin/users
* Display all of the users.
*
* @return \Illuminate\View\View
*/
pu... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Middleware/RedirectIfAuthenticated.php | app/Http/Middleware/RedirectIfAuthenticated.php | <?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Middleware/TrustProxies.php | app/Http/Middleware/TrustProxies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The headers that should be used t... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Middleware/TrimStrings.php | app/Http/Middleware/TrimStrings.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'password',
'password_conf... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Middleware/EncryptCookies.php | app/Http/Middleware/EncryptCookies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Http/Middleware/VerifyCsrfToken.php | app/Http/Middleware/VerifyCsrfToken.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Support/helpers.php | app/Support/helpers.php | <?php
use Illuminate\Support\HtmlString;
if (! function_exists('markdown')) {
/**
* Convert Markdown into HTML.
*
* @param string $markdown
* @return string
*/
function markdown($markdown)
{
$compiled = (new Parsedown)->text($markdown);
return new HtmlString($co... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Console/Kernel.php | app/Console/Kernel.php | <?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];
... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Providers/BroadcastServiceProvider.php | app/Providers/BroadcastServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::routes();... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Providers/RouteServiceProvider.php | app/Providers/RouteServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as th... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Providers/EventServiceProvider.php | app/Providers/EventServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Event;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Providers/AppServiceProvider.php | app/Providers/AppServiceProvider.php | <?php
namespace App\Providers;
use Form;
use Illuminate\Support\HtmlString;
use Illuminate\Support\ViewErrorBag;
use Laravel\Dusk\DuskServiceProvider;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return vo... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/app/Providers/AuthServiceProvider.php | app/Providers/AuthServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies ... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/bootstrap/app.php | bootstrap/app.php | <?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of La... | php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
dwightwatson/neontsunami-laravel | https://github.com/dwightwatson/neontsunami-laravel/blob/fb39bdca9f6f7794d010e1229f26ea69419af1ec/tests/TestCase.php | tests/TestCase.php | <?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
}
| php | MIT | fb39bdca9f6f7794d010e1229f26ea69419af1ec | 2026-01-05T04:41:26.570282Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.