text stringlengths 9 39.2M | dir stringlengths 26 295 | lang stringclasses 185
values | created_date timestamp[us] | updated_date timestamp[us] | repo_name stringlengths 1 97 | repo_full_name stringlengths 7 106 | star int64 1k 183k | len_tokens int64 1 13.8M |
|---|---|---|---|---|---|---|---|---|
```php
<?php
declare(strict_types=1);
namespace App\Middleware;
use App\Exception\Http\NotLoggedInException;
use App\Http\ServerRequest;
use Exception;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\RequestHandlerInterface;
/**
* Require that the user be logged in to view this page.
*/
final class Re... | /content/code_sandbox/backend/src/Middleware/RequireLogin.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 134 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware;
use App\Http\ServerRequest;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Message\ServerRequestInterface;
use Psr\Http\Server\MiddlewareInterface;
use Psr\Http\Server\RequestHandlerInterface;
use TypeError;
abstract class AbstractMiddleware impl... | /content/code_sandbox/backend/src/Middleware/AbstractMiddleware.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 143 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware;
use App\Http\ServerRequest;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\RequestHandlerInterface;
/**
* Apply a rate limit for requests on this page and throw an exception if the limit is exceeded.
*/
final class RateLimit extends Abst... | /content/code_sandbox/backend/src/Middleware/RateLimit.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 213 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware;
use App\Exception\WrappedException;
use App\Http\ServerRequest;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Throwable;
/**
* Wrap all exceptions thrown past this point with rich metadata.
*/
final class Wr... | /content/code_sandbox/backend/src/Middleware/WrapExceptionsWithRequestData.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 154 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware;
use App\Acl;
use App\Auth;
use App\Container\EnvironmentAwareTrait;
use App\Customization;
use App\Entity\AuditLog;
use App\Entity\Repository\UserRepository;
use App\Http\ServerRequest;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\Request... | /content/code_sandbox/backend/src/Middleware/GetCurrentUser.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 430 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware;
use App\Http\ServerRequest;
use JsonException;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\RequestHandlerInterface;
use const JSON_THROW_ON_ERROR;
/**
* When sending data using multipart forms (that also include uploaded files, for ex... | /content/code_sandbox/backend/src/Middleware/HandleMultipartJson.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 338 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware;
use App\Container\SettingsAwareTrait;
use App\Environment;
use App\Http\ServerRequest;
use App\Session\Csrf;
use App\Session\Flash;
use Mezzio\Session\Cache\CacheSessionPersistence;
use Mezzio\Session\LazySession;
use Mezzio\Session\SessionPersistenceIn... | /content/code_sandbox/backend/src/Middleware/InjectSession.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 515 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware\Auth;
use App\Acl;
use App\Container\EnvironmentAwareTrait;
use App\Customization;
use App\Entity\AuditLog;
use App\Entity\Repository\UserRepository;
use App\Exception\Http\InvalidRequestAttribute;
use App\Http\ServerRequest;
use App\Middleware\AbstractM... | /content/code_sandbox/backend/src/Middleware/Auth/AbstractAuth.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 331 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware\Auth;
use App\Auth;
use App\Http\ServerRequest;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class StandardAuth extends AbstractAuth
{
public function __invoke(ServerRequest $request, RequestHandlerInter... | /content/code_sandbox/backend/src/Middleware/Auth/StandardAuth.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 186 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware\Auth;
final class PublicAuth extends AbstractAuth
{
}
``` | /content/code_sandbox/backend/src/Middleware/Auth/PublicAuth.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 25 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware\Auth;
use App\Acl;
use App\Auth;
use App\Customization;
use App\Entity\Repository\ApiKeyRepository;
use App\Entity\Repository\UserRepository;
use App\Entity\User;
use App\Exception\Http\CsrfValidationException;
use App\Http\ServerRequest;
use App\Securit... | /content/code_sandbox/backend/src/Middleware/Auth/ApiAuth.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 777 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware\Module;
use App\Container\EnvironmentAwareTrait;
use App\Enums\GlobalPermissions;
use App\Http\ServerRequest;
use App\Middleware\AbstractMiddleware;
use App\Middleware\Auth\ApiAuth;
use App\Version;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Se... | /content/code_sandbox/backend/src/Middleware/Module/PanelLayout.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 448 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware\Module;
use App\Container\EnvironmentAwareTrait;
use App\Container\SettingsAwareTrait;
use App\Entity\User;
use App\Exception\Http\InvalidRequestAttribute;
use App\Exception\WrappedException;
use App\Http\ServerRequest;
use App\Middleware\AbstractMiddlew... | /content/code_sandbox/backend/src/Middleware/Module/Api.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 884 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware\Cache;
use App\Http\ServerRequest;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\RequestHandlerInterface;
use Slim\Routing\RouteContext;
class SetStaticFileCache extends SetCache
{
public function __construct(
protected string ... | /content/code_sandbox/backend/src/Middleware/Cache/SetStaticFileCache.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 217 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware\Cache;
use App\Http\ServerRequest;
use App\Middleware\AbstractMiddleware;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\RequestHandlerInterface;
final class SetDefaultCache extends AbstractMiddleware
{
public function __invoke(ServerRe... | /content/code_sandbox/backend/src/Middleware/Cache/SetDefaultCache.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 275 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
use Carbon\CarbonInterface;
final class DateRange
{
public function __construct(
private readonly CarbonInterface $start,
private readonly CarbonInterface $end,
) {
}
public function getStart(): CarbonInterface
{
... | /content/code_sandbox/backend/src/Utilities/DateRange.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 220 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
final class Time
{
public static function displayTimeToSeconds(string|float|int $seconds = null): ?float
{
if (null === $seconds || '' === $seconds) {
return null;
}
if (is_float($seconds)) {
return... | /content/code_sandbox/backend/src/Utilities/Time.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 170 |
```php
<?php
declare(strict_types=1);
namespace App\Middleware\Cache;
use App\Http\ServerRequest;
use App\Middleware\AbstractMiddleware;
use Psr\Http\Message\ResponseInterface;
use Psr\Http\Server\RequestHandlerInterface;
class SetCache extends AbstractMiddleware
{
public const int CACHE_ONE_MINUTE = 60;
pu... | /content/code_sandbox/backend/src/Middleware/Cache/SetCache.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 372 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
final class Types
{
public static function string(
mixed $input,
string $defaultIfNull = '',
bool $countEmptyAsNull = false
): string {
return self::stringOrNull($input, $countEmptyAsNull) ?? $defaultIfNull;
}
... | /content/code_sandbox/backend/src/Utilities/Types.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 648 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
use FilesystemIterator;
use InvalidArgumentException;
use RecursiveDirectoryIterator;
use RecursiveIteratorIterator;
use SplFileInfo;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Filesystem\Path;
use function stripos;
use function ... | /content/code_sandbox/backend/src/Utilities/File.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,252 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
use RuntimeException;
use voku\helper\UTF8;
final class Strings
{
/**
* Truncate text (adding "..." if needed)
*/
public static function truncateText(string $text, int $limit = 80, string $pad = '...'): string
{
if (mb_strl... | /content/code_sandbox/backend/src/Utilities/Strings.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,049 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
use JsonException;
use RuntimeException;
final class Json
{
public static function loadFromFile(
string $path,
bool $throwOnError = true
): array {
if (is_file($path)) {
$fileContents = file_get_contents($path... | /content/code_sandbox/backend/src/Utilities/Json.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 219 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
use GuzzleHttp\Psr7\Uri;
use LogicException;
use Psr\Http\Message\UriInterface;
use RuntimeException;
use Throwable;
final class Urls
{
public static function getUri(
?string $url,
bool $mustBeAbsolute = true
): UriInterface {
... | /content/code_sandbox/backend/src/Utilities/Urls.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 521 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
use Symfony\Component\Console\Output\OutputInterface;
final class Spinner
{
public const array DEFAULT_FRAMES = [
'',
'',
'',
'',
];
private readonly int $length;
private int $current = 0;
public fu... | /content/code_sandbox/backend/src/Utilities/Spinner.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 278 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
use Monolog\Logger as MonologLogger;
use Monolog\Registry;
final class Logger
{
public const string INSTANCE_NAME = 'app';
public static function getInstance(): MonologLogger
{
return Registry::getInstance(self::INSTANCE_NAME);
... | /content/code_sandbox/backend/src/Utilities/Logger.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 71 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Container\SettingsAwareTrait;
use App\Service\Avatar\AvatarServiceInterface;
use App\Service\Avatar\Disabled;
use App\Service\Avatar\Gravatar;
use App\Service\Avatar\Libravatar;
final class Avatar
{
use SettingsAwareTrait;
public const in... | /content/code_sandbox/backend/src/Service/Avatar.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 300 |
```php
<?php
declare(strict_types=1);
namespace App\Utilities;
final class Arrays
{
/**
* Flatten an array from format:
* [
* 'user' => [
* 'id' => 1,
* 'name' => 'test',
* ]
* ]
*
* to format:
* [
* 'user.id' => 1,
* 'user.name' => 'tes... | /content/code_sandbox/backend/src/Utilities/Arrays.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 935 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use GuzzleHttp\Client;
use GuzzleHttp\HandlerStack;
final class GuzzleFactory
{
public function __construct(
private readonly array $defaultConfig = []
) {
}
public function withConfig(array $defaultConfig): self
{
ret... | /content/code_sandbox/backend/src/Service/GuzzleFactory.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 190 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Container\EnvironmentAwareTrait;
use App\Entity\Station;
use GuzzleHttp\Client;
final class Centrifugo
{
use EnvironmentAwareTrait;
public function __construct(
private readonly Client $client,
) {
}
public function i... | /content/code_sandbox/backend/src/Service/Centrifugo.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 296 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Entity\Interfaces\SongInterface;
use App\Entity\StationMedia;
use App\Lock\LockFactory;
use App\Version;
use GuzzleHttp\Client;
use GuzzleHttp\Psr7\UriResolver;
use GuzzleHttp\Psr7\Utils;
use GuzzleHttp\RequestOptions;
use JsonException;
use Psr\Ht... | /content/code_sandbox/backend/src/Service/MusicBrainz.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,187 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Service\NetworkStats\NetworkData;
use App\Service\NetworkStats\NetworkData\Received;
use App\Service\NetworkStats\NetworkData\Transmitted;
use Brick\Math\BigDecimal;
final class NetworkStats
{
public static function getNetworkUsage(): array
... | /content/code_sandbox/backend/src/Service/NetworkStats.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 596 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Service\DeviceDetector\DeviceResult;
use DeviceDetector\DeviceDetector as ParentDeviceDetector;
use Psr\Cache\CacheItemPoolInterface;
use Symfony\Component\Cache\Adapter\ProxyAdapter;
final class DeviceDetector
{
private CacheItemPoolInterface... | /content/code_sandbox/backend/src/Service/DeviceDetector.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 392 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Container\EnvironmentAwareTrait;
use RuntimeException;
use Throwable;
final class WebUpdater
{
use EnvironmentAwareTrait;
// Don't worry that this is insecure; it's only ever used for internal communications.
public const string WATCH... | /content/code_sandbox/backend/src/Service/WebUpdater.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 315 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Container\SettingsAwareTrait;
use Symfony\Component\Mailer\Envelope;
use Symfony\Component\Mailer\MailerInterface;
use Symfony\Component\Mime\Address;
use Symfony\Component\Mime\Email;
use Symfony\Component\Mime\RawMessage;
final class Mail implem... | /content/code_sandbox/backend/src/Service/Mail.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 218 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Container\EnvironmentAwareTrait;
use App\Exception\SupervisorException;
use App\Service\ServiceControl\ServiceData;
use InvalidArgumentException;
use Supervisor\Exception\Fault\BadNameException;
use Supervisor\Exception\Fault\NotRunningException;
u... | /content/code_sandbox/backend/src/Service/ServiceControl.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 627 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Service\MemoryStats\MemoryData;
final class MemoryStats
{
public static function getMemoryUsage(): MemoryData
{
$meminfoRaw = file('/proc/meminfo', FILE_IGNORE_NEW_LINES) ?: [];
$meminfo = [];
foreach ($meminfoRaw ... | /content/code_sandbox/backend/src/Service/MemoryStats.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 138 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Utilities\Json;
use InvalidArgumentException;
use LogicException;
use Symfony\Component\Filesystem\Filesystem;
use Symfony\Component\Process\Process;
final class AudioWaveform
{
/**
* @return mixed[]
*/
public static function get... | /content/code_sandbox/backend/src/Service/AudioWaveform.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 369 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Container\EnvironmentAwareTrait;
use App\Container\LoggerAwareTrait;
use App\Container\SettingsAwareTrait;
use App\Entity\Repository\StationRepository;
use App\Environment;
use App\Message\AbstractMessage;
use App\Message\GenerateAcmeCertificate;
u... | /content/code_sandbox/backend/src/Service/Acme.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,735 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Container\EnvironmentAwareTrait;
use Redis;
use RuntimeException;
final class RedisFactory
{
use EnvironmentAwareTrait;
protected ?Redis $instance = null;
public function isSupported(): bool
{
return !$this->environment->... | /content/code_sandbox/backend/src/Service/RedisFactory.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 205 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Container\EnvironmentAwareTrait;
use App\Container\LoggerAwareTrait;
use App\Container\SettingsAwareTrait;
use App\Version;
use Exception;
use GuzzleHttp\Client;
final class AzuraCastCentral
{
use LoggerAwareTrait;
use EnvironmentAwareTrai... | /content/code_sandbox/backend/src/Service/AzuraCastCentral.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 704 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Container\SettingsAwareTrait;
use App\Lock\LockFactory;
use App\Version;
use GuzzleHttp\Client;
use GuzzleHttp\RequestOptions;
use InvalidArgumentException;
use RuntimeException;
use Symfony\Component\Lock\Exception\LockConflictedException;
final ... | /content/code_sandbox/backend/src/Service/LastFm.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 866 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use App\Service\CpuStats\CpuData;
use Brick\Math\BigDecimal;
use Brick\Math\RoundingMode;
final class CpuStats
{
/**
* @return CpuData[]
*/
public static function getCurrentLoad(): array
{
$cpuStatsRaw = file('/proc/stat', FI... | /content/code_sandbox/backend/src/Service/CpuStats.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 890 |
```php
<?php
declare(strict_types=1);
namespace App\Service;
use Exception;
use MaxMind\Db\Reader;
use Psr\Cache\CacheItemPoolInterface;
use RuntimeException;
use Symfony\Component\Cache\Adapter\ProxyAdapter;
final class IpGeolocation
{
private bool $isInitialized = false;
private ?Reader $reader;
pri... | /content/code_sandbox/backend/src/Service/IpGeolocation.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 718 |
```php
<?php
/**
* This is the implementation of the server side part of
* Flow.js client script, which sends/uploads files
* to a server in several chunks.
*
* The script receives the files in a standard way as if
* the files were uploaded using standard HTML form (multipart).
*
* This PHP script stores all t... | /content/code_sandbox/backend/src/Service/Flow.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,742 |
```php
<?php
declare(strict_types=1);
namespace App\Service\CpuStats;
use Brick\Math\BigInteger;
final class CpuData
{
public readonly string $name;
public readonly bool $isDelta;
/**
* Time spent with normal processing in user mode.
*/
public readonly int $user;
/**
* Time spe... | /content/code_sandbox/backend/src/Service/CpuStats/CpuData.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 998 |
```php
<?php
declare(strict_types=1);
namespace App\Service\DeviceDetector;
use DeviceDetector\DeviceDetector;
use DeviceDetector\Parser\Client\Browser;
use DeviceDetector\Parser\OperatingSystem;
final class DeviceResult
{
public function __construct(
public readonly string $userAgent
) {
}
... | /content/code_sandbox/backend/src/Service/DeviceDetector/DeviceResult.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 441 |
```php
<?php
declare(strict_types=1);
namespace App\Service\NetworkStats;
use App\Service\NetworkStats\NetworkData\Received;
use App\Service\NetworkStats\NetworkData\Transmitted;
use Brick\Math\BigDecimal;
use Brick\Math\BigInteger;
final class NetworkData
{
public function __construct(
public readonly ... | /content/code_sandbox/backend/src/Service/NetworkStats/NetworkData.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 415 |
```php
<?php
declare(strict_types=1);
namespace App\Service\NetworkStats\NetworkData;
use Brick\Math\BigInteger;
final class Received
{
/**
* The total number of bytes of data received by the interface.
*/
public readonly BigInteger $bytes;
/**
* The total number of packets of data recei... | /content/code_sandbox/backend/src/Service/NetworkStats/NetworkData/Received.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 351 |
```php
<?php
declare(strict_types=1);
namespace App\Service\NetworkStats\NetworkData;
use Brick\Math\BigInteger;
final class Transmitted
{
/**
* The total number of bytes of data transmitted by the interface.
*/
public readonly BigInteger $bytes;
/**
* The total number of packets of data... | /content/code_sandbox/backend/src/Service/NetworkStats/NetworkData/Transmitted.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 354 |
```php
<?php
declare(strict_types=1);
namespace App\Service\IpGeolocator;
final class IpResult
{
public function __construct(
public readonly string $ip
) {
}
public string $description;
public ?string $region = null;
public ?string $city = null;
public ?string $country = null... | /content/code_sandbox/backend/src/Service/IpGeolocator/IpResult.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 305 |
```php
<?php
declare(strict_types=1);
namespace App\Service\IpGeolocator;
use Carbon\CarbonImmutable;
use MaxMind\Db\Reader;
abstract class AbstractIpGeolocator implements IpGeolocatorInterface
{
public static function isAvailable(): bool
{
$databasePath = static::getDatabasePath();
return ... | /content/code_sandbox/backend/src/Service/IpGeolocator/AbstractIpGeolocator.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 210 |
```php
<?php
declare(strict_types=1);
namespace App\Service\IpGeolocator;
use App\Environment;
final class DbIp extends AbstractIpGeolocator
{
public static function getReaderShortName(): string
{
return 'dbip';
}
public static function getBaseDirectory(): string
{
$environment ... | /content/code_sandbox/backend/src/Service/IpGeolocator/DbIp.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 162 |
```php
<?php
declare(strict_types=1);
namespace App\Service\IpGeolocator;
use MaxMind\Db\Reader;
interface IpGeolocatorInterface
{
public static function getDatabasePath(): string;
public static function isAvailable(): bool;
public static function getReaderShortName(): string;
public static funct... | /content/code_sandbox/backend/src/Service/IpGeolocator/IpGeolocatorInterface.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 94 |
```php
<?php
declare(strict_types=1);
namespace App\Service\IpGeolocator;
use App\Environment;
use App\Utilities\File;
final class GeoLite extends AbstractIpGeolocator
{
public static function getReaderShortName(): string
{
return 'geolite';
}
public static function getBaseDirectory(): stri... | /content/code_sandbox/backend/src/Service/IpGeolocator/GeoLite.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 206 |
```php
<?php
declare(strict_types=1);
namespace App\Service\ServiceControl;
final class ServiceData
{
public function __construct(
public readonly string $name,
public readonly string $description,
public readonly bool $running
) {
}
public function toArray(): array
{
... | /content/code_sandbox/backend/src/Service/ServiceControl/ServiceData.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 101 |
```php
<?php
declare(strict_types=1);
namespace App\Service\MemoryStats;
use App\Radio\Quota;
use Brick\Math\BigInteger;
final class MemoryData
{
public function __construct(
public readonly BigInteger $memTotal,
public readonly BigInteger $memFree,
public readonly BigInteger $buffers,
... | /content/code_sandbox/backend/src/Service/MemoryStats/MemoryData.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 528 |
```php
<?php
declare(strict_types=1);
namespace App\Service\Flow;
use App\Utilities\File;
use GuzzleHttp\Psr7\LazyOpenStream;
use InvalidArgumentException;
use JsonSerializable;
use League\MimeTypeDetection\FinfoMimeTypeDetector;
use League\MimeTypeDetection\GeneratedExtensionToMimeTypeMap;
use Normalizer;
use Psr\H... | /content/code_sandbox/backend/src/Service/Flow/UploadedFile.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,159 |
```php
<?php
declare(strict_types=1);
namespace App\Service\Dropbox;
use League\OAuth2\Client\Provider\AbstractProvider;
use League\OAuth2\Client\Provider\Exception\IdentityProviderException;
use League\OAuth2\Client\Token\AccessToken;
use League\OAuth2\Client\Tool\BearerAuthorizationTrait;
use LogicException;
use P... | /content/code_sandbox/backend/src/Service/Dropbox/OAuthProvider.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 370 |
```php
<?php
declare(strict_types=1);
namespace App\Service\Dropbox;
use App\Entity\StorageLocation;
use App\Utilities\Types;
use GuzzleHttp\Exception\ClientException;
use Psr\Cache\CacheItemPoolInterface;
use Spatie\Dropbox\RefreshableTokenProvider;
final class OAuthAdapter implements RefreshableTokenProvider
{
... | /content/code_sandbox/backend/src/Service/Dropbox/OAuthAdapter.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 644 |
```php
<?php
declare(strict_types=1);
namespace App\Service\Avatar;
final class Gravatar implements AvatarServiceInterface
{
public const string BASE_URL = 'path_to_url
public function getServiceName(): string
{
return 'Gravatar';
}
public function getServiceUrl(): string
{
... | /content/code_sandbox/backend/src/Service/Avatar/Gravatar.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 180 |
```php
<?php
declare(strict_types=1);
namespace App\Service\Avatar;
final class Disabled implements AvatarServiceInterface
{
public function getServiceName(): string
{
return 'Disabled';
}
public function getServiceUrl(): string
{
return '';
}
public function getAvatar(s... | /content/code_sandbox/backend/src/Service/Avatar/Disabled.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 93 |
```php
<?php
declare(strict_types=1);
namespace App\Service\Avatar;
interface AvatarServiceInterface
{
public function getServiceName(): string;
public function getServiceUrl(): string;
public function getAvatar(string $email, int $size = 50, ?string $default = null): string;
}
``` | /content/code_sandbox/backend/src/Service/Avatar/AvatarServiceInterface.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 64 |
```php
<?php
declare(strict_types=1);
namespace App\Service\Avatar;
final class Libravatar implements AvatarServiceInterface
{
public const string BASE_URL = 'path_to_url
public function getServiceName(): string
{
return 'Libravatar';
}
public function getServiceUrl(): string
{
... | /content/code_sandbox/backend/src/Service/Avatar/Libravatar.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 174 |
```php
<?php
declare(strict_types=1);
namespace App\Validator\Constraints;
use Attribute;
use Symfony\Component\Validator\Constraint;
#[Attribute(Attribute::TARGET_CLASS)]
final class StorageLocation extends Constraint
{
public function getTargets(): string
{
return self::CLASS_CONSTRAINT;
}
}
... | /content/code_sandbox/backend/src/Validator/Constraints/StorageLocation.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 62 |
```php
<?php
declare(strict_types=1);
namespace App\Validator\Constraints;
use App\Entity\Station;
use App\Radio\Configuration;
use Symfony\Component\Validator\Constraint;
use Symfony\Component\Validator\ConstraintValidator;
use Symfony\Component\Validator\Exception\UnexpectedTypeException;
final class StationPortC... | /content/code_sandbox/backend/src/Validator/Constraints/StationPortCheckerValidator.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 468 |
```php
<?php
declare(strict_types=1);
/*
* 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 App\Validator\Constraints;
use Attribu... | /content/code_sandbox/backend/src/Validator/Constraints/UniqueEntity.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 424 |
```php
<?php
declare(strict_types=1);
namespace App\Validator\Constraints;
use App\Container\EntityManagerAwareTrait;
use App\Entity\Repository\StorageLocationRepository;
use App\Entity\StorageLocation;
use App\Validator\Constraints\StorageLocation as StorageLocationConstraint;
use Exception;
use Symfony\Component\V... | /content/code_sandbox/backend/src/Validator/Constraints/StorageLocationValidator.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 537 |
```php
<?php
declare(strict_types=1);
namespace App\Validator\Constraints;
use Attribute;
use Symfony\Component\Validator\Constraint;
#[Attribute(Attribute::TARGET_CLASS)]
final class StationPortChecker extends Constraint
{
public function getTargets(): string
{
return self::CLASS_CONSTRAINT;
}
... | /content/code_sandbox/backend/src/Validator/Constraints/StationPortChecker.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 63 |
```php
<?php
declare(strict_types=1);
/*
* 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 App\Validator\Constraints;
use App\Con... | /content/code_sandbox/backend/src/Validator/Constraints/UniqueEntityValidator.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 1,585 |
```html+php
<?php
/**
* @var League\Plates\Template\Template $this
* @var App\Auth $auth
* @var App\Acl $acl
* @var App\Http\Router $router
* @var App\Session\Flash $flash
* @var App\Customization $customization
* @var App\Version $version
* @var App\Http\ServerRequest $request
* @var App\Environment $environm... | /content/code_sandbox/backend/templates/panel.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 300 |
```html+php
<?php
/**
* @var League\Plates\Template\Template $this
* @var App\Auth $auth
* @var App\Acl $acl
* @var App\Http\Router $router
* @var App\Session\Flash $flash
* @var App\Customization $customization
* @var App\Version $version
* @var App\Http\ServerRequest $request
* @var App\Environment $environm... | /content/code_sandbox/backend/templates/minimal.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 474 |
```html+php
<?php
/** @var \App\Http\ServerRequest $request */
try {
$flashObj = $request->getFlash();
} catch (\App\Exception\Http\InvalidRequestAttribute) {
$flashObj = null;
}
$notifies = [];
?>
<div class="toast-container position-fixed top-0 end-0 p-3">
<?php
if (null !== $flashObj && $flashObj->... | /content/code_sandbox/backend/templates/partials/toasts.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 229 |
```html+php
<?php
/**
* @var string $component
* @var ?string $id
* @var array $props
* @var App\View\GlobalSections $sections
* @var Doctrine\Common\Collections\ArrayCollection $globalProps
* @var App\Environment $environment
*/
$componentDeps = $this->getVueComponentInfo('js/pages/' . $component . '.js');
$j... | /content/code_sandbox/backend/templates/partials/vue_body.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 368 |
```html+php
<?php
/**
* @var App\Customization $customization
* @var App\Environment $environment
*/
if ($environment->isDevelopment()) {
echo <<<HTML
<script type="module" src="/static/vite_dist/@vite/client"></script>
HTML;
}
$componentDeps = $this->getVueComponentInfo('js/layout.js');
echo <<<H... | /content/code_sandbox/backend/templates/partials/head.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 635 |
```html+php
<?php
$this->layout('minimal', [
'title' => __('Log In'),
'page_class' => 'login-content'
]);
?>
<div class="public-page">
<div class="card p-2">
<div class="card-body">
<h2 class="card-title"><?=__('Enter Two-Factor Code') ?></h2>
<p class="text-left"><?=__('You... | /content/code_sandbox/backend/templates/frontend/account/two_factor.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 276 |
```html+php
<?php
$this->layout(
'minimal',
[
'title' => __('Forgot Password'),
'page_class' => 'login-content',
]
);
?>
<div class="public-page">
<div class="card">
<div class="card-body">
<div class="row mb-4">
<div class="col-sm">
... | /content/code_sandbox/backend/templates/frontend/account/forgot_disabled.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 223 |
```html+php
<?php
$this->layout(
'minimal',
[
'title' => __('Forgot Password'),
'page_class' => 'login-content',
]
);
?>
<div class="public-page">
<div class="card">
<div class="card-body">
<h2 class="card-title mb-4 text-center"><?=__('Forgot Password')?></h2>
... | /content/code_sandbox/backend/templates/frontend/account/forgot.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 275 |
```html+php
<?php
/**
* @var \App\Customization $customization
* @var \App\Entity\Station $station
* @var App\View\GlobalSections $sections
*/
$sections->append(
'station_head',
'<style>' . $customization->getStationCustomPublicCss($station) . '</style>'
);
$sections->append(
'station_bodyjs',
'<s... | /content/code_sandbox/backend/templates/frontend/public/partials/station-custom.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 105 |
```html+php
<?php
/**
* @var Exception $exception
* @var App\Environment $environment
*/
$this->layout('minimal', [
'title' => 'Error',
'page_class' => 'error-content',
]);
$filePath = Symfony\Component\Filesystem\Path::makeRelative(
$exception->getFile(),
$environment->getBackendDirectory()
);
?>
... | /content/code_sandbox/backend/templates/system/error_general.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 179 |
```html+php
<?php
/**
* @var App\Entity\Station $station
* @var App\Customization $customization
* @var App\View\GlobalSections $sections
* @var App\Http\RouterInterface $router
* @var array $props
* @var string $nowPlayingArtUri
*/
$this->layout(
'minimal',
[
'page_class' => 'page-station-publi... | /content/code_sandbox/backend/templates/frontend/public/index.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 629 |
```html+php
<?php
/** @var \Slim\Exception\HttpException $exception */
$this->layout('minimal', [
'title' => $exception->getTitle(),
'page_class' => 'error-content',
]);
?>
<div class="public-page">
<div class="card p-3">
<div class="card-body">
<h2 class="display-4">Error</h2>
... | /content/code_sandbox/backend/templates/system/error_http.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 138 |
```html+php
<?php
/**
* @var App\Http\RouterInterface $router
* @var App\Environment $environment
* @var string $token
*/
?><?= __('Account Recovery') ?>
<?= sprintf(__('An account recovery link has been requested for your account on "%s".'), $environment->getAppName()) ?>
<?= __('Click the link below to log in ... | /content/code_sandbox/backend/templates/mail/forgot.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 113 |
```html+php
<?php
/**
* @var string $component
* @var ?string $id
* @var string $layout
* @var ?string $title
* @var array $layoutParams
* @var array $props
*/
$this->layout(
$layout ?? 'panel',
array_merge(
[
'title' => $title ?? $id,
'manual' => true,
],
... | /content/code_sandbox/backend/templates/system/vue_page.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 138 |
```html+php
<svg xmlns="path_to_url" height="48" viewBox="0 -960 960 960" width="48"
class="icon <?= $class ?? null ?>"
fill="currentColor"
focusable="false"
aria-hidden="true">
<path d="M278.475-225Q171.5-225 97.25-299.426 23-373.853 23-480.176 23-586.5 97.375-660.75 171.75-735 278-735q89 0 151... | /content/code_sandbox/backend/templates/icons/password.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 237 |
```html+php
<svg xmlns="path_to_url" height="48" viewBox="0 -960 960 960" width="48"
class="icon <?= $class ?? null ?>"
fill="currentColor"
focusable="false"
aria-hidden="true">
<path d="M137-145q-28.725 0-50.862-22.137Q64-189.275 64-218v-524q0-28.725 22.138-50.862Q108.275-815 137-815h686q28.725... | /content/code_sandbox/backend/templates/icons/mail.phtml | html+php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 200 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => '# Episoder',
'# Songs' => '# Sanger',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } er n live p %{ stat... | /content/code_sandbox/translations/nb_NO.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 43,005 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=4; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 3;',
'messages' =>
array (
'' =>
array (
'A name for this stream that will be used internally in code. Should only contain letters, numbers, and underscores (i.e. "stream_lo... | /content/code_sandbox/translations/cs_CZ.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 34,672 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=4; plural=((n%10==1 && n%100!=11) ? 0 : ((n%10 >= 2 && n%10 <=4 && (n%100 < 12 || n%100 > 14)) ? 1 : ((n%10 == 0 || (n%10 >= 5 && n%10 <=9)) || (n%100 >= 11 && n%100 <= 14)) ? 2 : 3));',
'messages' =>
array (
'' =>
array (
... | /content/code_sandbox/translations/ru_RU.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 28,628 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=1; plural=0;',
'messages' =>
array (
'' =>
array (
'Add API Key' => ' API',
'Add Custom Field' => '',
'Add Mount Point' => ' Mount Point',
'Add Remote Relay' => '',
'Add SFTP User' => ' SFTP',
... | /content/code_sandbox/translations/ja_JP.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 3,781 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => '# Episodios',
'# Songs' => '# Canciones',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } est ahora en vi... | /content/code_sandbox/translations/es_ES.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 43,782 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=1; plural=0;',
'messages' =>
array (
'' =>
array (
'# Episodes' => ' ',
'# Songs' => ' ',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } %{ station } ! : %{ url }',
'%{ ho... | /content/code_sandbox/translations/ko_KR.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 28,306 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=1; plural=0;',
'messages' =>
array (
'' =>
array (
'# Episodes' => '# ',
'# Songs' => '# ',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } %{ station } %{ url }',
'%{ hour... | /content/code_sandbox/translations/zh_CN.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 24,522 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => '# Avsnitt',
'# Songs' => '# Ltar',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } r nu live p %{ station... | /content/code_sandbox/translations/sv_SE.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 33,034 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => '# Episdios',
'# Songs' => '# Msicas',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } est agora em direto... | /content/code_sandbox/translations/pt_PT.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 12,432 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => 'Blmler',
'# Songs' => '# arklar',
'%{ hours } hours' => '%{ hours } saat',
'%{ minutes } minutes' => '%{ minutes } dakika',
... | /content/code_sandbox/translations/tr_TR.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 35,466 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => 'Episodi',
'# Songs' => 'Brani',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } in live su %{ station }!... | /content/code_sandbox/translations/it_IT.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 15,871 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n != 1);',
'messages' =>
array (
'' =>
array (
'Access Key ID' => 'Hozzfrsi kulcs',
'Access Token Secret' => 'Hozzfrsi titkos kulcs*',
'Account Details' => 'Felhasznlk',
'Account is Active... | /content/code_sandbox/translations/hu_HU.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 3,485 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=2; plural=(n > 1);',
'messages' =>
array (
'' =>
array (
'# Episodes' => '# pisodes',
'# Songs' => '# Titres',
'%{ dj } is now live on %{ station }! Tune in now: %{ url }' => '%{ dj } est maintenant en dir... | /content/code_sandbox/translations/fr_FR.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 44,729 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);',
'messages' =>
array (
'' =>
array (
'# Episodes' ... | /content/code_sandbox/translations/pl_PL.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 50,013 |
```php
<?php return array (
'domain' => 'default',
'plural-forms' => 'nplurals=4; plural=((n%10==1 && n%100!=11) ? 0 : ((n%10 >= 2 && n%10 <=4 && (n%100 < 12 || n%100 > 14)) ? 1 : ((n%10 == 0 || (n%10 >= 5 && n%10 <=9)) || (n%100 >= 11 && n%100 <= 14)) ? 2 : 3));',
'messages' =>
array (
'' =>
array (
... | /content/code_sandbox/translations/uk_UA.UTF-8/LC_MESSAGES/default.php | php | 2016-04-30T21:41:23 | 2024-08-16T18:27:26 | AzuraCast | AzuraCast/AzuraCast | 2,978 | 27,445 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.