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
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Tools/Console/Command/InfoDoctrineCommand.php
lib/Doctrine/ODM/PHPCR/Tools/Console/Command/InfoDoctrineCommand.php
<?php namespace Doctrine\ODM\PHPCR\Tools\Console\Command; use Doctrine\ODM\PHPCR\Mapping\MappingException; use Doctrine\ODM\PHPCR\Tools\Console\Helper\DocumentManagerHelper; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputIn...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Tools/Console/Command/DocumentMigrateClassCommand.php
lib/Doctrine/ODM/PHPCR/Tools/Console/Command/DocumentMigrateClassCommand.php
<?php namespace Doctrine\ODM\PHPCR\Tools\Console\Command; use Doctrine\ODM\PHPCR\Tools\Console\Helper\DocumentManagerHelper; use PHPCR\Util\Console\Command\NodesUpdateCommand; use Symfony\Component\Console\Input\InputArgument; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\Ou...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Tools/Console/Command/VerifyUniqueNodeTypesMappingCommand.php
lib/Doctrine/ODM/PHPCR/Tools/Console/Command/VerifyUniqueNodeTypesMappingCommand.php
<?php namespace Doctrine\ODM\PHPCR\Tools\Console\Command; use Doctrine\ODM\PHPCR\Tools\Console\Helper\DocumentManagerHelper; use Doctrine\ODM\PHPCR\Tools\Helper\UniqueNodeTypeHelper; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Tools/Helper/TranslationConverter.php
lib/Doctrine/ODM/PHPCR/Tools/Helper/TranslationConverter.php
<?php namespace Doctrine\ODM\PHPCR\Tools\Helper; use Doctrine\Common\Util\ClassUtils; use Doctrine\ODM\PHPCR\DocumentManagerInterface; use Doctrine\ODM\PHPCR\Exception\InvalidArgumentException; use Doctrine\ODM\PHPCR\Mapping\ClassMetadata; use Doctrine\ODM\PHPCR\PHPCRExceptionInterface; use Doctrine\ODM\PHPCR\Transla...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Tools/Helper/UniqueNodeTypeHelper.php
lib/Doctrine/ODM/PHPCR/Tools/Helper/UniqueNodeTypeHelper.php
<?php namespace Doctrine\ODM\PHPCR\Tools\Helper; use Doctrine\ODM\PHPCR\DocumentManagerInterface; use Doctrine\ODM\PHPCR\Mapping\ClassMetadata; use Doctrine\ODM\PHPCR\Mapping\MappingException; /** * Provides unique node type mapping verification. */ final class UniqueNodeTypeHelper { /** * Check each mapp...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Tools/Helper/PrefetchHelper.php
lib/Doctrine/ODM/PHPCR/Tools/Helper/PrefetchHelper.php
<?php namespace Doctrine\ODM\PHPCR\Tools\Helper; use Doctrine\ODM\PHPCR\DocumentManagerInterface; use Doctrine\ODM\PHPCR\Mapping\ClassMetadata; use PHPCR\NodeInterface; use PHPCR\Util\PathHelper; /** * This helper collects information about what nodes will be loaded when * creating a document proxy and allows to l...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Repository/DefaultRepositoryFactory.php
lib/Doctrine/ODM/PHPCR/Repository/DefaultRepositoryFactory.php
<?php namespace Doctrine\ODM\PHPCR\Repository; use Doctrine\ODM\PHPCR\DocumentManagerInterface; use Doctrine\Persistence\ObjectRepository; /** * This factory is used to create default repository objects for entities at runtime. * * @author Guilherme Blanco <guilhermeblanco@hotmail.com> * * @since 1.1 */ class ...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Repository/RepositoryFactory.php
lib/Doctrine/ODM/PHPCR/Repository/RepositoryFactory.php
<?php namespace Doctrine\ODM\PHPCR\Repository; use Doctrine\ODM\PHPCR\DocumentManagerInterface; use Doctrine\Persistence\ObjectRepository; /** * Interface for document repository factory. * * @since 1.1 */ interface RepositoryFactory { public function getRepository(DocumentManagerInterface $dm, string $docum...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/lib/Doctrine/ODM/PHPCR/Proxy/ProxyFactory.php
lib/Doctrine/ODM/PHPCR/Proxy/ProxyFactory.php
<?php namespace Doctrine\ODM\PHPCR\Proxy; use Doctrine\Common\Proxy\AbstractProxyFactory; use Doctrine\Common\Proxy\Exception\InvalidArgumentException; use Doctrine\Common\Proxy\Exception\UnexpectedValueException; use Doctrine\Common\Proxy\Proxy; use Doctrine\Common\Proxy\ProxyDefinition; use Doctrine\Common\Proxy\Pr...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
doctrine/phpcr-odm
https://github.com/doctrine/phpcr-odm/blob/8ae2c4924b66f586a0a730e99f0591c428e9a8ea/.phpstan/classes/DialogHelper.php
.phpstan/classes/DialogHelper.php
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Console\Helper; use Symfony\Component\Console\Excepti...
php
MIT
8ae2c4924b66f586a0a730e99f0591c428e9a8ea
2026-01-05T03:10:13.307041Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/services/Database.php
backend/src/services/Database.php
<?php namespace Services; require '../vendor/autoload.php'; class Database { public function __invoke(\Slim\Container $c) { $config = $c['config']['db']; try { $pdo = new \PDO( 'mysql:host=' . $config['host'] . ';port=' . $config['port'] . ';dbname=' . $config['db...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/services/Logger.php
backend/src/services/Logger.php
<?php namespace Services; require '../vendor/autoload.php'; class Logger { public function __invoke(\Slim\Container $c) { $config = $c['config']['logging']; $logger = new \Monolog\Logger('pdnsmanager'); $loglevel = \Monolog\Logger::toMonologLevel($config['level']); $path = $...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/exceptions/ForbiddenException.php
backend/src/exceptions/ForbiddenException.php
<?php namespace Exceptions; require '../vendor/autoload.php'; class ForbiddenException extends \Exception { }
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/exceptions/NotFoundException.php
backend/src/exceptions/NotFoundException.php
<?php namespace Exceptions; require '../vendor/autoload.php'; class NotFoundException extends \Exception { }
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/exceptions/InvalidKeyException.php
backend/src/exceptions/InvalidKeyException.php
<?php namespace Exceptions; require '../vendor/autoload.php'; class InvalidKeyException extends \Exception { }
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/exceptions/AlreadyExistentException.php
backend/src/exceptions/AlreadyExistentException.php
<?php namespace Exceptions; require '../vendor/autoload.php'; class AlreadyExistentException extends \Exception { }
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/exceptions/SemanticException.php
backend/src/exceptions/SemanticException.php
<?php namespace Exceptions; require '../vendor/autoload.php'; class SemanticException extends \Exception { }
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/exceptions/PluginNotFoundException.php
backend/src/exceptions/PluginNotFoundException.php
<?php namespace Exceptions; require '../vendor/autoload.php'; class PluginNotFoundException extends \Exception { }
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/Permissions.php
backend/src/controllers/Permissions.php
<?php namespace Controllers; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Permissions { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $c; public function __construct(\Slim\Container $c) { ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/Users.php
backend/src/controllers/Users.php
<?php namespace Controllers; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Users { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $c; public function __construct(\Slim\Container $c) { ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/Credentials.php
backend/src/controllers/Credentials.php
<?php namespace Controllers; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Credentials { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $c; public function __construct(\Slim\Container $c) { ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/NotFound.php
backend/src/controllers/NotFound.php
<?php namespace Controllers; require '../vendor/autoload.php'; class NotFound { public function __invoke(\Slim\Container $c) { return function ($request, $response) use ($c) { $c->logger->warning('No valid endpoint found for: ' . $request->getUri()->getPath()); return $c['resp...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/Update.php
backend/src/controllers/Update.php
<?php namespace Controllers; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Update { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $c; /** @var \PDO */ private $db; public function __co...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/Remote.php
backend/src/controllers/Remote.php
<?php namespace Controllers; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Remote { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $c; public function __construct(\Slim\Container $c) { ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/NotAllowed.php
backend/src/controllers/NotAllowed.php
<?php namespace Controllers; require '../vendor/autoload.php'; class NotAllowed { public function __invoke(\Slim\Container $c) { return function ($request, $response, $methods) use ($c) { $c->logger->warning('Method ' . $request->getMethod() . ' is not valid for ' . $request->getUri()->ge...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/Sessions.php
backend/src/controllers/Sessions.php
<?php namespace Controllers; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Sessions { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $container; public function __construct(\Slim\Container $c) ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/Setup.php
backend/src/controllers/Setup.php
<?php namespace Controllers; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Setup { public function setup(Request $req, Response $res, array $args) { // Check if supplied data has all fields $body = $req->getParsedBody(); ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/Domains.php
backend/src/controllers/Domains.php
<?php namespace Controllers; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Domains { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $c; public function __construct(\Slim\Container $c) { ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/controllers/Records.php
backend/src/controllers/Records.php
<?php namespace Controllers; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Records { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $c; public function __construct(\Slim\Container $c) { ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/public/setup.php
backend/src/public/setup.php
<?php require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; if (file_exists('../config/ConfigUser.php')) { echo "Not accessible!"; http_response_code(403); exit(); } // Prepare dependency container $container = new \Slim\Container(); // Create applicat...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/public/index.php
backend/src/public/index.php
<?php require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; // Load config $config = require('../config/ConfigDefault.php'); // If no config exists load installer if ($config === false) { require('setup.php'); exit(); } // Prepare dependency container $co...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/utils/PagingInfo.php
backend/src/utils/PagingInfo.php
<?php namespace Utils; require '../vendor/autoload.php'; class PagingInfo { /** @var int */ public $page; /** @var int */ public $pageSize; /** @var int */ public $totalPages; public function __construct(? int $page, ? int $pageSize, int $totalPages = null) { $this->page = ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/Permissions.php
backend/src/operations/Permissions.php
<?php namespace Operations; require '../vendor/autoload.php'; /** * This class provides functions for retrieving and modifying permissions. */ class Permissions { /** @var \Monolog\Logger */ private $logger; /** @var \PDO */ private $db; /** @var \Slim\Container */ private $c; public...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/Users.php
backend/src/operations/Users.php
<?php namespace Operations; require '../vendor/autoload.php'; /** * This class provides functions for retrieving and modifying users. */ class Users { /** @var \Monolog\Logger */ private $logger; /** @var \PDO */ private $db; /** @var \Slim\Container */ private $c; public function __...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/Soa.php
backend/src/operations/Soa.php
<?php namespace Operations; require '../vendor/autoload.php'; /** * This class provides functions for retrieving and modifying soa records. */ class Soa { /** @var \Monolog\Logger */ private $logger; /** @var \PDO */ private $db; /** @var \Slim\Container */ private $c; public functio...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/Credentials.php
backend/src/operations/Credentials.php
<?php namespace Operations; use function Monolog\Handler\error_log; require '../vendor/autoload.php'; /** * This class provides functions for retrieving and modifying credentials. */ class Credentials { /** @var \Monolog\Logger */ private $logger; /** @var \PDO */ private $db; /** @var \Slim...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/UserAuth.php
backend/src/operations/UserAuth.php
<?php namespace Operations; require '../vendor/autoload.php'; use \Exceptions\PluginNotFoundException as PluginNotFoundException; /** * This class provides user authentication for the application. * Its main purpose is to find the apropriate authentication * plugin. It also ensures that a user entry for that use...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/Sessionstorage.php
backend/src/operations/Sessionstorage.php
<?php namespace Operations; require '../vendor/autoload.php'; /** * This is a proxy class which load the configured plugin as * backend and proxies queries to it. */ class Sessionstorage { /** @var \Monolog\Logger */ private $logger; /** @var InterfaceSessionstorage */ private $backend; publ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/Remote.php
backend/src/operations/Remote.php
<?php namespace Operations; require '../vendor/autoload.php'; /** * This class provides functions for the remote api. */ class Remote { /** @var \Monolog\Logger */ private $logger; /** @var \PDO */ private $db; /** @var \Slim\Container */ private $c; public function __construct(\Slim...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/AccessControl.php
backend/src/operations/AccessControl.php
<?php namespace Operations; require '../vendor/autoload.php'; /** * This class provides access control for the application. */ class AccessControl { /** @var \Monolog\Logger */ private $logger; /** @var \PDO */ private $db; public function __construct(\Slim\Container $c) { $this->...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/Domains.php
backend/src/operations/Domains.php
<?php namespace Operations; require '../vendor/autoload.php'; /** * This class provides functions for retrieving and modifying domains. */ class Domains { /** @var \Monolog\Logger */ private $logger; /** @var \PDO */ private $db; /** @var \Slim\Container */ private $c; public functio...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/operations/Records.php
backend/src/operations/Records.php
<?php namespace Operations; use function Monolog\Handler\error_log; require '../vendor/autoload.php'; /** * This class provides functions for retrieving and modifying domains. */ class Records { /** @var \Monolog\Logger */ private $logger; /** @var \PDO */ private $db; /** @var \Slim\Contain...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/plugins/UserAuth/InterfaceUserAuth.php
backend/src/plugins/UserAuth/InterfaceUserAuth.php
<?php namespace Plugins\UserAuth; require '../vendor/autoload.php'; /** * This interface provides the neccessary functions for * a user authentication backend. */ interface InterfaceUserAuth { /** * Construct the object * * @param $logger Monolog logger instance for error handling * @pa...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/plugins/UserAuth/native.php
backend/src/plugins/UserAuth/native.php
<?php namespace Plugins\UserAuth; require '../vendor/autoload.php'; /** * This provides the native authentication done in the * PDNSManager database. */ class Native implements InterfaceUserAuth { /** @var \Monolog\Logger */ private $logger; /** @var \PDO */ private $db; /** * Construct...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/plugins/UserAuth/config.php
backend/src/plugins/UserAuth/config.php
<?php namespace Plugins\UserAuth; require '../vendor/autoload.php'; /** * This provides a simple user auth mechanism where users can be * stored in the config file. The config property therefore should * be a array mapping usernames to results of password_hash() */ class Config implements InterfaceUserAuth { ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/plugins/Sessionstorage/apcu.php
backend/src/plugins/Sessionstorage/apcu.php
<?php namespace Plugins\Sessionstorage; require '../vendor/autoload.php'; /** * Implements a session storage plugin for using PHPs APCu. */ class apcu implements InterfaceSessionstorage { /** @var \Monolog\Logger */ private $logger; /** * Construct the object * * @param $logger Monol...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/plugins/Sessionstorage/InterfaceSessionstorage.php
backend/src/plugins/Sessionstorage/InterfaceSessionstorage.php
<?php namespace Plugins\Sessionstorage; require '../vendor/autoload.php'; /** * This interface provides the neccessary functions for a session storage backend */ interface InterfaceSessionstorage { /** * Construct the object * * @param $logger Monolog logger instance for error handling *...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/plugins/Sessionstorage/memcached.php
backend/src/plugins/Sessionstorage/memcached.php
<?php namespace Plugins\Sessionstorage; require '../vendor/autoload.php'; /** * Implements a session storage plugin for using PHPs APCu. */ class memcached implements InterfaceSessionstorage { /** @var \Monolog\Logger */ private $logger; /** @var \Memcached */ private $memcached; /** * C...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/middlewares/ClientIp.php
backend/src/middlewares/ClientIp.php
<?php namespace Middlewares; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class ClientIp { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $container; public function __construct(\Slim\Container $c) ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/middlewares/Authentication.php
backend/src/middlewares/Authentication.php
<?php namespace Middlewares; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class Authentication { /** @var \Monolog\Logger */ private $logger; /** @var \Slim\Container */ private $container; public function __construct(\Slim\Container...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/middlewares/RejectEmptyBody.php
backend/src/middlewares/RejectEmptyBody.php
<?php namespace Middlewares; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class RejectEmptyBody { /** @var \Monolog\Logger */ private $logger; public function __construct(\Slim\Container $c) { $this->logger = $c->logger; } ...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/middlewares/LogRequests.php
backend/src/middlewares/LogRequests.php
<?php namespace Middlewares; require '../vendor/autoload.php'; use \Slim\Http\Request as Request; use \Slim\Http\Response as Response; class LogRequests { /** @var \Monolog\Logger */ private $logger; public function __construct(\Slim\Container $c) { $this->logger = $c->logger; } pu...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
loewexy/pdnsmanager
https://github.com/loewexy/pdnsmanager/blob/3030ff4a151ad09503ea0ec8499ef2da5921fba0/backend/src/config/ConfigDefault.php
backend/src/config/ConfigDefault.php
<?php $defaultConfig = [ 'db' => [ 'host' => 'localhost', 'user' => 'user', 'password' => 'password', 'dbname' => 'pdnsmanager', 'port' => 3306 ], 'logging' => [ 'level' => 'info', 'path' => '' ], 'sessionstorage' => [ 'plugin' => 'apc...
php
Apache-2.0
3030ff4a151ad09503ea0ec8499ef2da5921fba0
2026-01-05T03:10:24.004694Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Authorization.php
src/Authorization.php
<?php namespace DirectoryTree\Authorization; use DateTimeInterface; class Authorization { /** * Indicates if Authorization migrations will be run. * * @var bool */ public static $runsMigrations = true; /** * Indicates if Authorization will register permissions into the gate. ...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/UserPivot.php
src/UserPivot.php
<?php namespace DirectoryTree\Authorization; class UserPivot extends Pivot { /** * Flush the users relation on attach / detach. * * @var string */ protected static $flushingRelation = 'users'; }
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/PermissionRegistrar.php
src/PermissionRegistrar.php
<?php namespace DirectoryTree\Authorization; use Illuminate\Cache\CacheManager; use Illuminate\Contracts\Auth\Access\Gate; use PDOException; class PermissionRegistrar { /** * The auth gate. * * @var Gate */ protected $gate; /** * The cache manager. * * @var CacheManage...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Role.php
src/Role.php
<?php namespace DirectoryTree\Authorization; use Illuminate\Database\Eloquent\Model; use DirectoryTree\Authorization\Traits\ManagesPermissions; class Role extends Model { use ManagesPermissions; /** * The fillable model attributes. * * @var array */ protected $fillable = ['name', 'la...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/AuthorizationServiceProvider.php
src/AuthorizationServiceProvider.php
<?php namespace DirectoryTree\Authorization; use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider; class AuthorizationServiceProvider extends ServiceProvider { /** * Register authorization permissions. * * @return void */ public function boot() { ...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/RolePivot.php
src/RolePivot.php
<?php namespace DirectoryTree\Authorization; class RolePivot extends Pivot { /** * Flush the roles relation on attach / detach. * * @var string */ protected static $flushingRelation = 'roles'; }
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Permission.php
src/Permission.php
<?php namespace DirectoryTree\Authorization; use Illuminate\Database\Eloquent\Model; use DirectoryTree\Authorization\Traits\ClearsCachedPermissions; use DirectoryTree\Authorization\Traits\HasRoles; use DirectoryTree\Authorization\Traits\HasUsers; class Permission extends Model { use HasRoles, HasUsers, ClearsCac...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/PermissionPivot.php
src/PermissionPivot.php
<?php namespace DirectoryTree\Authorization; class PermissionPivot extends Pivot { /** * Flush the permissions relation on attach / detach. * * @var string */ protected static $flushingRelation = 'permissions'; }
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Pivot.php
src/Pivot.php
<?php namespace DirectoryTree\Authorization; use Illuminate\Database\Eloquent\Relations\Pivot as BaseModel; use DirectoryTree\Authorization\Traits\FlushesLoadedRelations; abstract class Pivot extends BaseModel { use FlushesLoadedRelations; }
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Traits/HasUsers.php
src/Traits/HasUsers.php
<?php namespace DirectoryTree\Authorization\Traits; use DirectoryTree\Authorization\Authorization; use DirectoryTree\Authorization\UserPivot; trait HasUsers { /** * The belongsToMany users relationship. * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ public function u...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Traits/Authorizable.php
src/Traits/Authorizable.php
<?php namespace DirectoryTree\Authorization\Traits; use Illuminate\Support\Collection; use Illuminate\Database\Eloquent\Model; use DirectoryTree\Authorization\Authorization; trait Authorizable { use HasRoles, HasPermissions, AssociatesPermissions; /** * Assign the given role to the user. * * ...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Traits/HasRoles.php
src/Traits/HasRoles.php
<?php namespace DirectoryTree\Authorization\Traits; use DirectoryTree\Authorization\Authorization; use DirectoryTree\Authorization\RolePivot; trait HasRoles { /** * The belongsToMany roles relationship. * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ public function r...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Traits/FlushesLoadedRelations.php
src/Traits/FlushesLoadedRelations.php
<?php namespace DirectoryTree\Authorization\Traits; use DirectoryTree\Authorization\Pivot; trait FlushesLoadedRelations { /** * The relation to flush on creation / modification / deletion. * * @var string */ protected static $flushingRelation; /** * The "boot" method of the mode...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Traits/ClearsCachedPermissions.php
src/Traits/ClearsCachedPermissions.php
<?php namespace DirectoryTree\Authorization\Traits; use DirectoryTree\Authorization\Authorization; use DirectoryTree\Authorization\PermissionRegistrar; trait ClearsCachedPermissions { /** * Clears the permission cache upon saving and deleting permissions. * * @return void */ public static...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Traits/HasPermissions.php
src/Traits/HasPermissions.php
<?php namespace DirectoryTree\Authorization\Traits; use DirectoryTree\Authorization\Authorization; use DirectoryTree\Authorization\PermissionPivot; trait HasPermissions { /** * The belongsToMany permissions relationship. * * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany */ ...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Traits/AssociatesPermissions.php
src/Traits/AssociatesPermissions.php
<?php namespace DirectoryTree\Authorization\Traits; use Illuminate\Support\Collection; use Illuminate\Database\Eloquent\Model; use DirectoryTree\Authorization\Authorization; trait AssociatesPermissions { /** * Grant the given permission(s). * * Returns a collection of granted permission(s). *...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Traits/ManagesPermissions.php
src/Traits/ManagesPermissions.php
<?php namespace DirectoryTree\Authorization\Traits; use Illuminate\Support\Arr; use Illuminate\Support\Collection; use Illuminate\Database\Eloquent\Model; trait ManagesPermissions { use HasUsers, HasPermissions, AssociatesPermissions; /** * Determine if the role has the given permission. * * ...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Middleware/RoleMiddleware.php
src/Middleware/RoleMiddleware.php
<?php namespace DirectoryTree\Authorization\Middleware; class RoleMiddleware extends AuthorizationMiddleware { /** * Determine if the user has the required roles to access the route. * * @param \App\User $user * @param array|null $roles * * @return bool */ protected functio...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Middleware/AuthorizationMiddleware.php
src/Middleware/AuthorizationMiddleware.php
<?php namespace DirectoryTree\Authorization\Middleware; use Closure; use Illuminate\Http\Request; abstract class AuthorizationMiddleware { /** * Run the request middleware. * * @param Request $request * @param Closure $next * @param string[] $auth * * @return mixed */ ...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/src/Middleware/PermissionMiddleware.php
src/Middleware/PermissionMiddleware.php
<?php namespace DirectoryTree\Authorization\Middleware; class PermissionMiddleware extends AuthorizationMiddleware { /** * Determine if the user has the required permission to access the route. * * @param \App\User $user * @param array|null $permissions * * @return bool */ ...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/tests/TestCase.php
tests/TestCase.php
<?php namespace DirectoryTree\Authorization\Tests; use Illuminate\Foundation\Testing\RefreshDatabase; use Illuminate\Support\Facades\Schema; use DirectoryTree\Authorization\Authorization; use DirectoryTree\Authorization\AuthorizationServiceProvider; use DirectoryTree\Authorization\Tests\Stubs\User; use Orchestra\Test...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/tests/AuthorizationTest.php
tests/AuthorizationTest.php
<?php namespace DirectoryTree\Authorization\Tests; use Illuminate\Support\Collection; use DirectoryTree\Authorization\Authorization; use DirectoryTree\Authorization\PermissionRegistrar; class AuthorizationTest extends TestCase { public function test_assign_role() { $this->createRole([ 'na...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/tests/Stubs/User.php
tests/Stubs/User.php
<?php namespace DirectoryTree\Authorization\Tests\Stubs; use Illuminate\Foundation\Auth\User as BaseUser; use DirectoryTree\Authorization\Traits\Authorizable; class User extends BaseUser { use Authorizable; protected $fillable = ['name']; }
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
DirectoryTree/Authorization
https://github.com/DirectoryTree/Authorization/blob/803a7580a743e44f5195cd448eeec71d89e9d952/database/migrations/2014_10_12_200000_create_authorization_tables.php
database/migrations/2014_10_12_200000_create_authorization_tables.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; class CreateAuthorizationTables extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('roles', ...
php
MIT
803a7580a743e44f5195cd448eeec71d89e9d952
2026-01-05T03:10:38.310210Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/TableDropperFactory.php
src/TableDropperFactory.php
<?php namespace Spatie\MigrateFresh; use Spatie\MigrateFresh\TableDroppers\TableDropper; class TableDropperFactory { public static function create($driverName): TableDropper { $dropperClass = '\\Spatie\\MigrateFresh\\TableDroppers\\'.ucfirst($driverName); if (! class_exists($dropperClass)) {...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/Exceptions/CannotDropTables.php
src/Exceptions/CannotDropTables.php
<?php namespace Spatie\MigrateFresh\Exceptions; use Exception; class CannotDropTables extends Exception { public static function unsupportedDbDriver($driverName) { return new static("The migrate:fresh command does not support `{$driverName}`-databases."); } }
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/TableDroppers/Sqlsrv.php
src/TableDroppers/Sqlsrv.php
<?php namespace Spatie\MigrateFresh\TableDroppers; use Illuminate\Support\Facades\DB; class Sqlsrv implements TableDropper { private $dropScript = ' while(exists(select 1 from INFORMATION_SCHEMA.TABLE_CONSTRAINTS where CONSTRAINT_TYPE=\'FOREIGN KEY\')) begin declare @sql nvarchar(2000) SELECT TOP 1 @sq...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/TableDroppers/Pgsql.php
src/TableDroppers/Pgsql.php
<?php namespace Spatie\MigrateFresh\TableDroppers; use Illuminate\Support\Facades\DB; class Pgsql implements TableDropper { public function dropAllTables() { $tableNames = $this->getTableNames(); if ($tableNames->isEmpty()) { return; } DB::statement("DROP TABLE {...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/TableDroppers/Mysql.php
src/TableDroppers/Mysql.php
<?php namespace Spatie\MigrateFresh\TableDroppers; use stdClass; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; class Mysql implements TableDropper { public function dropAllTables() { Schema::disableForeignKeyConstraints(); collect(DB::select("SHOW FULL TABLES WHER...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/TableDroppers/TableDropper.php
src/TableDroppers/TableDropper.php
<?php namespace Spatie\MigrateFresh\TableDroppers; interface TableDropper { public function dropAllTables(); }
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/TableDroppers/Sqlite.php
src/TableDroppers/Sqlite.php
<?php namespace Spatie\MigrateFresh\TableDroppers; use Illuminate\Support\Facades\DB; class Sqlite implements TableDropper { public function dropAllTables() { $dbPath = DB::getConfig('database'); if ($dbPath === ':memory:') { return; } if (file_exists($dbPath)) {...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/Commands/MigrateFresh.php
src/Commands/MigrateFresh.php
<?php namespace Spatie\MigrateFresh\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\DB; use Illuminate\Console\ConfirmableTrait; use Spatie\MigrateFresh\TableDropperFactory; use Spatie\MigrateFresh\Events\DroppedTables; use Spatie\MigrateFresh\Events\DroppingTables; use Spatie\MigrateFresh\Ta...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/Events/DroppingTables.php
src/Events/DroppingTables.php
<?php namespace Spatie\MigrateFresh\Events; class DroppingTables { }
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/src/Events/DroppedTables.php
src/Events/DroppedTables.php
<?php namespace Spatie\MigrateFresh\Events; class DroppedTables { }
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/tests/MigrateFreshTest.php
tests/MigrateFreshTest.php
<?php namespace Spatie\MigrateFresh\Test; use Illuminate\Support\Facades\Schema; use Illuminate\Support\Facades\Artisan; use Spatie\MigrateFresh\Events\DroppedTables; use Spatie\MigrateFresh\Events\DroppingTables; class MigrateFreshTest extends TestCase { /** @test */ public function it_can_create_a_fresh_da...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/tests/TestCase.php
tests/TestCase.php
<?php namespace Spatie\MigrateFresh\Test; use stdClass; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Orchestra\Testbench\TestCase as Orchestra; abstract class TestCase extends Orchestra { public function setUp() { parent::setU...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/tests/MigrateFreshServiceProvider.php
tests/MigrateFreshServiceProvider.php
<?php namespace Spatie\MigrateFresh\Test; use Illuminate\Support\ServiceProvider; use Spatie\MigrateFresh\Commands\MigrateFresh; class MigrateFreshServiceProvider extends ServiceProvider { /** * Indicates if loading of the provider is deferred. * * @var bool */ protected $defer = false; ...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
spatie/laravel-migrate-fresh
https://github.com/spatie/laravel-migrate-fresh/blob/615195a8e5c5767e9c4bd2573312d940a8d3acc6/tests/database/migrations/2017_01_01_000000_create_new_table.php
tests/database/migrations/2017_01_01_000000_create_new_table.php
<?php use Illuminate\Support\Facades\Schema; use Illuminate\Database\Schema\Blueprint; use Illuminate\Database\Migrations\Migration; class CreateNewTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { Schema::create('new_table', functio...
php
MIT
615195a8e5c5767e9c4bd2573312d940a8d3acc6
2026-01-05T03:10:49.343385Z
false
jeremehancock/Posteria
https://github.com/jeremehancock/Posteria/blob/1a937856258f857e8cd2e9663ac6d47f19c60a01/src/index.php
src/index.php
<?php # Posteria: A Media Poster Collection App # Save all your favorite custom media server posters in one convenient place # # Developed by Jereme Hancock # https://github.com/jeremehancock/Posteria # # MIT License # # Copyright (c) 2024 Jereme Hancock # # Permission is hereby granted, free of charge, to any person ...
php
MIT
1a937856258f857e8cd2e9663ac6d47f19c60a01
2026-01-05T03:05:22.135502Z
true
jeremehancock/Posteria
https://github.com/jeremehancock/Posteria/blob/1a937856258f857e8cd2e9663ac6d47f19c60a01/src/include/fetch-posters.php
src/include/fetch-posters.php
<?php # Posteria: A Media Poster Collection App # Save all your favorite custom media server posters in one convenient place # # Developed by Jereme Hancock # https://github.com/jeremehancock/Posteria # # MIT License # # Copyright (c) 2024 Jereme Hancock # # Permission is hereby granted, free of charge, to any person ...
php
MIT
1a937856258f857e8cd2e9663ac6d47f19c60a01
2026-01-05T03:05:22.135502Z
false
jeremehancock/Posteria
https://github.com/jeremehancock/Posteria/blob/1a937856258f857e8cd2e9663ac6d47f19c60a01/src/include/get-from-plex.php
src/include/get-from-plex.php
<?php # Posteria: A Media Poster Collection App # Save all your favorite custom media server posters in one convenient place # # Developed by Jereme Hancock # https://github.com/jeremehancock/Posteria # # MIT License # # Copyright (c) 2024 Jereme Hancock # # Permission is hereby granted, free of charge, to any person ...
php
MIT
1a937856258f857e8cd2e9663ac6d47f19c60a01
2026-01-05T03:05:22.135502Z
false
jeremehancock/Posteria
https://github.com/jeremehancock/Posteria/blob/1a937856258f857e8cd2e9663ac6d47f19c60a01/src/include/delete-orphans.php
src/include/delete-orphans.php
<?php # Posteria: A Media Poster Collection App # Save all your favorite custom media server posters in one convenient place # # Developed by Jereme Hancock # https://github.com/jeremehancock/Posteria # # MIT License # # Copyright (c) 2024 Jereme Hancock # # Permission is hereby granted, free of charge, to any person ...
php
MIT
1a937856258f857e8cd2e9663ac6d47f19c60a01
2026-01-05T03:05:22.135502Z
false
jeremehancock/Posteria
https://github.com/jeremehancock/Posteria/blob/1a937856258f857e8cd2e9663ac6d47f19c60a01/src/include/send-to-plex.php
src/include/send-to-plex.php
<?php # Posteria: A Media Poster Collection App # Save all your favorite custom media server posters in one convenient place # # Developed by Jereme Hancock # https://github.com/jeremehancock/Posteria # # MIT License # # Copyright (c) 2024 Jereme Hancock # # Permission is hereby granted, free of charge, to any person ...
php
MIT
1a937856258f857e8cd2e9663ac6d47f19c60a01
2026-01-05T03:05:22.135502Z
false
jeremehancock/Posteria
https://github.com/jeremehancock/Posteria/blob/1a937856258f857e8cd2e9663ac6d47f19c60a01/src/include/config.php
src/include/config.php
<?php # Posteria: A Media Poster Collection App # Save all your favorite custom media server posters in one convenient place # # Developed by Jereme Hancock # https://github.com/jeremehancock/Posteria # # MIT License # # Copyright (c) 2024 Jereme Hancock # # Permission is hereby granted, free of charge, to any person o...
php
MIT
1a937856258f857e8cd2e9663ac6d47f19c60a01
2026-01-05T03:05:22.135502Z
false
jeremehancock/Posteria
https://github.com/jeremehancock/Posteria/blob/1a937856258f857e8cd2e9663ac6d47f19c60a01/src/include/version.php
src/include/version.php
<?php # Posteria: A Media Poster Collection App # Save all your favorite custom media server posters in one convenient place # # Developed by Jereme Hancock # https://github.com/jeremehancock/Posteria # # MIT License # # Copyright (c) 2024 Jereme Hancock # # Permission is hereby granted, free of charge, to any person ...
php
MIT
1a937856258f857e8cd2e9663ac6d47f19c60a01
2026-01-05T03:05:22.135502Z
false
jeremehancock/Posteria
https://github.com/jeremehancock/Posteria/blob/1a937856258f857e8cd2e9663ac6d47f19c60a01/src/include/library-tracking.php
src/include/library-tracking.php
<?php # Posteria: A Media Poster Collection App # Save all your favorite custom media server posters in one convenient place # # Developed by Jereme Hancock # https://github.com/jeremehancock/Posteria # # MIT License # # Copyright (c) 2024 Jereme Hancock # # Permission is hereby granted, free of charge, to any person ...
php
MIT
1a937856258f857e8cd2e9663ac6d47f19c60a01
2026-01-05T03:05:22.135502Z
false
jeremehancock/Posteria
https://github.com/jeremehancock/Posteria/blob/1a937856258f857e8cd2e9663ac6d47f19c60a01/src/include/plex-import.php
src/include/plex-import.php
<?php # Posteria: A Media Poster Collection App # Save all your favorite custom media server posters in one convenient place # # Developed by Jereme Hancock # https://github.com/jeremehancock/Posteria # # MIT License # # Copyright (c) 2024 Jereme Hancock # # Permission is hereby granted, free of charge, to any person ...
php
MIT
1a937856258f857e8cd2e9663ac6d47f19c60a01
2026-01-05T03:05:22.135502Z
true