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
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Entity/Setting.php
Entity/Setting.php
<?php namespace Craue\ConfigBundle\Entity; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.php MIT License */ class Setting extends BaseSetting { }
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Controller/SettingsController.php
Controller/SettingsController.php
<?php namespace Craue\ConfigBundle\Controller; use Craue\ConfigBundle\CacheAdapter\CacheAdapterInterface; use Craue\ConfigBundle\Entity\SettingInterface; use Craue\ConfigBundle\Form\ModifySettingsForm; use Doctrine\ORM\EntityManagerInterface; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfo...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Twig/Extension/ConfigTemplateExtension.php
Twig/Extension/ConfigTemplateExtension.php
<?php namespace Craue\ConfigBundle\Twig\Extension; use Craue\ConfigBundle\Util\Config; use Twig\Extension\AbstractExtension; use Twig\TwigFilter; use Twig\TwigFunction; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-licen...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Form/ModifySettingsForm.php
Form/ModifySettingsForm.php
<?php namespace Craue\ConfigBundle\Form; use Craue\ConfigBundle\Entity\SettingInterface; use Craue\ConfigBundle\Form\Type\SettingType; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\Extension\Core\Type\FormType; use Symfony\Component\Form\FormBuilderInterface; /** * @author Christian Raue <chri...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Form/Type/SettingType.php
Form/Type/SettingType.php
<?php namespace Craue\ConfigBundle\Form\Type; use Craue\ConfigBundle\Entity\SettingInterface; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormEvent; use Symfony\Component\Form\FormEvents; use Symfony\Component\Form\FormInterface; use Symfony\Com...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/DependencyInjection/Configuration.php
DependencyInjection/Configuration.php
<?php namespace Craue\ConfigBundle\DependencyInjection; use Craue\ConfigBundle\Entity\Setting; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; /** * Semantic bundle configuration. * * @author Christian Raue <christian.raue@gmail.com> * ...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/DependencyInjection/CraueConfigExtension.php
DependencyInjection/CraueConfigExtension.php
<?php namespace Craue\ConfigBundle\DependencyInjection; use Craue\ConfigBundle\Entity\Setting; use Symfony\Component\Config\FileLocator; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\Extension\Extension; use Symfony\Component\DependencyInjection\Extension\Prepen...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Util/Config.php
Util/Config.php
<?php namespace Craue\ConfigBundle\Util; use Craue\ConfigBundle\CacheAdapter\CacheAdapterInterface; use Craue\ConfigBundle\CacheAdapter\NullAdapter; use Craue\ConfigBundle\Entity\SettingInterface; use Craue\ConfigBundle\Repository\SettingRepository; use Doctrine\ORM\EntityManager; /** * @author Christian Raue <chri...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/AppKernel.php
Tests/AppKernel.php
<?php namespace Craue\ConfigBundle\Tests; use Symfony\Component\Config\Loader\LoaderInterface; use Symfony\Component\Filesystem\Filesystem; use Symfony\Component\HttpKernel\Kernel; class AppKernel extends Kernel { private $configFiles; public function __construct($environment, $configFiles) { parent::__constru...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/IntegrationTestCase.php
Tests/IntegrationTestCase.php
<?php namespace Craue\ConfigBundle\Tests; use Craue\ConfigBundle\Entity\SettingInterface; use Craue\ConfigBundle\Repository\SettingRepository; use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManager; use Doctrine\ORM\Tools\SchemaTool; use Symfony\Bundle\FrameworkBundle\Test\WebTestCase; use Symfony\Compone...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Controller/SettingsControllerIntegrationTest.php
Tests/Controller/SettingsControllerIntegrationTest.php
<?php namespace Craue\ConfigBundle\Tests\Controller; use Craue\ConfigBundle\Entity\Setting; use Craue\ConfigBundle\Entity\SettingInterface; use Craue\ConfigBundle\Tests\IntegrationTestBundle\Entity\CanBeDisabledSetting; use Craue\ConfigBundle\Tests\IntegrationTestBundle\Entity\CustomSetting; use Craue\ConfigBundle\Te...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Controller/SettingsControllerUnitTest.php
Tests/Controller/SettingsControllerUnitTest.php
<?php namespace Craue\ConfigBundle\Tests\Controller; use Craue\ConfigBundle\Controller\SettingsController; use Craue\ConfigBundle\Entity\Setting; use PHPUnit\Framework\TestCase; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://openso...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Controller/DebugControllerTest.php
Tests/Controller/DebugControllerTest.php
<?php namespace Craue\ConfigBundle\Tests\Controller; use Craue\ConfigBundle\Entity\Setting; use Craue\ConfigBundle\Tests\IntegrationTestCase; use Doctrine\Bundle\DoctrineBundle\DataCollector\DoctrineDataCollector; /** * @group integration * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-20...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/IntegrationTestBundle/IntegrationTestBundle.php
Tests/IntegrationTestBundle/IntegrationTestBundle.php
<?php namespace Craue\ConfigBundle\Tests\IntegrationTestBundle; use Symfony\Component\HttpKernel\Bundle\Bundle; class IntegrationTestBundle extends Bundle { }
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/IntegrationTestBundle/Entity/CanBeDisabledSetting.php
Tests/IntegrationTestBundle/Entity/CanBeDisabledSetting.php
<?php namespace Craue\ConfigBundle\Tests\IntegrationTestBundle\Entity; use Craue\ConfigBundle\Entity\BaseSetting; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.php MIT License */ class CanBeDisabledSetting exten...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/IntegrationTestBundle/Entity/CustomSetting.php
Tests/IntegrationTestBundle/Entity/CustomSetting.php
<?php namespace Craue\ConfigBundle\Tests\IntegrationTestBundle\Entity; use Craue\ConfigBundle\Entity\BaseSetting; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.php MIT License */ class CustomSetting extends Base...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/IntegrationTestBundle/Controller/DebugController.php
Tests/IntegrationTestBundle/Controller/DebugController.php
<?php namespace Craue\ConfigBundle\Tests\IntegrationTestBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\JsonResponse; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/IntegrationTestBundle/Form/Extension/SettingTypeExtension.php
Tests/IntegrationTestBundle/Form/Extension/SettingTypeExtension.php
<?php namespace Craue\ConfigBundle\Tests\IntegrationTestBundle\Form\Extension; use Craue\ConfigBundle\Entity\SettingInterface; use Craue\ConfigBundle\Form\Type\SettingType; use Symfony\Component\Form\AbstractTypeExtension; use Symfony\Component\Form\FormBuilderInterface; /** * @author Christian Raue <christian.raue...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/IntegrationTestBundle/Util/CustomConfig.php
Tests/IntegrationTestBundle/Util/CustomConfig.php
<?php namespace Craue\ConfigBundle\Tests\IntegrationTestBundle\Util; use Craue\ConfigBundle\Tests\IntegrationTestBundle\Entity\CustomSetting; use Craue\ConfigBundle\Util\Config; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Twig/Extension/ConfigTemplateExtensionTest.php
Tests/Twig/Extension/ConfigTemplateExtensionTest.php
<?php namespace Craue\ConfigBundle\Tests\Twig\Extension; use Craue\ConfigBundle\Twig\Extension\ConfigTemplateExtension; use Craue\ConfigBundle\Util\Config; use PHPUnit\Framework\TestCase; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license htt...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Twig/Extension/ConfigTemplateExtensionIntegrationTest.php
Tests/Twig/Extension/ConfigTemplateExtensionIntegrationTest.php
<?php namespace Craue\ConfigBundle\Tests\Twig\Extension; use Craue\ConfigBundle\Entity\Setting; use Craue\ConfigBundle\Tests\IntegrationTestCase; /** * @group integration * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-lic...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Util/ConfigIntegrationTest.php
Tests/Util/ConfigIntegrationTest.php
<?php namespace Craue\ConfigBundle\Tests\Util; use Craue\ConfigBundle\Entity\Setting; use Craue\ConfigBundle\Tests\IntegrationTestBundle\Entity\CustomSetting; use Craue\ConfigBundle\Tests\IntegrationTestBundle\Util\CustomConfig; use Craue\ConfigBundle\Tests\IntegrationTestCase; use Doctrine\DBAL\Exception\UniqueConst...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Util/ConfigUnitTest.php
Tests/Util/ConfigUnitTest.php
<?php namespace Craue\ConfigBundle\Tests\Util; use Craue\ConfigBundle\CacheAdapter\CacheAdapterInterface; use Craue\ConfigBundle\Entity\Setting; use Craue\ConfigBundle\Repository\SettingRepository; use Craue\ConfigBundle\Util\Config; use Doctrine\ORM\EntityManager; use Doctrine\ORM\EntityRepository; use PHPUnit\Frame...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Resources/DoctrineMappingTest.php
Tests/Resources/DoctrineMappingTest.php
<?php namespace Craue\ConfigBundle\Tests\Resources; use PHPUnit\Framework\TestCase; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.php MIT License */ class DoctrineMappingTest extends TestCase {...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Resources/TranslationsTest.php
Tests/Resources/TranslationsTest.php
<?php namespace Craue\ConfigBundle\Tests\Resources; use Craue\TranslationsTests\YamlTranslationsTest; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.php MIT License */ class TranslationsTest ext...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/CacheAdapter/DoctrineCacheBundleAdapterTest.php
Tests/CacheAdapter/DoctrineCacheBundleAdapterTest.php
<?php namespace Craue\ConfigBundle\Tests\CacheAdapter; use Craue\ConfigBundle\CacheAdapter\DoctrineCacheBundleAdapter; use Doctrine\Common\Cache\ArrayCache; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/CacheAdapter/BaseCacheAdapterTest.php
Tests/CacheAdapter/BaseCacheAdapterTest.php
<?php namespace Craue\ConfigBundle\Tests\CacheAdapter; use Craue\ConfigBundle\CacheAdapter\CacheAdapterInterface; use PHPUnit\Framework\TestCase; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.ph...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/CacheAdapter/SymfonyCacheComponentAdapterPsr6AdvancedCacheTest.php
Tests/CacheAdapter/SymfonyCacheComponentAdapterPsr6AdvancedCacheTest.php
<?php namespace Craue\ConfigBundle\Tests\CacheAdapter; use Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter; use Symfony\Component\Cache\Adapter\ArrayAdapter; use Symfony\Component\Cache\CacheItem; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christia...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/CacheAdapter/SymfonyCacheComponentAdapterPsr16SimpleCacheTest.php
Tests/CacheAdapter/SymfonyCacheComponentAdapterPsr16SimpleCacheTest.php
<?php namespace Craue\ConfigBundle\Tests\CacheAdapter; use Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter; use Symfony\Component\Cache\Simple\ArrayCache; use Symfony\Component\HttpKernel\Kernel; /** * @group legacy * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 20...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/CacheAdapter/SymfonyCacheComponentAdapterRedisCacheTest.php
Tests/CacheAdapter/SymfonyCacheComponentAdapterRedisCacheTest.php
<?php namespace Craue\ConfigBundle\Tests\CacheAdapter; use Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter; use Symfony\Component\Cache\Adapter\RedisAdapter; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.or...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/CacheAdapter/SymfonyCacheComponentAdapterInvalidCacheTest.php
Tests/CacheAdapter/SymfonyCacheComponentAdapterInvalidCacheTest.php
<?php namespace Craue\ConfigBundle\Tests\CacheAdapter; use Craue\ConfigBundle\CacheAdapter\SymfonyCacheComponentAdapter; use PHPUnit\Framework\TestCase; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-lic...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/CacheAdapter/NullAdapterTest.php
Tests/CacheAdapter/NullAdapterTest.php
<?php namespace Craue\ConfigBundle\Tests\CacheAdapter; use Craue\ConfigBundle\CacheAdapter\CacheAdapterInterface; use Craue\ConfigBundle\CacheAdapter\NullAdapter; use PHPUnit\Framework\TestCase; /** * @group unit * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @lice...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/config/config_hacks.php
Tests/config/config_hacks.php
<?php use Symfony\Component\HttpKernel\Kernel; /** * @var $container \Symfony\Component\DependencyInjection\ContainerBuilder */ // TODO remove as soon as Symfony >= 6 is required if (Kernel::VERSION_ID >= 40300 && Kernel::VERSION_ID < 60000) { $container->loadFromExtension('framework', [ 'router' => [ 'utf8'...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Tests/Repository/SettingRepositoryTest.php
Tests/Repository/SettingRepositoryTest.php
<?php namespace Craue\ConfigBundle\Tests\Repository; use Craue\ConfigBundle\Entity\Setting; use Craue\ConfigBundle\Tests\IntegrationTestCase; /** * @group integration * * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/CacheAdapter/SymfonyCacheComponentAdapter.php
CacheAdapter/SymfonyCacheComponentAdapter.php
<?php namespace Craue\ConfigBundle\CacheAdapter; use Psr\Cache\CacheItemPoolInterface; use Psr\SimpleCache\CacheInterface; use Symfony\Component\Cache\Adapter\Psr16Adapter; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-l...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/CacheAdapter/NullAdapter.php
CacheAdapter/NullAdapter.php
<?php namespace Craue\ConfigBundle\CacheAdapter; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.php MIT License */ class NullAdapter implements CacheAdapterInterface { public function clear() { return true; }...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/CacheAdapter/CacheAdapterInterface.php
CacheAdapter/CacheAdapterInterface.php
<?php namespace Craue\ConfigBundle\CacheAdapter; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.php MIT License */ interface CacheAdapterInterface { /** * Deletes all cache entries. * @return bool Whether th...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/CacheAdapter/DoctrineCacheBundleAdapter.php
CacheAdapter/DoctrineCacheBundleAdapter.php
<?php namespace Craue\ConfigBundle\CacheAdapter; use Doctrine\Common\Cache\CacheProvider; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.php MIT License */ class DoctrineCacheBundleAdapter implements CacheAdapter...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
craue/CraueConfigBundle
https://github.com/craue/CraueConfigBundle/blob/ac08159ac0d0880b46bc29308f720869b4df72e5/Repository/SettingRepository.php
Repository/SettingRepository.php
<?php namespace Craue\ConfigBundle\Repository; use Craue\ConfigBundle\Entity\SettingInterface; use Doctrine\ORM\EntityRepository; /** * @author Christian Raue <christian.raue@gmail.com> * @copyright 2011-2023 Christian Raue * @license http://opensource.org/licenses/mit-license.php MIT License */ class SettingRep...
php
MIT
ac08159ac0d0880b46bc29308f720869b4df72e5
2026-01-05T03:42:45.568202Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/ImportPlugin.php
ImportPlugin.php
<?php namespace Craft; /** * Import Plugin. * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/boboldehampsink */ class ImportPlugin extends Base...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/tasks/Import_RevertTask.php
tasks/Import_RevertTask.php
<?php namespace Craft; /** * Import Revert Task. * * Contains logic for reverting imports * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/bob...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/tasks/ImportTask.php
tasks/ImportTask.php
<?php namespace Craft; /** * Import Revert Task. * * Contains logic for importing * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/boboldehamp...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/services/Import_UserService.php
services/Import_UserService.php
<?php namespace Craft; /** * Import User Service. * * Contains logic for importing users * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/bobo...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/services/Import_EntryService.php
services/Import_EntryService.php
<?php namespace Craft; /** * Import Entry Service. * * Contains logic for importing entries * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/b...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/services/ImportService.php
services/ImportService.php
<?php namespace Craft; /** * Import Service. * * Contains common import logic * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/boboldehampsink...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/services/Import_CategoryService.php
services/Import_CategoryService.php
<?php namespace Craft; /** * Import Category Service. * * Contains logic for importing categories * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/services/IImportElementType.php
services/IImportElementType.php
<?php namespace Craft; /** * Import Element Type Interface. * * Interface for Importing Element Types * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://gi...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/services/Import_HistoryService.php
services/Import_HistoryService.php
<?php namespace Craft; /** * Import History Service. * * Contains logic for showing import history * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://githu...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/variables/ImportVariable.php
variables/ImportVariable.php
<?php namespace Craft; /** * Import Variable. * * Injects logics into the templates * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/boboldeha...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/tests/ImportServiceTest.php
tests/ImportServiceTest.php
<?php namespace Craft; use PHPUnit_Framework_MockObject_MockObject as MockObject; /** * Contains unit tests for the ImportService. * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreemen...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
true
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/tests/Import_CategoryServiceTest.php
tests/Import_CategoryServiceTest.php
<?php namespace Craft; use PHPUnit_Framework_MockObject_MockObject as MockObject; /** * Contains unit tests for the Import_CategoryService. * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/tests/Import_UserServiceTest.php
tests/Import_UserServiceTest.php
<?php namespace Craft; use PHPUnit_Framework_MockObject_MockObject as MockObject; /** * Contains unit tests for the Import_UserService. * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agr...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/tests/Import_HistoryServiceTest.php
tests/Import_HistoryServiceTest.php
<?php namespace Craft; use PHPUnit_Framework_MockObject_MockObject as MockObject; /** * Contains unit tests for the Import_HistoryService. * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License ...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/tests/Import_EntryServiceTest.php
tests/Import_EntryServiceTest.php
<?php namespace Craft; use PHPUnit_Framework_MockObject_MockObject as MockObject; /** * Contains unit tests for the Import_EntryService. * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Ag...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/translations/nl.php
translations/nl.php
<?php /** * Dutch language. * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/boboldehampsink */ return array( 'Import' => 'Importeren', ...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/controllers/ImportController.php
controllers/ImportController.php
<?php namespace Craft; /** * Import Controller. * * Request actions for importing * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/boboldehamp...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/controllers/Import_HistoryController.php
controllers/Import_HistoryController.php
<?php namespace Craft; /** * Import History Controller. * * Request actions for Import History * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.co...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/models/ImportModel.php
models/ImportModel.php
<?php namespace Craft; /** * Import Model. * * Contains common constants and file upload validation * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://gith...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/models/Import_ElementModel.php
models/Import_ElementModel.php
<?php namespace Craft; /** * Import Element Model. * * Contains the constants for element field handles * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/migrations/m140903_075432_import_ImportElements.php
migrations/m140903_075432_import_ImportElements.php
<?php namespace Craft; /** * The class name is the UTC timestamp in the format of mYYMMDD_HHMMSS_pluginHandle_migrationName. */ class m140903_075432_import_ImportElements extends BaseMigration { /** * Any migration code in here is wrapped inside of a transaction. * * @return bool */ publ...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/migrations/m140430_122214_import_ImportHistory.php
migrations/m140430_122214_import_ImportHistory.php
<?php namespace Craft; /** * The class name is the UTC timestamp in the format of mYYMMDD_HHMMSS_pluginHandle_migrationName. */ class m140430_122214_import_ImportHistory extends BaseMigration { /** * Any migration code in here is wrapped inside of a transaction. * * @return bool */ publi...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/migrations/m140616_080724_import_saveEntryIdAndVersion.php
migrations/m140616_080724_import_saveEntryIdAndVersion.php
<?php namespace Craft; /** * The class name is the UTC timestamp in the format of mYYMMDD_HHMMSS_pluginHandle_migrationName. */ class m140616_080724_import_saveEntryIdAndVersion extends BaseMigration { /** * Any migration code in here is wrapped inside of a transaction. * * @return bool */ ...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/records/Import_LogRecord.php
records/Import_LogRecord.php
<?php namespace Craft; /** * Import Log Record. * * Represents the import_log table * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/boboldeha...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/records/Import_EntriesRecord.php
records/Import_EntriesRecord.php
<?php namespace Craft; /** * Import Entries Record. * * Represents the import_entries table * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/b...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
boboldehampsink/import
https://github.com/boboldehampsink/import/blob/cdf202414b1f7c5599bff7478b61f4737fd69939/records/Import_HistoryRecord.php
records/Import_HistoryRecord.php
<?php namespace Craft; /** * Import History Record. * * Represents the import_history table * * @author Bob Olde Hampsink <b.oldehampsink@itmundi.nl> * @copyright Copyright (c) 2015, Bob Olde Hampsink * @license http://buildwithcraft.com/license Craft License Agreement * * @link http://github.com/b...
php
MIT
cdf202414b1f7c5599bff7478b61f4737fd69939
2026-01-05T03:43:01.103049Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/server.php
Chapter08/backend/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
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Exceptions/Handler.php
Chapter08/backend/app/Exceptions/Handler.php
<?php namespace App\Exceptions; use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler; class Handler extends ExceptionHandler { /** * A list of the exception types that are not reported. * * @var array */ protected $dontReport = [ // ]; /** * A list of the...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Kernel.php
Chapter08/backend/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
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Controllers/Controller.php
Chapter08/backend/app/Http/Controllers/Controller.php
<?php namespace App\Http\Controllers; use Illuminate\Foundation\Auth\Access\AuthorizesRequests; use Illuminate\Foundation\Bus\DispatchesJobs; use Illuminate\Foundation\Validation\ValidatesRequests; use Illuminate\Routing\Controller as BaseController; class Controller extends BaseController { use AuthorizesReques...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Controllers/UserController.php
Chapter08/backend/app/Http/Controllers/UserController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\Hash; use App\Models\User; use JWTAuth; class UserController extends Controller { public function register(Request $request) { $validator = Validator::make($requ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Controllers/AuthController.php
Chapter08/backend/app/Http/Controllers/AuthController.php
<?php namespace App\Http\Controllers; use Illuminate\Support\Facades\Auth; use App\Http\Controllers\Controller; class AuthController extends Controller { /** * Create a new AuthController instance. * * @return void */ public function __construct() { $this->middleware('auth:api...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Controllers/MessageController.php
Chapter08/backend/app/Http/Controllers/MessageController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; use Illuminate\Support\Facades\Auth; use App\Models\Message; use App\Events\MessageSent; class MessageController extends Controller { public function getAll(Request $request) { return Message:...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Controllers/ChatController.php
Chapter08/backend/app/Http/Controllers/ChatController.php
<?php namespace App\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; use App\Models\Chat; class ChatController extends Controller { public function get(Request $request) { return Chat::find($request->id); } public function getAll(Request $request) ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Middleware/Authenticate.php
Chapter08/backend/app/Http/Middleware/Authenticate.php
<?php namespace App\Http\Middleware; use Illuminate\Auth\Middleware\Authenticate as Middleware; class Authenticate extends Middleware { /** * Get the path the user should be redirected to when they are not authenticated. * * @param \Illuminate\Http\Request $request * @return string|null ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Middleware/RedirectIfAuthenticated.php
Chapter08/backend/app/Http/Middleware/RedirectIfAuthenticated.php
<?php namespace App\Http\Middleware; use App\Providers\RouteServiceProvider; use Closure; use Illuminate\Support\Facades\Auth; class RedirectIfAuthenticated { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * @param string|null ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Middleware/TrustProxies.php
Chapter08/backend/app/Http/Middleware/TrustProxies.php
<?php namespace App\Http\Middleware; use Fideloper\Proxy\TrustProxies as Middleware; use Illuminate\Http\Request; class TrustProxies extends Middleware { /** * The trusted proxies for this application. * * @var array|string|null */ protected $proxies; /** * The headers that shou...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Middleware/JwtMiddleware.php
Chapter08/backend/app/Http/Middleware/JwtMiddleware.php
<?php namespace App\Http\Middleware; use Closure; use JWTAuth; use Exception; use Tymon\JWTAuth\Http\Middleware\BaseMiddleware; use Illuminate\Http\Request; class JwtMiddleware { /** * Handle an incoming request. * * @param \Illuminate\Http\Request $request * @param \Closure $next * ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Middleware/PreventRequestsDuringMaintenance.php
Chapter08/backend/app/Http/Middleware/PreventRequestsDuringMaintenance.php
<?php namespace App\Http\Middleware; use Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance as Middleware; class PreventRequestsDuringMaintenance extends Middleware { /** * The URIs that should be reachable while maintenance mode is enabled. * * @var array */ protected...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Middleware/TrimStrings.php
Chapter08/backend/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
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Middleware/TrustHosts.php
Chapter08/backend/app/Http/Middleware/TrustHosts.php
<?php namespace App\Http\Middleware; use Illuminate\Http\Middleware\TrustHosts as Middleware; class TrustHosts extends Middleware { /** * Get the host patterns that should be trusted. * * @return array */ public function hosts() { return [ $this->allSubdomainsOfApp...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Middleware/EncryptCookies.php
Chapter08/backend/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
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Http/Middleware/VerifyCsrfToken.php
Chapter08/backend/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
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Console/Kernel.php
Chapter08/backend/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
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Models/Chat.php
Chapter08/backend/app/Models/Chat.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Chat extends Model { protected $fillable = [ 'name' ]; public function messages() { return $this->hasMany('App\Models\Message'); } }
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Models/User.php
Chapter08/backend/app/Models/User.php
<?php namespace App\Models; use Illuminate\Contracts\Auth\MustVerifyEmail; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; use Tymon\JWTAuth\Contracts\JWTSubject; class User extends Authenticatable implements JWTS...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Models/Message.php
Chapter08/backend/app/Models/Message.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; class Message extends Model { protected $fillable = [ 'message', 'chat_id', 'user_id', ]; public function chat() { return $this->belongsTo('App\Models\Chat'); } public function user() { return $t...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Providers/BroadcastServiceProvider.php
Chapter08/backend/app/Providers/BroadcastServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\Facades\Broadcast; use Illuminate\Support\ServiceProvider; class BroadcastServiceProvider extends ServiceProvider { /** * Bootstrap any application services. * * @return void */ public function boot() { Broadcast::routes();...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Providers/RouteServiceProvider.php
Chapter08/backend/app/Providers/RouteServiceProvider.php
<?php namespace App\Providers; use Illuminate\Cache\RateLimiting\Limit; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; use Illuminate\Http\Request; use Illuminate\Support\Facades\RateLimiter; use Illuminate\Support\Facades\Route; class RouteServiceProvider extends ServiceProvide...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Providers/EventServiceProvider.php
Chapter08/backend/app/Providers/EventServiceProvider.php
<?php namespace App\Providers; use Illuminate\Auth\Events\Registered; use Illuminate\Auth\Listeners\SendEmailVerificationNotification; use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Event; class EventServiceProvider extends ServiceProvider { /*...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Providers/AppServiceProvider.php
Chapter08/backend/app/Providers/AppServiceProvider.php
<?php namespace App\Providers; use Illuminate\Support\ServiceProvider; class AppServiceProvider extends ServiceProvider { /** * Register any application services. * * @return void */ public function register() { // } /** * Bootstrap any application services. ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Providers/AuthServiceProvider.php
Chapter08/backend/app/Providers/AuthServiceProvider.php
<?php namespace App\Providers; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; use Illuminate\Support\Facades\Gate; class AuthServiceProvider extends ServiceProvider { /** * The policy mappings for the application. * * @var array */ protected $policies ...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/app/Events/MessageSent.php
Chapter08/backend/app/Events/MessageSent.php
<?php namespace App\Events; use App\Models\User; use App\Models\Message; use Illuminate\Broadcasting\Channel; use Illuminate\Queue\SerializesModels; use Illuminate\Broadcasting\PrivateChannel; use Illuminate\Broadcasting\PresenceChannel; use Illuminate\Foundation\Events\Dispatchable; use Illuminate\Broadcasting\Inter...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/bootstrap/app.php
Chapter08/backend/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
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/tests/TestCase.php
Chapter08/backend/tests/TestCase.php
<?php namespace Tests; use Illuminate\Foundation\Testing\TestCase as BaseTestCase; abstract class TestCase extends BaseTestCase { use CreatesApplication; }
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/tests/CreatesApplication.php
Chapter08/backend/tests/CreatesApplication.php
<?php namespace Tests; use Illuminate\Contracts\Console\Kernel; trait CreatesApplication { /** * Creates the application. * * @return \Illuminate\Foundation\Application */ public function createApplication() { $app = require __DIR__.'/../bootstrap/app.php'; $app->make...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/tests/Feature/ExampleTest.php
Chapter08/backend/tests/Feature/ExampleTest.php
<?php namespace Tests\Feature; use Illuminate\Foundation\Testing\RefreshDatabase; use Tests\TestCase; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function testBasicTest() { $response = $this->get('/'); $response->assertS...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/tests/Unit/ExampleTest.php
Chapter08/backend/tests/Unit/ExampleTest.php
<?php namespace Tests\Unit; use PHPUnit\Framework\TestCase; class ExampleTest extends TestCase { /** * A basic test example. * * @return void */ public function testBasicTest() { $this->assertTrue(true); } }
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/routes/web.php
Chapter08/backend/routes/web.php
<?php use Illuminate\Support\Facades\Route; /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the Route...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/routes/channels.php
Chapter08/backend/routes/channels.php
<?php use Illuminate\Support\Facades\Broadcast; /* |-------------------------------------------------------------------------- | Broadcast Channels |-------------------------------------------------------------------------- | | Here you may register all of the event broadcasting channels that your | application suppo...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false
PacktPublishing/-Vue.js-3-By-Example
https://github.com/PacktPublishing/-Vue.js-3-By-Example/blob/4ea6a23108e913fea12a6e6acadbf29ccc0356c9/Chapter08/backend/routes/api.php
Chapter08/backend/routes/api.php
<?php use Illuminate\Http\Request; use Illuminate\Support\Facades\Route; use App\Http\Controllers\AuthController; use App\Http\Controllers\UserController; use App\Http\Controllers\ChatController; use App\Http\Controllers\MessageController; /* |--------------------------------------------------------------------------...
php
MIT
4ea6a23108e913fea12a6e6acadbf29ccc0356c9
2026-01-05T03:43:24.833495Z
false