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 |
|---|---|---|---|---|---|---|---|---|
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/valet.php | cli/valet.php | #!/usr/bin/env php
<?php
use ConsoleComponents\Writer;
use Silly\Application;
require_once __DIR__.'/app.php';
/**
* Run the application.
*/
try {
/** @var Application $app */
$app->run();
} catch (Exception $e) {
Writer::error($e->getMessage());
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/includes/helpers.php | cli/includes/helpers.php | <?php
namespace Valet;
use Exception;
use Illuminate\Container\Container;
use Illuminate\Contracts\Container\BindingResolutionException;
/**
* Define constants.
*/
if (! defined('VALET_HOME_PATH')) {
if (testing()) {
define('VALET_HOME_PATH', __DIR__.'/../../tests/config/valet');
define('OLD_VA... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/includes/require-drivers.php | cli/includes/require-drivers.php | <?php
// DEVELOPER NOTE: Do not use latest php's functions in this file, as this file works with isolated versions
require_once './cli/Valet/Drivers/ValetDriver.php';
$drivers = scandir('./cli/Valet/Drivers');
if ($drivers !== false) {
foreach ($drivers as $file) {
$path = './cli/Valet/Drivers/'.$file;
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/includes/compatibility.php | cli/includes/compatibility.php | <?php
/**
* Check the system's compatibility with Valet.
*/
$inTestingEnvironment = strpos($_SERVER['SCRIPT_NAME'], 'phpunit') !== false;
if (PHP_OS != 'Linux' && !$inTestingEnvironment) {
echo 'Valet only supports Linux.'.PHP_EOL;
exit(1);
}
if (version_compare(PHP_VERSION, '8.2', '<')) {
echo 'Valet... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/stubs/SampleValetDriver.php | cli/stubs/SampleValetDriver.php | <?php
namespace Valet\Drivers\Custom;
use Valet\Drivers\ValetDriver;
class SampleValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
// if (file_exists($sitePath.'/file-tha... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/CommandLine.php | cli/Valet/CommandLine.php | <?php
namespace Valet;
use Symfony\Component\Process\Process;
class CommandLine
{
/**
* Simple global function to run commands.
*/
public function quietly(string $command): void
{
$this->runCommand($command.' > /dev/null 2>&1');
}
/**
* Simple global function to run comman... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/DnsMasq.php | cli/Valet/DnsMasq.php | <?php
namespace Valet;
use ConsoleComponents\Writer;
use Exception;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
class DnsMasq
{
public PackageManager $pm;
public ServiceManager $sm;
public CommandLine $cli;
public Filesystem $files;
public string $rclocal = '/etc/rc.lo... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Valet.php | cli/Valet/Valet.php | <?php
namespace Valet;
use ConsoleComponents\Writer;
use DomainException;
use Exception;
use Illuminate\Container\Container;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
use Valet\Facades\Configuration as ConfigurationFacade;
use Valet\Facades\Nginx as NginxFacade;
use Valet\Facades\PhpFpm ... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Filesystem.php | cli/Valet/Filesystem.php | <?php
namespace Valet;
use ArrayObject;
use ConsoleComponents\Writer;
use Exception;
use FilesystemIterator;
use Traversable;
use Valet\Facades\CommandLine;
/**
* Class Filesystem.
*/
class Filesystem
{
/**
* Delete the specified file or directory with files.
*
* @param string $files
*
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Request.php | cli/Valet/Request.php | <?php
namespace Valet;
class Request extends \Httpful\Request
{
public function __construct($attrs = null)
{
parent::__construct($attrs);
}
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Mysql.php | cli/Valet/Mysql.php | <?php
namespace Valet;
use ConsoleComponents\Writer;
use PDO;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
use Valet\Facades\PhpFpm as PhpFpmFacade;
use Valet\PackageManagers\Dnf;
use Valet\PackageManagers\Pacman;
class Mysql
{
private const DATABASE_USER = 'valet';
public CommandL... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Ngrok.php | cli/Valet/Ngrok.php | <?php
namespace Valet;
use ConsoleComponents\Writer;
use DomainException;
use Exception;
use Valet\Facades\Request as RequestFacade;
class Ngrok
{
/**
* @var string
*/
private const TUNNEL_ENDPOINT = 'http://127.0.0.1:4040/api/tunnels';
private const BINARY_DOWNLOAD_LINK = 'https://bin.equinox.... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Site.php | cli/Valet/Site.php | <?php
namespace Valet;
use Illuminate\Support\Collection;
use Valet\Facades\PhpFpm as PhpFpmFacade;
use Valet\Traits\Paths;
class Site
{
use Paths;
public Configuration $config;
public CommandLine $cli;
public Filesystem $files;
/**
* Create a new Site instance.
*/
public function... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/DevTools.php | cli/Valet/DevTools.php | <?php
namespace Valet;
use ConsoleComponents\Writer;
use DomainException;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
class DevTools
{
/**
* Sublime binary selector.\
*/
public const VS_CODE = 'code';
/**
* Sublime binary selector.
*/
public const SUBL... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/SiteProxy.php | cli/Valet/SiteProxy.php | <?php
namespace Valet;
use Illuminate\Support\Collection;
use Valet\Traits\Paths;
class SiteProxy
{
use Paths;
private Filesystem $files;
private Configuration $config;
private SiteSecure $siteSecure;
public function __construct(
Filesystem $filesystem,
Configuration $config,
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Requirements.php | cli/Valet/Requirements.php | <?php
namespace Valet;
use RuntimeException;
class Requirements
{
/**
* @var CommandLine
*/
public $cli;
/**
* @var bool
*/
public $ignoreSELinux = false;
/**
* Create a new Warning instance.
*/
public function __construct(CommandLine $cli)
{
$this->... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Server.php | cli/Valet/Server.php | <?php
namespace Valet;
class Server
{
/**
* @var array
*/
public $config;
public function __construct(array $config)
{
$this->config = $config;
}
/**
* Extract $uri from $SERVER['REQUEST_URI'] variable.
*/
public static function uriFromRequestUri(string $reques... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Configuration.php | cli/Valet/Configuration.php | <?php
namespace Valet;
use Exception;
class Configuration
{
public Filesystem $files;
/**
* Create a new Valet configuration class instance.
*/
public function __construct(Filesystem $files)
{
$this->files = $files;
}
/**
* Install the Valet configuration file.
*... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/PhpFpm.php | cli/Valet/PhpFpm.php | <?php
namespace Valet;
use ConsoleComponents\Writer;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
use Valet\Facades\DevTools as DevToolsFacade;
class PhpFpm
{
protected Configuration $config;
protected PackageManager $pm;
protected ServiceManager $sm;
protected CommandLine ... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/SiteLink.php | cli/Valet/SiteLink.php | <?php
namespace Valet;
use Illuminate\Support\Collection;
use Valet\Traits\Paths;
class SiteLink
{
use Paths;
private Filesystem $files;
private Configuration $config;
private SiteSecure $siteSecure;
public function __construct(Filesystem $filesystem, Configuration $config, SiteSecure $siteSecu... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Nginx.php | cli/Valet/Nginx.php | <?php
namespace Valet;
use Illuminate\Support\Collection;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
use Valet\Facades\PhpFpm as PhpFpmFacade;
class Nginx
{
/**
* @var PackageManager
*/
public $pm;
/**
* @var ServiceManager
*/
public $sm;
/**
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Mailpit.php | cli/Valet/Mailpit.php | <?php
namespace Valet;
use DomainException;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
use Valet\Facades\Configuration;
use Valet\Facades\SiteProxy as SiteProxyFacade;
use Valet\Facades\SiteSecure as SiteSecureFacade;
class Mailpit
{
/**
* @var PackageManager
*/
public ... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/ValetRedis.php | cli/Valet/ValetRedis.php | <?php
namespace Valet;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
/**
* Class ValetRedis.
*/
class ValetRedis
{
/**
* @var PackageManager
*/
public $pm;
/**
* @var ServiceManager
*/
public $sm;
/**
* @var CommandLine
*/
public $cli;... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/SiteIsolate.php | cli/Valet/SiteIsolate.php | <?php
namespace Valet;
use ConsoleComponents\Writer;
use DomainException;
use Illuminate\Support\Collection;
use Valet\Contracts\PackageManager;
use Valet\Facades\DevTools as DevToolsFacade;
use Valet\Facades\Nginx as NginxFacade;
use Valet\Facades\PhpFpm as PhpFpmFacade;
use Valet\Traits\Paths;
class SiteIsolate
{
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/SiteSecure.php | cli/Valet/SiteSecure.php | <?php
namespace Valet;
use Illuminate\Support\Collection;
use Valet\Contracts\PackageManager;
use Valet\Facades\PhpFpm as PhpFpmFacade;
use Valet\Traits\Paths;
class SiteSecure
{
use Paths;
private Filesystem $files;
private CommandLine $cli;
private Configuration $config;
private PackageManager... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Exceptions/NgrokException.php | cli/Valet/Exceptions/NgrokException.php | <?php
namespace Valet\Exceptions;
class NgrokException extends \Exception
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Exceptions/VersionException.php | cli/Valet/Exceptions/VersionException.php | <?php
namespace Valet\Exceptions;
class VersionException extends \Exception
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Exceptions/DatabaseException.php | cli/Valet/Exceptions/DatabaseException.php | <?php
namespace Valet\Exceptions;
class DatabaseException extends \Exception
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/ServiceManagers/Systemd.php | cli/Valet/ServiceManagers/Systemd.php | <?php
namespace Valet\ServiceManagers;
use ConsoleComponents\Writer;
use DomainException;
use Valet\CommandLine;
use Valet\Contracts\ServiceManager;
use Valet\Filesystem;
class Systemd implements ServiceManager
{
/**
* @var CommandLine
*/
private $cli;
/**
* @var Filesystem
*/
pri... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/ServiceManagers/LinuxService.php | cli/Valet/ServiceManagers/LinuxService.php | <?php
namespace Valet\ServiceManagers;
use ConsoleComponents\Writer;
use DomainException;
use Valet\CommandLine;
use Valet\Contracts\ServiceManager;
use Valet\Filesystem;
class LinuxService implements ServiceManager
{
/**
* @var CommandLine
*/
public $cli;
/**
* @var Filesystem
*/
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/ValetDriver.php | cli/Valet/Drivers/ValetDriver.php | <?php
namespace Valet\Drivers;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
use RecursiveRegexIterator;
use RegexIterator;
abstract class ValetDriver
{
/**
* Determine if the driver serves the request.
*/
abstract public function serves(string $sitePath, string $siteName, string $... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/LaravelValetDriver.php | cli/Valet/Drivers/LaravelValetDriver.php | <?php
namespace Valet\Drivers;
class LaravelValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($sitePath.'/public/index.php') &&
file_exis... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/BasicValetDriver.php | cli/Valet/Drivers/BasicValetDriver.php | <?php
namespace Valet\Drivers;
class BasicValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return true;
}
/**
* Take any steps necessary before loading the ... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/BasicWithPublicValetDriver.php | cli/Valet/Drivers/BasicWithPublicValetDriver.php | <?php
namespace Valet\Drivers;
class BasicWithPublicValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return is_dir($sitePath.'/public/');
}
/**
* Determine ... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/Magento2ValetDriver.php | cli/Valet/Drivers/Specific/Magento2ValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class Magento2ValetDriver extends ValetDriver
{
/**
* {@inheritdoc}
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($sitePath.'/bin/magento') && file_exists($site... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/StatamicV2ValetDriver.php | cli/Valet/Drivers/Specific/StatamicV2ValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class StatamicV2ValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return is_dir($sitePath.'/statami... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/JoomlaValetDriver.php | cli/Valet/Drivers/Specific/JoomlaValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\BasicValetDriver;
class JoomlaValetDriver extends BasicValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return is_dir($sitePath.'/l... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/CraftValetDriver.php | cli/Valet/Drivers/Specific/CraftValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class CraftValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($sitePath.'/craft')... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/NeosValetDriver.php | cli/Valet/Drivers/Specific/NeosValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class NeosValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($sitePath.'/flow') &... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/WordPressValetDriver.php | cli/Valet/Drivers/Specific/WordPressValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\BasicValetDriver;
class WordPressValetDriver extends BasicValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($site... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/KatanaValetDriver.php | cli/Valet/Drivers/Specific/KatanaValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\BasicValetDriver;
class KatanaValetDriver extends BasicValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($sitePat... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/JigsawValetDriver.php | cli/Valet/Drivers/Specific/JigsawValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\BasicValetDriver;
class JigsawValetDriver extends BasicValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return is_dir($sitePath.'/b... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/CakeValetDriver.php | cli/Valet/Drivers/Specific/CakeValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class CakeValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($sitePath.'/bin/cake... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/StatamicValetDriver.php | cli/Valet/Drivers/Specific/StatamicValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\LaravelValetDriver;
class StatamicValetDriver extends LaravelValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($s... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/Typo3ValetDriver.php | cli/Valet/Drivers/Specific/Typo3ValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
/**
* This driver serves TYPO3 instances (version 7.0 and up). It activates, if it
* finds the characteristic typo3/ folder in the document root, serves both
* frontend and backend scripts and prevents access to private resources.
*/
class Ty... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/DrupalValetDriver.php | cli/Valet/Drivers/Specific/DrupalValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class DrupalValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
$sitePath = $this->addSubdirectory($s... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/SymfonyValetDriver.php | cli/Valet/Drivers/Specific/SymfonyValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class SymfonyValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return (file_exists($sitePath.'/web/... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/KirbyValetDriver.php | cli/Valet/Drivers/Specific/KirbyValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class KirbyValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return is_dir($sitePath.'/kirby');
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/SculpinValetDriver.php | cli/Valet/Drivers/Specific/SculpinValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\BasicValetDriver;
class SculpinValetDriver extends BasicValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return $this->isModernScul... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/Concrete5ValetDriver.php | cli/Valet/Drivers/Specific/Concrete5ValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\BasicValetDriver;
class Concrete5ValetDriver extends BasicValetDriver
{
/**
* If a concrete directory exists, it's probably c5.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/BedrockValetDriver.php | cli/Valet/Drivers/Specific/BedrockValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\BasicValetDriver;
class BedrockValetDriver extends BasicValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return $this->composerRequ... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/StatamicV1ValetDriver.php | cli/Valet/Drivers/Specific/StatamicV1ValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class StatamicV1ValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($sitePath.'/_a... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/ContaoValetDriver.php | cli/Valet/Drivers/Specific/ContaoValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\ValetDriver;
class ContaoValetDriver extends ValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return is_dir($sitePath.'/vendor/cont... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Drivers/Specific/RadicleValetDriver.php | cli/Valet/Drivers/Specific/RadicleValetDriver.php | <?php
namespace Valet\Drivers\Specific;
use Valet\Drivers\BasicValetDriver;
class RadicleValetDriver extends BasicValetDriver
{
/**
* Determine if the driver serves the request.
*/
public function serves(string $sitePath, string $siteName, string $uri): bool
{
return file_exists($sitePa... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Traits/Paths.php | cli/Valet/Traits/Paths.php | <?php
namespace Valet\Traits;
trait Paths
{
/**
* Get the path to the linked Valet sites.
*/
private function sitesPath(string $file = null): string
{
return VALET_HOME_PATH . '/Sites' . ($file ? '/' . $file : '');
}
/**
* Get the path to the Valet TLS certificates.
*/... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/PackageManagers/Apt.php | cli/Valet/PackageManagers/Apt.php | <?php
namespace Valet\PackageManagers;
use ConsoleComponents\Writer;
use DomainException;
use Valet\CommandLine;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
class Apt implements PackageManager
{
/**
* @var CommandLine
*/
public $cli;
/**
* @var ServiceManager
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/PackageManagers/Pacman.php | cli/Valet/PackageManagers/Pacman.php | <?php
namespace Valet\PackageManagers;
use ConsoleComponents\Writer;
use DomainException;
use Valet\CommandLine;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
class Pacman implements PackageManager
{
/**
* @var CommandLine
*/
public $cli;
/**
* @var ServiceManager... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/PackageManagers/Dnf.php | cli/Valet/PackageManagers/Dnf.php | <?php
namespace Valet\PackageManagers;
use ConsoleComponents\Writer;
use DomainException;
use Valet\CommandLine;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
class Dnf implements PackageManager
{
/**
* @var CommandLine
*/
public $cli;
/**
* @var ServiceManager
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/PackageManagers/Yum.php | cli/Valet/PackageManagers/Yum.php | <?php
namespace Valet\PackageManagers;
use ConsoleComponents\Writer;
use DomainException;
use Valet\CommandLine;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
class Yum implements PackageManager
{
/**
* @var CommandLine
*/
public $cli;
/**
* @var ServiceManager
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/PackageManagers/PackageKit.php | cli/Valet/PackageManagers/PackageKit.php | <?php
namespace Valet\PackageManagers;
use ConsoleComponents\Writer;
use DomainException;
use Valet\CommandLine;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
class PackageKit implements PackageManager
{
/**
* @var CommandLine
*/
public $cli;
/**
* @var ServiceMan... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/PackageManagers/Eopkg.php | cli/Valet/PackageManagers/Eopkg.php | <?php
namespace Valet\PackageManagers;
use ConsoleComponents\Writer;
use DomainException;
use Valet\CommandLine;
use Valet\Contracts\PackageManager;
use Valet\Contracts\ServiceManager;
class Eopkg implements PackageManager
{
/**
* @var CommandLine
*/
public $cli;
/**
* @var ServiceManager
... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Contracts/PackageManager.php | cli/Valet/Contracts/PackageManager.php | <?php
namespace Valet\Contracts;
interface PackageManager
{
/**
* Determine if the given package is installed.
*/
public function installed(string $package): bool;
/**
* Ensure that the given package is installed.
*/
public function ensureInstalled(string $package): void;
/**... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Contracts/ServiceManager.php | cli/Valet/Contracts/ServiceManager.php | <?php
namespace Valet\Contracts;
interface ServiceManager
{
/**
* Start the given services.
*
* @param array|string|string[]|null $services
*/
public function start(array|string|null $services): void;
/**
* Stop the given services.
*
* @param array|string|string[]|null ... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/CommandLine.php | cli/Valet/Facades/CommandLine.php | <?php
namespace Valet\Facades;
/**
* Class CommandLine.
*
* @method static void quietly(string $command)
* @method static void quietlyAsUser(string $command)
* @method static void passthru(string $command)
* @method static string run(string $command, callable $onError = null)
* @method static string runA... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/DnsMasq.php | cli/Valet/Facades/DnsMasq.php | <?php
namespace Valet\Facades;
/**
* Class DnsMasq.
*
* @method static void install(string $domain)
* @method static void stop()
* @method static void restart()
* @method static void updateDomain(string $newDomain)
* @method static void uninstall()
*/
class DnsMasq extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Valet.php | cli/Valet/Facades/Valet.php | <?php
namespace Valet\Facades;
/**
* Class Valet.
*
* @method static void symlinkToUsersBin()
* @method static void symlinkPhpToUsersBin()
* @method static void uninstall()
* @method static array extensions()
* @method static bool onLatestVersion(string $currentVersion)
* @method static string getLat... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Filesystem.php | cli/Valet/Facades/Filesystem.php | <?php
namespace Valet\Facades;
/**
* Class Filesystem
*
* @method static bool exists(string $path)
*/
class Filesystem extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Request.php | cli/Valet/Facades/Request.php | <?php
namespace Valet\Facades;
use Httpful\Response;
/**
* Class Request
*
* @method static self get($uri, $mime = null)
* @method Response send()
*/
class Request extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Mysql.php | cli/Valet/Facades/Mysql.php | <?php
namespace Valet\Facades;
/**
* Class Mysql.
*
* @method static void install()
* @method static void stop()
* @method static void restart()
* @method static void uninstall()
* @method static void configure(bool $force = false)
* @method static bool createDatabase... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Facade.php | cli/Valet/Facades/Facade.php | <?php
namespace Valet\Facades;
use Illuminate\Container\Container;
use Illuminate\Contracts\Container\BindingResolutionException;
/**
* Class Facade.
*/
class Facade
{
/**
* The key for the binding in the container.
*/
public static function containerKey(): string
{
return 'Valet\\'.b... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Ngrok.php | cli/Valet/Facades/Ngrok.php | <?php
namespace Valet\Facades;
/**
* Class Ngrok.
*
* @method static void install()
* @method static string|null currentTunnelUrl()
* @method static void setAuthToken(string $authToken)
*/
class Ngrok extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Site.php | cli/Valet/Facades/Site.php | <?php
namespace Valet\Facades;
/**
* Class Site.
*
* @method static void pruneLinks()
* @method static string getSiteUrl(string $directory)
* @method static string|null phpRcVersion($site)
*/
class Site extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/DevTools.php | cli/Valet/Facades/DevTools.php | <?php
namespace Valet\Facades;
/**
* Class DevTools.
*
* @method static false|string getBin(string $service, array $ignoredServices = [])
* @method static void run(string $folder,string $service)
*/
class DevTools extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/SiteProxy.php | cli/Valet/Facades/SiteProxy.php | <?php
namespace Valet\Facades;
use Illuminate\Support\Collection;
/**
* Class Ngrok.
*
* @method static void proxyCreate(string $url, string $host, bool $secure = false)
* @method static void proxyDelete(string $url) @deprecated
* @method static Collection proxies()
*/
class SiteProxy exte... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Requirements.php | cli/Valet/Facades/Requirements.php | <?php
namespace Valet\Facades;
/**
* Class Requirements.
*
* @method static self setIgnoreSELinux(bool $ignore = true)
* @method static void check()
*/
class Requirements extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Configuration.php | cli/Valet/Facades/Configuration.php | <?php
namespace Valet\Facades;
/**
* Class Configuration.
*
* @method static void install()
* @method static void uninstall()
* @method static void prune()
* @method static mixed get(string $key, mixed $default = null)
* @method static mixed set(string $key, mixed $default = null)
* @method static voi... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/PhpFpm.php | cli/Valet/Facades/PhpFpm.php | <?php
namespace Valet\Facades;
/**
* Class PhpFpm.
*
* @method static void install(string $version = null, bool $installExt = true)
* @method static void uninstall()
* @method static void restart($version = null)
* @method static void stop($version = null)
* @method static void ... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/SiteLink.php | cli/Valet/Facades/SiteLink.php | <?php
namespace Valet\Facades;
use Illuminate\Support\Collection;
/**
* Class Ngrok.
*
* @method static string link(string $target, string $link)
* @method static void unlink(string $name)
* @method static Collection links()
*/
class SiteLink extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Nginx.php | cli/Valet/Facades/Nginx.php | <?php
namespace Valet\Facades;
use Illuminate\Support\Collection;
/**
* Class Nginx.
*
* @method static void install()
* @method static void restart()
* @method static void stop()
* @method static void status()
* @method static void uninstall()
* @method static void updatePort(string $newPort)
* @method sta... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/Mailpit.php | cli/Valet/Facades/Mailpit.php | <?php
namespace Valet\Facades;
/**
* Class Mailpit.
*
* @method static void install()
* @method static void start()
* @method static void restart()
* @method static void stop()
* @method static void status()
* @method static void uninstall()
*/
class Mailpit extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/ValetRedis.php | cli/Valet/Facades/ValetRedis.php | <?php
namespace Valet\Facades;
/**
* Class ValetRedis.
*
* @method static void install()
* @method static void uninstall()
* @method static void restart()
* @method static void stop()
*/
class ValetRedis extends Facade
{
}
| php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/SiteIsolate.php | cli/Valet/Facades/SiteIsolate.php | <?php
namespace Valet\Facades;
use Illuminate\Support\Collection;
/**
* Class Ngrok.
*
* @method static bool isolateDirectory(string $directory, string $version, bool $secure = false)
* @method static void unIsolateDirectory(string $directory)
* @method static Collection isolatedDirectories()
* @method stat... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
valet-linux-plus/valet-linux-plus | https://github.com/valet-linux-plus/valet-linux-plus/blob/59a12a091f8c2c948f1961a38e3e675abd0346b3/cli/Valet/Facades/SiteSecure.php | cli/Valet/Facades/SiteSecure.php | <?php
namespace Valet\Facades;
use Illuminate\Support\Collection;
/**
* Class Ngrok.
*
* @method static void secure(string $url, string $stub = null)
* @method static void unsecure(string $url, bool $preserveUnsecureConfig = false)
* @method static Collection<int, strin... | php | MIT | 59a12a091f8c2c948f1961a38e3e675abd0346b3 | 2026-01-05T03:26:00.177852Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/footer.php | footer.php | <?php if (!defined('__TYPECHO_ROOT_DIR__'))
exit; ?>
<?php $this->footer(); ?>
<!-- 回到顶端 -->
<div class="go-top" id="go-top">
<a href="#" class="go icon-up-open" aria-label="返回顶部"></a>
</div>
<!-- AOS -->
<script>
document.addEventListener('DOMContentLoaded', function () {
AOS.init({
duration: 600,
... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/page.php | page.php | <?php if (!defined('__TYPECHO_ROOT_DIR__'))
exit; ?>
<?php $this->need('header.php'); ?>
<div class="wrapper">
<?php
$hasImg = $this->fields->img ? true : false;
?>
<article class="post <?= $hasImg ? 'post--photo post--cover' : 'post--text'; ?> post--index main-item">
<div class="post-inne... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/archive.php | archive.php | <?php if (!defined('__TYPECHO_ROOT_DIR__'))
exit; ?>
<?php $this->need('header.php'); ?>
<div class="wrapper">
<h3 class="archive-title"><?php $this->archiveTitle([
'category' => _t('分类 %s 下的文章'),
'search' => _t('包含关键字 %s 的文章'),
'tag' => _t('标签 %s 下的文章'),
'author' => _t('%s 发布的... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/comments.php | comments.php | <?php if ($this->allow('comment')): ?>
<?php $this->header('commentReply=1&description=0&keywords=0&generator=0&template=0&pingback=0&xmlrpc=0&wlw=0&rss2=0&rss1=0&antiSpam=0&atom'); ?>
<?php
function threadedComments($comments, $options)
{
$cl = $comments->levels > 0 ? 'c_c' : 'c_p';
$i... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/post.php | post.php | <?php if (!defined('__TYPECHO_ROOT_DIR__'))
exit; ?>
<?php $this->need('header.php'); ?>
<div class="wrapper">
<?php
$hasImg = $this->fields->img ? true : false;
?>
<article class="post <?= $hasImg ? 'post--photo post--cover' : 'post--text'; ?> post--index main-item">
<div class="post-inne... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/functions.php | functions.php | <?php
if (!defined('__TYPECHO_ROOT_DIR__'))
exit;
function themeFields($layout)
{
$img = new Typecho_Widget_Helper_Form_Element_Text('img', NULL, NULL, _t('文章头图'), _t('输入文章头图的 URL 地址,为空则不显示'));
$img->input->setAttribute('class', 'text w-100');
$layout->addItem($img);
$desc = new Typecho_Widget_Hel... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | true |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/index.php | index.php | <?php
/**
* 干净,纯洁,淡雅朴素。
* It's PureSuck For You.
*
* @package PureSuck
* @author MoXiify
* @version 1.3.0
* @link https://www.moxiify.cn
*/
if (!defined('__TYPECHO_ROOT_DIR__'))
exit;
$this->need('header.php');
?>
<div class="wrapper">
<?php while ($this->next()): ?>
<?php
$hasImg = ... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/404.php | 404.php | <?php if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
<?php { Header("Location:/"); } ?>
| php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/header.php | header.php | <!DOCTYPE HTML>
<html lang="zh-CN">
<head>
<meta charset="<?= $this->options->charset(); ?>">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php $this->header(); ?>
<title>
... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/sidebar.php | sidebar.php | <div class="right-sidebar" id="right-sidebar">
<!-- 搜索功能 -->
<?php if ($this->options->showSearch === '1'): ?>
<div class="search-section">
<header class="section-header">
<span class="icon-search"></span>
<span class="title">搜索</span>
</header>
... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
MoXiaoXi233/PureSuck-theme | https://github.com/MoXiaoXi233/PureSuck-theme/blob/a712b6f96de10e67c90ab61db623c41131739d61/archives.php | archives.php | <?php if (!defined('__TYPECHO_ROOT_DIR__'))
exit; ?>
<?php
/**
* 归档页面
*
* @package custom
*/
$this->need('header.php');
?>
<div class="wrapper">
<?php
$hasImg = $this->fields->img ? true : false;
?>
<article class="post <?= $hasImg ? 'post--photo post--cover' : 'post--text'; ?> post--index mai... | php | MIT | a712b6f96de10e67c90ab61db623c41131739d61 | 2026-01-05T03:26:39.039481Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/default.php | src/php/default.php | <?php
# Copyright (c) 2015 Jordan Turley, CSGO Win Big. All Rights Reserved.
function getDB() {
$dbHost = 'localhost';
$db = 'csgowinb_default';
$dbUser = 'csgowinb_ztizzle';
# Get database password from outside of web root
$fileLoc = $_SERVER['DOCUMENT_ROOT'] . '/../passwords.txt';
if (file_exists($fileLoc... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/new-item-ticket.php | src/php/new-item-ticket.php | <?php
include 'default.php';
$name = postVar('name');
$price = postVar('price');
$link = postVar('link');
if (is_null($name) || is_null($price) || is_null($link)) {
echo jsonErr('One of the required fields was not send correctly.');
return;
}
$to = 'items@csgowinbig.com';
$subject = 'New Item Ticket';
$message = "... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/update-trade-token.php | src/php/update-trade-token.php | <?php
session_start();
include 'default.php';
include 'SteamAuthentication/steamauth/userInfo.php';
$db = getDB();
$tradeUrl = isset($_POST['tradeUrl']) ? $_POST['tradeUrl'] : null;
if (is_null($tradeUrl) || strlen($tradeUrl) === 0) {
echo jsonErr('The required field was not sent.');
return;
}
# Check if user is ... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/save-trade-token.php | src/php/save-trade-token.php | <?php
session_start();
include 'default.php';
include 'SteamAuthentication/steamauth/userInfo.php';
$db = getDB();
$tradeUrl = isset($_POST['tradeUrl']) ? $_POST['tradeUrl'] : null;
if (is_null($tradeUrl) || strlen($tradeUrl) === 0) {
echo jsonErr('The required field was not sent.');
return;
}
# Check if user is ... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/login-status.php | src/php/login-status.php | <?php
# Copyright (c) 2015 Jordan Turley, CSGO Win Big. All Rights Reserved.
session_start();
include 'default.php';
include 'SteamAuthentication/steamauth/userInfo.php';
$db = getDB();
$steamID = isset($_SESSION['steamid']) ? $_SESSION['steamid'] : null;
$loginStatus = !is_null($steamID) && isset($steamID) ? 1 : 0... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
ztizzlegaming/CSGOWinBig | https://github.com/ztizzlegaming/CSGOWinBig/blob/ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9/src/php/bot-withdraw.php | src/php/bot-withdraw.php | <?php
include 'default.php';
$db = getDB();
# Get bot inventory
$bot64Id = '76561198238743988';
$botInventory = json_decode(file_get_contents("https://steamcommunity.com/profiles/$bot64Id/inventory/json/730/2"), true);
$rgInventory = $botInventory['rgInventory'];
# Get current pot
$stmt = $db->query('SELECT * FROM cu... | php | MIT | ac439a89b745ab8c32cf2f1eadf5d40eb5e830d9 | 2026-01-05T03:26:27.424201Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.