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 |
|---|---|---|---|---|---|---|---|---|
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/tests/Functional/DataTable/ColumnTest.php | tests/Functional/DataTable/ColumnTest.php | <?php
namespace Umbrella\AdminBundle\Tests\Functional\DataTable;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Umbrella\AdminBundle\Lib\DataTable\Column\BooleanColumnType;
use Umbrella\AdminBundle\Lib\DataTable\Column\ColumnType;
use Umbrella\AdminBundle\Lib\DataTable\Column\DateColumnType;
use Umbrella... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/tests/Functional/DataTable/DataTableResultTest.php | tests/Functional/DataTable/DataTableResultTest.php | <?php
namespace Umbrella\AdminBundle\Tests\Functional\DataTable;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Umbrella\AdminBundle\Lib\DataTable\DTO\DataTableResult;
class DataTableResultTest extends KernelTestCase
{
public function testCount(): void
{
$r = new DataTableResult([1, 2]);... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/tests/Unit/Menu/MenuDTOTest.php | tests/Unit/Menu/MenuDTOTest.php | <?php
namespace Umbrella\AdminBundle\Tests\Unit\Menu;
use PHPUnit\Framework\TestCase;
use Umbrella\AdminBundle\Lib\Menu\DTO\Menu;
use Umbrella\AdminBundle\Lib\Menu\DTO\MenuItem;
class MenuDTOTest extends TestCase
{
public function testChildManipulation(): void
{
$menu = new Menu('test');
// ... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/tests/Unit/Menu/MenuBuilderTest.php | tests/Unit/Menu/MenuBuilderTest.php | <?php
namespace Umbrella\AdminBundle\Tests\Unit\Menu;
use PHPUnit\Framework\TestCase;
use Umbrella\AdminBundle\Lib\Menu\Builder\MenuBuilder;
class MenuBuilderTest extends TestCase
{
public function testTreeBuild(): void
{
$builder = new MenuBuilder('test');
$builder->root()
->add... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/tests/Unit/Menu/MenuCurrentVisitorTest.php | tests/Unit/Menu/MenuCurrentVisitorTest.php | <?php
namespace Umbrella\AdminBundle\Tests\Unit\Menu;
use PHPUnit\Framework\TestCase;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\RequestStack;
use Umbrella\AdminBundle\Lib\Menu\DTO\Menu;
use Umbrella\AdminBundle\Lib\Menu\DTO\MenuItem;
use Umbrella\AdminBundle\Lib\Menu\Visitor\M... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/tests/App/src/Kernel.php | tests/App/src/Kernel.php | <?php
namespace Umbrella\AdminBundle\Tests\App;
use Doctrine\Bundle\DoctrineBundle\DoctrineBundle;
use Doctrine\Bundle\FixturesBundle\DoctrineFixturesBundle;
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\FrameworkBundle\Kernel\MicroKernelTrait;
use Symfony\Bundle\SecurityBundle\SecurityBundle... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/tests/App/src/Entity/AdminUser.php | tests/App/src/Entity/AdminUser.php | <?php
namespace Umbrella\AdminBundle\Tests\App\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Umbrella\AdminBundle\Entity\BaseAdminUser;
#[ORM\Entity]
#[UniqueEntity('email')]
class AdminUser extends BaseAdminUser
{
public function getRoles(): array
... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/tests/App/src/Controller/DefaultController.php | tests/App/src/Controller/DefaultController.php | <?php
namespace Umbrella\AdminBundle\Tests\App\Controller;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
use Umbrella\AdminBundle\Lib\Controller\AdminController;
#[Route('/')]
class DefaultController extends AdminController
{
#[Route('', name: 'test.home')]
pub... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/tests/App/src/DataFixtures/AppFixtures.php | tests/App/src/DataFixtures/AppFixtures.php | <?php
namespace Umbrella\AdminBundle\Tests\App\DataFixtures;
use Doctrine\Bundle\FixturesBundle\Fixture;
use Doctrine\Persistence\ObjectManager;
use Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface;
use Umbrella\AdminBundle\Tests\App\Entity\AdminUser;
class AppFixtures extends Fixture
{
public... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/translations/UmbrellaAdmin.en.php | translations/UmbrellaAdmin.en.php | <?php
return [
'label' => [
'yes' => 'Yes',
'no' => 'No',
'name' => 'Name',
'email' => 'Email',
'created_at' => 'Created at',
'active' => 'Active',
'firstname' => 'Firstname',
'lastname' => 'Lastname',
'password' => 'Password',
'search... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/config/lib.php | config/lib.php | <?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Doctrine\ORM\Events;
use Umbrella\AdminBundle\Command\IndexEntityCommand;
use Umbrella\AdminBundle\Lib\DataTable\ActionRenderer;
use Umbrella\AdminBundle\Lib\DataTable\DataTableFactory;
use Umbrella\AdminBundle\Lib\DataTable\DataTableRegis... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/config/userProfile.php | config/userProfile.php | <?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Umbrella\AdminBundle\Controller\ProfileController;
use Umbrella\AdminBundle\Form\ProfileType;
return static function (ContainerConfigurator $configurator): void {
$services = $configurator->services();
$services->defaults()
... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/config/services.php | config/services.php | <?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Umbrella\AdminBundle\Asset\AssetPackage;
use Umbrella\AdminBundle\Maker\MakeAdminSecurity;
use Umbrella\AdminBundle\Maker\MakeHome;
use Umbrella\AdminBundle\Maker\MakeNotification;
use Umbrella\AdminBundle\Maker\MakeTable;
use Umbrella\Adm... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/config/notification.php | config/notification.php | <?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Umbrella\AdminBundle\Controller\NotificationController;
return static function (ContainerConfigurator $configurator): void {
$services = $configurator->services();
$services->defaults()
->private()
->autowire(tru... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/config/user.php | config/user.php | <?php
namespace Symfony\Component\DependencyInjection\Loader\Configurator;
use Umbrella\AdminBundle\Command\CreateAdminUserCommand;
use Umbrella\AdminBundle\Controller\SecurityController;
use Umbrella\AdminBundle\Controller\UserController;
use Umbrella\AdminBundle\DataTable\UserTableType;
use Umbrella\AdminBundle\For... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/config/routes/profile.php | config/routes/profile.php | <?php
namespace Symfony\Component\Routing\Loader\Configurator;
use Umbrella\AdminBundle\Controller\ProfileController;
return function (RoutingConfigurator $routes) {
$routes
->add('umbrella_admin_profile_index', '/profile')
->controller([ProfileController::class, 'index']);
};
| php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/config/routes/notification.php | config/routes/notification.php | <?php
namespace Symfony\Component\Routing\Loader\Configurator;
use Umbrella\AdminBundle\Controller\NotificationController;
return function (RoutingConfigurator $routes) {
$routes
->add('umbrella_admin_notification_list', '/notification/list')
->controller([NotificationController::class, 'list']);... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/config/routes/security.php | config/routes/security.php | <?php
namespace Symfony\Component\Routing\Loader\Configurator;
use Umbrella\AdminBundle\Controller\SecurityController;
return function (RoutingConfigurator $routes) {
$routes
->add(SecurityController::LOGIN_ROUTE, '/login')
->controller([SecurityController::class, 'login']);
$routes
... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/config/routes/user.php | config/routes/user.php | <?php
namespace Symfony\Component\Routing\Loader\Configurator;
use Umbrella\AdminBundle\Controller\UserController;
return function (RoutingConfigurator $routes) {
$routes
->add('umbrella_admin_user_index', '/user')
->controller([UserController::class, 'index']);
$routes
->add('umbre... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/Menu.tpl.php | skeleton/Menu.tpl.php | <?= "<?php\n"; ?>
namespace <?= $namespace ?>;
use Umbrella\AdminBundle\Menu\BaseAdminMenu;
use Umbrella\AdminBundle\Lib\Menu\Builder\MenuBuilder;
class AdminMenu extends BaseAdminMenu
{
public function buildMenu(MenuBuilder $builder, array $options): void
{
$builder->root()
->add('Home'... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/NestedRepository.tpl.php | skeleton/NestedRepository.tpl.php | <?= "<?php\n"; ?>
namespace <?= $namespace ?>;
use <?= $entity->getFullName() ?>;
use Doctrine\ORM\EntityManagerInterface;
use Gedmo\Tree\Entity\Repository\NestedTreeRepository;
/**
* @method <?= $entity->getShortName() ?>|null find($id, $lockMode = null, $lockVersion = null)
* @method <?= $entity->getShortName() ... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/TableType.tpl.php | skeleton/TableType.tpl.php | <?= "<?php\n"; ?>
namespace <?= $namespace ?>;
use <?= $entity->getFullName() ?>;
use Doctrine\ORM\QueryBuilder;
use Umbrella\AdminBundle\Lib\Form\SearchType;
use Umbrella\AdminBundle\Lib\DataTable\Action\ButtonAddActionType;
use Umbrella\AdminBundle\Lib\DataTable\Column\ActionColumnType;
use Umbrella\AdminBundle\Lib... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/template_edit.tpl.php | skeleton/template_edit.tpl.php | {# Instead of creating template for edition, you can render "@UmbrellaAdmin/edit.html.twig" on controller #}
{% extends "@UmbrellaAdmin/layout.html.twig" %}
{% block breadcrumb %}
{% set admin_breadcrumb = get_breadcrumb(admin_menu, {}, (entity.id ? 'Edit' : 'Add') | trans) %}
{{ render_breadcrumb(admin_breadc... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/Controller.tpl.php | skeleton/Controller.tpl.php | <?= "<?php\n" ?>
namespace <?= $namespace ?>;
use <?= $table->getFullName() ?>;
use <?= $entity->getFullName() ?>;
use <?= $form->getFullName() ?>;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
use Umbrella\AdminBundle\Lib\C... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/HomeController.tpl.php | skeleton/HomeController.tpl.php | <?= "<?php\n" ?>
namespace <?= $namespace ?>;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Routing\Attribute\Route;
use Umbrella\AdminBundle\Lib\Controller\AdminController;
#[Route('<?= $route['base_path'] ?>')]
class <?= $class_name ?> extends AdminController
{
#[Route('')]
public f... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/AdminUser.tpl.php | skeleton/AdminUser.tpl.php | <?= "<?php\n" ?>
namespace <?= $namespace ?>;
use <?= $repository->getFullName() ?>;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity;
use Umbrella\AdminBundle\Entity\BaseAdminUser;
#[ORM\Entity(repositoryClass: <?= $repository->getShortName() ?>::class)]
#[UniqueEntity... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/FormType.tpl.php | skeleton/FormType.tpl.php | <?= "<?php\n"; ?>
namespace <?= $namespace ?>;
use <?= $entity->getFullName() ?>;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
class <?= $class_name ?> extends AbstractType
{
public function buildForm(FormBuilderI... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/template_edit_modal.tpl.php | skeleton/template_edit_modal.tpl.php | {# Instead of creating template for edition, you can render "@UmbrellaAdmin/edit_modal.html.twig" on controller #}
{% extends "@UmbrellaAdmin/lib/modal/form.html.twig" %}
{% block modal_title %}
<h5 class="modal-title">{{ (entity.id ? 'Edit' : 'Add') | trans }}</h5>
{% endblock %} | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/template_home.tpl.php | skeleton/template_home.tpl.php | {% extends "@UmbrellaAdmin/layout.html.twig" %} | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/NestedFormType.tpl.php | skeleton/NestedFormType.tpl.php | <?= "<?php\n"; ?>
namespace <?= $namespace ?>;
use <?= $entity->getFullName() ?>;
use Symfony\Component\Form\AbstractType;
use Symfony\Component\Form\FormBuilderInterface;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Umbrella\AdminBundle\Lib\Form\NestedEntityType;
class <?= $class_name ?> extends Abstr... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/NestedTableType.tpl.php | skeleton/NestedTableType.tpl.php | <?= "<?php\n"; ?>
namespace <?= $namespace ?>;
use <?= $entity->getFullName() ?>;
use Symfony\Component\OptionsResolver\OptionsResolver;
use Umbrella\AdminBundle\Lib\DataTable\Action\ButtonAddActionType;
use Umbrella\AdminBundle\Lib\DataTable\Column\ActionColumnType;
use Umbrella\AdminBundle\Lib\DataTable\Column\Prop... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/NestedEntity.tpl.php | skeleton/NestedEntity.tpl.php | <?= "<?php\n"; ?>
namespace <?= $namespace ?>;
use <?= $repository->getFullName() ?>;
use Doctrine\Common\Collections\ArrayCollection;
use Doctrine\Common\Collections\Collection;
use Doctrine\DBAL\Types\Types;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Umbrella\AdminBundle\Entity\Trai... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/Entity.tpl.php | skeleton/Entity.tpl.php | <?= "<?php\n" ?>
namespace <?= $namespace ?>;
use <?= $repository->getFullName() ?>;
use Doctrine\ORM\Mapping as ORM;
use Umbrella\AdminBundle\Entity\Trait\IdTrait;
#[ORM\Entity(repositoryClass: <?= $repository->getShortName() ?>::class)]
class <?= $class_name."\n" ?>
{
use IdTrait;
}
| php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/EntityRepository.tpl.php | skeleton/EntityRepository.tpl.php | <?= "<?php\n"; ?>
namespace <?= $namespace ?>;
use <?= $entity->getFullName() ?>;
use Doctrine\ORM\EntityManagerInterface;
use Doctrine\ORM\EntityRepository;
/**
* @method <?= $entity->getShortName() ?>|null find($id, $lockMode = null, $lockVersion = null)
* @method <?= $entity->getShortName() ?>|null findOneBy(ar... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/notification/NotificationProvider.tpl.php | skeleton/notification/NotificationProvider.tpl.php | <?= "<?php\n"; ?>
namespace <?= $namespace ?>;
use <?= $entity->getFullName() ?>;
use Doctrine\ORM\EntityManagerInterface;
use Umbrella\AdminBundle\Notification\BaseNotificationProvider;
class <?= $class_name ?> extends BaseNotificationProvider
{
public function __construct(private readonly EntityManagerInterfa... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
acantepie/umbrella-admin-bundle | https://github.com/acantepie/umbrella-admin-bundle/blob/c7fd310313fc0f1fdc65904ef83a56cf0ba29779/skeleton/notification/NotificationEntity.tpl.php | skeleton/notification/NotificationEntity.tpl.php | <?= "<?php\n" ?>
namespace <?= $namespace ?>;
use <?= $repository->getFullName() ?>;
use Doctrine\ORM\Mapping as ORM;
use Umbrella\AdminBundle\Entity\BaseNotification;
#[ORM\Entity(repositoryClass: <?= $repository->getShortName() ?>::class)]
class <?= $class_name ?> extends BaseNotification
{
// /**
// * @var... | php | MIT | c7fd310313fc0f1fdc65904ef83a56cf0ba29779 | 2026-01-05T04:24:06.294580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/author.php | author.php | <?php
global $wp_query;
$templates = ['author.twig', 'archive.twig'];
$context = Timber::get_context();
$context['posts'] = new Timber\PostQuery();
$context['pagination'] = Timber::get_pagination($pagination_mid_size);
// Check if author exists
if (isset($wp_query->query_vars['author'])... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/page.php | page.php | <?php
$context = Timber::get_context();
$post = new TimberPost();
$context['post'] = $post;
Timber::render(['page-' . $post->post_name . '.twig', 'page.twig'], $context);
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/woocommerce.php | woocommerce.php | <?php
$context = Timber::get_context();
if (is_singular('product')) {
$context['post'] = Timber::get_post();
$product = wc_get_product($context['post']->ID);
$context['product'] = $product;
Timber::render('woocommerce/single-product.twig', $context);
} else {
$posts ... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/archive.php | archive.php | <?php
$templates = ['archive.twig', 'index.twig'];
$context = Timber::get_context();
$context['title'] = 'Archive';
if (is_day()) {
$context['title'] = 'Archive: ' . get_the_date('D M Y');
} elseif (is_month()) {
$context['title'] = 'Archive: ' . get_the_date('M Y');
} elseif (is_year()) {
... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/search.php | search.php | <?php
$templates = ['search.twig', 'archive.twig', 'index.twig'];
$context = Timber::get_context();
$context['title'] = 'Search results for: ' . get_search_query();
$context['posts'] = new Timber\PostQuery();
$context['pagination'] = Timber::get_pagination($pagination_mid_size);
Ti... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/functions.php | functions.php | <?php
// Bootstrapping theme
require_once __DIR__ . '/app/bootstrap.php';
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/index.php | index.php | <?php
$context = Timber::get_context();
$context['posts'] = new Timber\PostQuery();
$context['pagination'] = Timber::get_pagination($pagination_mid_size);
Timber::render('index.twig', $context);
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/404.php | 404.php | <?php
$context = Timber::get_context();
Timber::render('404.twig', $context);
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/single.php | single.php | <?php
$context = Timber::get_context();
$post = new TimberPost();
$context['post'] = $post;
$context['cancel_link'] = get_cancel_comment_reply_link(__('Cancel reply', 'base-camp'));
if (post_password_required($post->ID)) {
Timber::render('single-password.twig', $context);
}... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/searchform.php | searchform.php | <?php
$context = Timber::get_context();
$context['messages'] = get_template_messages(); // Messages have to add again to context object for some reason..
Timber::render('searchform.twig', $context);
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/helpers.php | app/helpers.php | <?php
/**
* Return url of compiled style or script file
*
* @since 1.0.0
*
* @param $key
*
* @return string
*/
function assets($key)
{
$manifest_string = file_get_contents(get_template_directory() . '/static/manifest.json');
$manifest_array = json_decode($manifest_string, true);
return get_styles... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/bootstrap.php | app/bootstrap.php | <?php
use Basecamp\Utils\Session;
// Load all composer packages
require_once __DIR__ . '/../vendor/autoload.php';
// Init Timber
$timber = new \Timber\Timber();
// Init Dotenv
$dotenv = new Dotenv\Dotenv(__DIR__ . '/..');
$dotenv->load();
// Load WordPress config files
require_once __DIR__ . '/../app/config/autolo... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/models/Page.php | app/models/Page.php | <?php
namespace Basecamp\Models;
use Basecamp\Models\Blueprints\PostType;
class Page extends PostType
{
}
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/models/Tag.php | app/models/Tag.php | <?php
namespace Basecamp\Models;
use Basecamp\Models\Blueprints\Taxonomy;
class Tag extends Taxonomy
{
protected static $taxonomy_type = 'post_tag';
}
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/models/Category.php | app/models/Category.php | <?php
namespace Basecamp\Models;
use Basecamp\Models\Blueprints\Taxonomy;
class Category extends Taxonomy
{
}
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/models/Post.php | app/models/Post.php | <?php
namespace Basecamp\Models;
use Basecamp\Models\Blueprints\PostType;
class Post extends PostType
{
}
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/models/Blueprints/PostType.php | app/models/Blueprints/PostType.php | <?php
namespace Basecamp\Models\Blueprints;
class PostType
{
protected static $args = [];
protected static function post_type()
{
$function = new \ReflectionClass(static::class);
return static::$post_type ?? strtolower($function->getShortName());
}
public static function all()
... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/models/Blueprints/Taxonomy.php | app/models/Blueprints/Taxonomy.php | <?php
namespace Basecamp\Models\Blueprints;
class Taxonomy
{
protected static $args = [];
protected static function taxonomy_type()
{
$function = new \ReflectionClass(static::class);
return static::$taxonomy_type ?? strtolower($function->getShortName());
}
public static function ... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/utils/Session.php | app/utils/Session.php | <?php
namespace Basecamp\Utils;
class Session
{
protected static $flash = [];
/**
* Init Sessions
*
* @return void
*/
public static function init()
{
add_action('init', function () {
if (!session_id()) {
session_start();
if (self... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/timber-extends/BaseCampSite.php | app/timber-extends/BaseCampSite.php | <?php
class BaseCampSite extends TimberSite
{
/**
* @var string|void WordPress core url
*/
public $wp_link;
public function __construct()
{
parent::__construct();
$this->wp_link = site_url();
$this->link = home_url();
}
}
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/timber.php | app/config/timber.php | <?php
/*
|--------------------------------------------------------------------------
| Pagination mid size
|--------------------------------------------------------------------------
|
| Here you can define that how many pagination items there are before and after current
| pagination item in pagination list. First an... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/woocommerce.php | app/config/woocommerce.php | <?php
/**
* Woocommerce Support
*/
function timber_set_product($post)
{
global $product;
if (is_woocommerce()) {
$product = wc_get_product($post->ID);
}
}
add_action('after_setup_theme', 'woocommerce_support');
function woocommerce_support()
{
add_theme_support('woocommerce');
}
add_theme... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/autoload.php | app/config/autoload.php | <?php
use Symfony\Component\Finder\Finder;
/*
| The purpose of this file is to require every PHP-file in config folder.
*/
$finder = new Finder();
$finder->files()
->in(__DIR__)
->name('*.php')
->notName(basename(__FILE__));
foreach ($finder as $file) {
require_once $file->getRealPath();
}... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/wp/admin-page.php | app/config/wp/admin-page.php | <?php
/**
* Add favicon to Admin Page
*/
add_action('admin_head', function () {
echo '<link rel="shortcut icon" href="' . images_path('favicon.png') . '" />';
});
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/wp/sidebars.php | app/config/wp/sidebars.php | <?php
function base_camp_register_sidebars()
{
register_sidebar([
'name' => __('Main Sidebar', 'base-camp'),
'id' => 'main-sidebar',
'description' => __('Widgets in this area will be shown on all posts and pages.', 'base-camp'),
'before_widget' => '<div style="... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/wp/menus.php | app/config/wp/menus.php | <?php
/**
* Registers a custom Navigation Menu in the custom menu editor
*/
function base_camp_register_menus()
{
register_nav_menu('main_menu', __('Main menu', 'base-camp'));
}
add_action('after_setup_theme', 'base_camp_register_menus');
| php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/wp/login-page.php | app/config/wp/login-page.php | <?php
/**
* Login Page logo url
*
* @return mixed
*/
function base_camp_login_logo_url()
{
return home_url();
}
add_filter('login_headerurl', 'base_camp_login_logo_url');
/**
* Login Page logo title
*
* @return string
*/
function base_camp_login_logo_title()
{
return 'Base Camp';
}
add_filter('login... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/wp/theme-supports.php | app/config/wp/theme-supports.php | <?php
/*
|--------------------------------------------------------------------------
| Theme Supports
|--------------------------------------------------------------------------
|
| Theme Supports are specific features that may be enabled by theme authors.
| Some features have already been enabled for you, but feel fr... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/wp/security.php | app/config/wp/security.php | <?php
/**
* TABLE OF CONTENTS
*
* Hide WordPress version number from source code
* Custom Login Error Message
*/
/*
|--------------------------------------------------------------------------
| Hide WordPress version number from source code
|-----------------------------------------------------------------------... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/wp/image-sizes.php | app/config/wp/image-sizes.php | <?php
// Register a new image size.
add_image_size('square', 400, 400, true);
/**
* Register a new image size options to the list of selectable sizes in the Media Library
*
* @param $sizes
*
* @return array
*/
function base_camp_custom_image_sizes($sizes)
{
return array_merge($sizes, [
'square' => _... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/wp/scripts-and-styles.php | app/config/wp/scripts-and-styles.php | <?php
/**
* Register scripts and styles and enqueue them
*/
function base_camp_scripts_and_styles()
{
// Helps to prevent CSS caching
$suffix = bc_env('MODE', 'production') === 'development' ? '?' . bc_random_string(16) : '';
// Register styles
wp_register_style('base-camp-styles', assets('styles.cs... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/app/config/wp/maintenance.php | app/config/wp/maintenance.php | <?php
/*
|--------------------------------------------------------------------------
| Maintenance
|--------------------------------------------------------------------------
|
| Here you can activate site maintenance mode by setting $maintenance variable to 'enable'.
|
| Maintenance mode will only affect your site's ... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
suomato/base-camp | https://github.com/suomato/base-camp/blob/f9ecc2c03dc906dbf796f2d935e649fc7485052d/resources/languages/messages.php | resources/languages/messages.php | <?php
function get_template_messages()
{
return [
// 404 Page
'404' => [
'title' => __('404 - Page not found.', 'base-camp'),
'body' => __('The page you have looked for does not exist.', 'base-camp'),
'link_text' => __('Back to home page', 'base-camp'),
... | php | MIT | f9ecc2c03dc906dbf796f2d935e649fc7485052d | 2026-01-05T04:24:17.731580Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/PasswordStrength.php | src/PasswordStrength.php | <?php
namespace Schuppo\PasswordStrength;
class PasswordStrength
{
public function validateLetters($value)
{
return preg_match('/\pL/', $value);
}
public function validateNumbers($value)
{
return preg_match('/\pN/', $value);
}
public function validateCaseDiff($value)
... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/PasswordStrengthTranslationProvider.php | src/PasswordStrengthTranslationProvider.php | <?php
namespace Schuppo\PasswordStrength;
use Illuminate\Translation\Translator;
use Illuminate\Validation\Factory;
class PasswordStrengthTranslationProvider
{
public function get(Factory $validator): Translator
{
/** @var Translator $translator */
$translator = $validator->getTranslator();
... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/PasswordStrengthServiceProvider.php | src/PasswordStrengthServiceProvider.php | <?php
namespace Schuppo\PasswordStrength;
use Illuminate\Contracts\Validation\Factory;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Str;
class PasswordStrengthServiceProvider extends ServiceProvider
{
/**
* Register the service provider.
*/
public function register(): void
{
... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/de/validation.php | src/lang/de/validation.php | <?php
return [
"letters" => ":attribute muss mindestens einen Buchstaben enthalten.",
"case_diff" => ":attribute muss sowohl groß- als auch kleingeschriebene Buchstaben enthalten.",
"numbers" => ":attribute muss mindestens eine Zahl enthalten.",
"symbols" => ":attribute muss mindestens ein Symbol entha... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/th/validation.php | src/lang/th/validation.php | <?php
return [
"letters" => "ฟิลด์ :attribute ต้องมีตัวอักษรอย่างน้อยหนึ่งตัว",
"case_diff" => "ฟิลด์ :attribute ต้องประกอบด้วยตัวอักษรตัวใหญ่ และตัวอักษรตัวเล็ก",
"numbers" => "ฟิลด์ :attribute ต้องมีตัวเลขอย่างน้อยหนึ่งตัว",
"symbols" => "ฟิลด์ :attribute ต้องมีอักขระพิเศษ เช่น #,@ หรือ $ อย่างน้อยหน... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/fi/validation.php | src/lang/fi/validation.php | <?php
return [
"letters" => ":Attribute täytyy sisältää vähintään yksi kirjain.",
"case_diff" => ":Attribute täytyy sisältää iso ja pieni kirjain.",
"numbers" => ":Attribute täytyy sisältää vähintään yksi numero.",
"symbols" => ":Attribute täytyy sisältää vähintään yksi erikoismerkki.",
];
| php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/tr/validation.php | src/lang/tr/validation.php | <?php
return [
"letters" => ":attribute mutlaka bir harf içermelidir.",
"case_diff" => ":attribute en az bir büyük ve bir küçük harf içermelidir.",
"numbers" => ":attribute en az 1 rakam içermelidir.",
"symbols" => ":attribute az bir sembol içermelidir.",
];
| php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/cs/validation.php | src/lang/cs/validation.php | <?php
return [
"letters" => ":attribute musí obsahovat minimálně jedno velké písmeno.",
"case_diff" => ":attribute musí obsahovat velká a malá písmena.",
"numbers" => ":attribute musí obsahovat minimálně jedno číslo.",
"symbols" => ":attribute musí obsahovat minimálně jeden speciální znak (!@#$%^&*?()\... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/en/validation.php | src/lang/en/validation.php | <?php
return [
"letters" => "The :attribute must include at least one letter.",
"case_diff" => "The :attribute must include both upper and lower case letters.",
"numbers" => "The :attribute must include at least one number.",
"symbols" => "The :attribute must include at least one symbol.",
];
| php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/pl/validation.php | src/lang/pl/validation.php | <?php
return [
"letters" => "Pole :attribute musi zawierać przynajmniej jedną literę.",
"case_diff" => "Pole :attribute musi zawierać przynajmniej jedną małą i jedną dużą literę.",
"numbers" => "Pole :attribute musi zawierać przynajmniej jedną cyfrę.",
"symbols" => "Pole :attribute musi zawierać przyna... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/ar/validation.php | src/lang/ar/validation.php | <?php
return [
"letters" => ":attribute يجب ان تتضمن حرف واحد على الاقل.",
"case_diff" => ":attribute يجب ان تتضمن احرف انجليزية كبيرة وصغيرة.",
"numbers" => ":attribute يجب ان تتضمن رقم واحد على الاقل.",
"symbols" => ":attribute يجب ان تتضمن رمز على الاقل مثلا (!@#$%^&*?()\-_=+{};:,<.>).",
];
| php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/nl/validation.php | src/lang/nl/validation.php | <?php
return [
"letters" => "Het :attribute moet minimaal een letter bevatten.",
"case_diff" => "Het :attribute moet minimaal een hoofdletter en een kleine letter bevatten.",
"numbers" => "Het :attribute moet minimaal een nummer bevatten.",
"symbols" => "Het :attribute moet minimaal een speciaal teken ... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/fr/validation.php | src/lang/fr/validation.php | <?php
return [
"letters" => "Le champ :attribute doit comprendre au moins une lettre.",
"case_diff" => "Le champ :attribute doit comprendre des lettres minuscules et majuscules.",
"numbers" => "Le champ :attribute doit comprendre au moins un chiffre.",
"symbols" => "Le champ :attribute doit comprendre ... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/it/validation.php | src/lang/it/validation.php | <?php
return [
"letters" => ":attribute deve includere almeno una lettera.",
"case_diff" => ":attribute deve includere sia lettere maiuscole che minuscole.",
"numbers" => ":attribute deve includere almeno un numero.",
"symbols" => ":attribute deve includere almeno un simbolo.",
];
| php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/ro/validation.php | src/lang/ro/validation.php | <?php
return [
"letters" => "Câmpul :attribute trebuie să conțină cel puțin o literă.",
"case_diff" => "Câmpul :attribute trebuie să conțină atât litere mici cât și litere mari.",
"numbers" => "Câmpul :attribute trebuie să conțină cel puțin o cifră.",
"symbols" => "Câmpul :attribute trebuie să conțină ... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/ru/validation.php | src/lang/ru/validation.php | <?php
return [
'letters' => 'Поле :attribute должно содержать по меньшей мере одну букву.',
'case_diff' => 'Поле :attribute должно содержать буквы разного регистра, например я и Я',
'numbers' => 'Поле :attribute должно содержать по меньшей мере одну цифру.',
'symbols' => 'Поле :attribute должно содержа... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/no/validation.php | src/lang/no/validation.php | <?php
return [
"letters" => ":attribute må inneholde minst en bokstav.",
"case_diff" => ":attribute må inneholde både store og små bokstaver.",
"numbers" => ":attribute må inneholde minst ett nummer.",
"symbols" => ":attribute må inneholde minst ett symbol.",
];
| php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/zh-TW/validation.php | src/lang/zh-TW/validation.php | <?php
return [
"letters" => ":attribute 必須至少包含一個字母。",
"case_diff" => ":attribute 必須包含大小寫字母。",
"numbers" => ":attribute 必須至少包含一個數字。",
"symbols" => ":attribute 必須至少包含一個符號。",
]; | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/sv/validation.php | src/lang/sv/validation.php | <?php
return [
"letters" => ":Attribute måste innehålla minst en bokstav.",
"case_diff" => ":Attribute måste innehålla både stora och små bokstäver.",
"numbers" => ":Attribute måste innehålla minst en siffra.",
"symbols" => ":Attribute måste innehålla minst ett specialtecken.",
];
| php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/zh-CN/validation.php | src/lang/zh-CN/validation.php | <?php
return [
"letters" => ":attribute 必须包含至少一个字母。",
"case_diff" => ":attribute 必须包含大小写字母。",
"numbers" => ":attribute 必须包含至少一个数字。",
"symbols" => ":attribute 必须包含至少一个符号。",
];
| php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/src/lang/es/validation.php | src/lang/es/validation.php | <?php
return [
"letters" => "El campo :attribute debe incluir al menos una letra.",
"case_diff" => "El campo :attribute debe incluir letras mayúsculas y minúsculas.",
"numbers" => "El campo :attribute debe incluir al menos un número.",
"symbols" => "El campo :attribute debe incluir al menos un símbolo."... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/tests/TestCase.php | tests/TestCase.php | <?php
namespace Schuppo\PasswordStrength\Tests;
use Orchestra\Testbench\TestCase as OrchestraTestCase;
use Schuppo\PasswordStrength\PasswordStrengthServiceProvider;
abstract class TestCase extends OrchestraTestCase
{
protected function getPackageProviders($app): array
{
return [
PasswordS... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
schuppo/PasswordStrengthPackage | https://github.com/schuppo/PasswordStrengthPackage/blob/ebaf2a830778a3fe0544873aa567d3318d7370e9/tests/Integration/PasswordStrengthTest.php | tests/Integration/PasswordStrengthTest.php | <?php
namespace Schuppo\PasswordStrength\Tests\Integration;
use Illuminate\Translation\ArrayLoader;
use Illuminate\Translation\Translator;
use Illuminate\Validation\Factory;
use Schuppo\PasswordStrength\PasswordStrength;
use Schuppo\PasswordStrength\Tests\TestCase;
class PasswordStrengthTest extends TestCase
{
p... | php | MIT | ebaf2a830778a3fe0544873aa567d3318d7370e9 | 2026-01-05T04:24:38.577171Z | false |
Chetkov/php-clean-architecture | https://github.com/Chetkov/php-clean-architecture/blob/c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b/example.phpca-config.php | example.phpca-config.php | <?php
declare(strict_types=1);
use Chetkov\PHPCleanArchitecture\Infrastructure\Event\EventManager;
use Chetkov\PHPCleanArchitecture\Infrastructure\Event\Listener\Report\ComponentReportRenderingEventListener;
use Chetkov\PHPCleanArchitecture\Infrastructure\Event\Listener\Report\ReportBuildingEventListener;
use Chetkov... | php | MIT | c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b | 2026-01-05T04:24:47.391494Z | false |
Chetkov/php-clean-architecture | https://github.com/Chetkov/php-clean-architecture/blob/c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b/phpca-config.php | phpca-config.php | <?php
declare(strict_types=1);
use Chetkov\PHPCleanArchitecture\Infrastructure\Event\EventManager;
use Chetkov\PHPCleanArchitecture\Infrastructure\Event\Listener\Report\ComponentReportRenderingEventListener;
use Chetkov\PHPCleanArchitecture\Infrastructure\Event\Listener\Report\ReportBuildingEventListener;
use Chetkov... | php | MIT | c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b | 2026-01-05T04:24:47.391494Z | false |
Chetkov/php-clean-architecture | https://github.com/Chetkov/php-clean-architecture/blob/c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b/src/PHPCleanArchitectureFacade.php | src/PHPCleanArchitectureFacade.php | <?php
declare(strict_types=1);
namespace Chetkov\PHPCleanArchitecture;
use Chetkov\PHPCleanArchitecture\Model\Component;
use Chetkov\PHPCleanArchitecture\Service\Analysis\Event\AnalysisFinishedEvent;
use Chetkov\PHPCleanArchitecture\Service\Analysis\Event\AnalysisStartedEvent;
use Chetkov\PHPCleanArchitecture\Servic... | php | MIT | c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b | 2026-01-05T04:24:47.391494Z | false |
Chetkov/php-clean-architecture | https://github.com/Chetkov/php-clean-architecture/blob/c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b/src/Model/UnitOfCode.php | src/Model/UnitOfCode.php | <?php
declare(strict_types=1);
namespace Chetkov\PHPCleanArchitecture\Model;
use Chetkov\PHPCleanArchitecture\Model\Type\Type;
use Chetkov\PHPCleanArchitecture\Model\Type\TypeClass;
use Chetkov\PHPCleanArchitecture\Model\Type\TypeInterface;
use Chetkov\PHPCleanArchitecture\Model\Type\TypePrimitive;
use Chetkov\PHPCl... | php | MIT | c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b | 2026-01-05T04:24:47.391494Z | false |
Chetkov/php-clean-architecture | https://github.com/Chetkov/php-clean-architecture/blob/c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b/src/Model/Path.php | src/Model/Path.php | <?php
declare(strict_types=1);
namespace Chetkov\PHPCleanArchitecture\Model;
use Chetkov\PHPCleanArchitecture\Service\Helper\PathHelper;
/**
* Class Path
* @package Chetkov\PHPCleanArchitecture\Model
*/
class Path
{
/** @var string */
private $path;
/** @var string */
private $namespace;
/*... | php | MIT | c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b | 2026-01-05T04:24:47.391494Z | false |
Chetkov/php-clean-architecture | https://github.com/Chetkov/php-clean-architecture/blob/c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b/src/Model/Restrictions.php | src/Model/Restrictions.php | <?php
declare(strict_types=1);
namespace Chetkov\PHPCleanArchitecture\Model;
/**
* Class Restrictions
* @package Chetkov\PHPCleanArchitecture\Model
*/
class Restrictions
{
/** @var array<Path> */
private $publicPaths = [];
/** @var array<Path> */
private $privatePaths = [];
/** @var array<Co... | php | MIT | c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b | 2026-01-05T04:24:47.391494Z | false |
Chetkov/php-clean-architecture | https://github.com/Chetkov/php-clean-architecture/blob/c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b/src/Model/CachingTrait.php | src/Model/CachingTrait.php | <?php
declare(strict_types=1);
namespace Chetkov\PHPCleanArchitecture\Model;
trait CachingTrait
{
/** @var array<string, mixed> */
private $cache = [];
/**
* @param string $key
* @return mixed|null
*/
private function get(string $key)
{
return $this->cache[$key] ?? null;
... | php | MIT | c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b | 2026-01-05T04:24:47.391494Z | false |
Chetkov/php-clean-architecture | https://github.com/Chetkov/php-clean-architecture/blob/c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b/src/Model/Component.php | src/Model/Component.php | <?php
declare(strict_types=1);
namespace Chetkov\PHPCleanArchitecture\Model;
/**
* Class Component
* @package Chetkov\PHPCleanArchitecture\Model
*/
class Component
{
use CachingTrait;
/**
* Название по умолчанию, если не передано другое
*/
private const UNDEFINED = '*undefined*';
/**
... | php | MIT | c03e5dd50a7ee5f2187aa3ace4691cfa7089df2b | 2026-01-05T04:24:47.391494Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.