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 |
|---|---|---|---|---|---|---|---|---|
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/test/HostLoaderTest.php | test/HostLoaderTest.php | <?php declare(strict_types=1);
namespace Amp\Dns\Test;
use Amp\Dns\DnsRecord;
use Amp\Dns\HostLoader;
use Amp\PHPUnit\AsyncTestCase;
class HostLoaderTest extends AsyncTestCase
{
public function testIgnoresCommentsAndParsesBasicEntry(): void
{
$loader = new HostLoader(__DIR__ . "/data/hosts");
... | php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/test/UdpSocketTest.php | test/UdpSocketTest.php | <?php declare(strict_types=1);
namespace Amp\Dns\Test;
use Amp\Dns;
use LibDNS\Records\QuestionFactory;
use Revolt\EventLoop;
class UdpSocketTest extends SocketTest
{
public function testInvalidUri(): void
{
$this->expectException(Dns\DnsException::class);
Dns\Internal\UdpSocket::connect("udp... | php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/test/Rfc1035StubResolverTest.php | test/Rfc1035StubResolverTest.php | <?php declare(strict_types=1);
namespace Amp\Dns\Test;
use Amp\Cancellation;
use Amp\Dns\DnsConfig;
use Amp\Dns\DnsException;
use Amp\Dns\DnsRecord;
use Amp\Dns\InvalidNameException;
use Amp\Dns\MissingDnsRecordException;
use Amp\Dns\Rfc1035StubDnsResolver;
use Amp\Dns\StaticDnsConfigLoader;
use Amp\PHPUnit\AsyncTest... | php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/test/DnsCacheTrainer.php | test/DnsCacheTrainer.php | <?php declare(strict_types=1);
namespace Amp\Dns\Test;
use Amp\Cache\Cache;
use Amp\Dns\DnsRecord;
use PHPUnit\Framework\TestCase;
final class DnsCacheTrainer
{
private Cache $mock;
private array $operations = [];
public function __construct(TestCase $testCase)
{
/** @noinspection PhpFieldA... | php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/test/RecordTest.php | test/RecordTest.php | <?php declare(strict_types=1);
namespace Amp\Dns\Test;
use Amp\Dns\DnsRecord;
use Amp\PHPUnit\AsyncTestCase;
class RecordTest extends AsyncTestCase
{
public function testGetName(): void
{
self::assertSame("A", DnsRecord::getName(DnsRecord::A));
}
public function testGetNameOnInvalidRecordTyp... | php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/test/IntegrationTest.php | test/IntegrationTest.php | <?php declare(strict_types=1);
namespace Amp\Dns\Test;
use Amp\Cache\NullCache;
use Amp\Dns;
use Amp\Dns\DnsConfigException;
use Amp\Dns\DnsException;
use Amp\Dns\DnsRecord;
use Amp\Dns\UnixDnsConfigLoader;
use Amp\Dns\WindowsDnsConfigLoader;
use Amp\PHPUnit\AsyncTestCase;
use PHPUnit\Framework\MockObject\MockObject;... | php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/examples/custom-config.php | examples/custom-config.php | <?php declare(strict_types=1);
require __DIR__ . "/_bootstrap.php";
use Amp\Dns;
$customConfigLoader = new class implements Dns\DnsConfigLoader {
public function loadConfig(): Dns\DnsConfig
{
$hosts = (new Dns\HostLoader)->loadHosts();
return new Dns\DnsConfig([
"8.8.8.8:53",
... | php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/examples/ptr-record.php | examples/ptr-record.php | <?php declare(strict_types=1);
require __DIR__ . "/_bootstrap.php";
use Amp\Dns;
$ip = $argv[1] ?? "8.8.8.8";
try {
pretty_print_records($ip, Dns\query($ip, Dns\DnsRecord::PTR));
} catch (Dns\DnsException $e) {
pretty_print_error($ip, $e);
}
| php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/examples/_bootstrap.php | examples/_bootstrap.php | <?php declare(strict_types=1);
use Amp\Dns\DnsRecord;
require __DIR__ . "/../vendor/autoload.php";
function pretty_print_records(string $queryName, array $records)
{
print "---------- " . $queryName . " " . str_repeat("-", 55 - strlen($queryName)) . " TTL --\r\n";
$format = "%-10s %-56s %-5d\r\n";
fore... | php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
amphp/dns | https://github.com/amphp/dns/blob/78eb3db5fc69bf2fc0cb503c4fcba667bc223c71/examples/benchmark.php | examples/benchmark.php | <?php declare(strict_types=1);
require __DIR__ . "/_bootstrap.php";
use Amp\Dns;
print "Downloading top 500 domains..." . PHP_EOL;
$domains = file_get_contents("https://moz.com/top-500/download?table=top500Domains");
$domains = array_map(function ($line) {
return trim(explode(",", $line)[1], '"/');
}, array_fil... | php | MIT | 78eb3db5fc69bf2fc0cb503c4fcba667bc223c71 | 2026-01-05T02:59:39.746525Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/.php-cs-fixer.dist.php | .php-cs-fixer.dist.php | <?php
return (new PhpCsFixer\Config())
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'array_syntax' => array('syntax' => 'short'),
'no_unreachable_default_argument_value' => false,
'braces' => array('allow_single_line_closure' => true),
'heredoc_to_nowdo... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/SlimdumpCommand.php | src/Webfactory/Slimdump/SlimdumpCommand.php | <?php
namespace Webfactory\Slimdump;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver\PDO\MySQL\Driver as PDOMySqlDriver;
use Doctrine\DBAL\DriverManager;
use RuntimeException;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\I... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/DumpTask.php | src/Webfactory/Slimdump/DumpTask.php | <?php
namespace Webfactory\Slimdump;
use Doctrine\DBAL\Connection;
use Symfony\Component\Console\Output\OutputInterface;
use Webfactory\Slimdump\Config\Config;
use Webfactory\Slimdump\Database\Dumper;
use Webfactory\Slimdump\Database\OutputFormatDriverInterface;
final class DumpTask
{
/**
* @var Connection
... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/SlimdumpApplication.php | src/Webfactory/Slimdump/SlimdumpApplication.php | <?php
namespace Webfactory\Slimdump;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\InputDefinition;
use Symfony\Component\Console\Input\InputInterface;
class SlimdumpApplication extends Application
{
/**
* Gets the name of the command based on input.
*
* @param Inp... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Doctrine/DummyType.php | src/Webfactory/Slimdump/Doctrine/DummyType.php | <?php
namespace Webfactory\Slimdump\Doctrine;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Types\Type;
use LogicException;
class DummyType extends Type
{
public const NAME = 'dummy_type';
public function convertToPHPValue($value, AbstractPlatform $platform)
{
throw new LogicEx... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Doctrine/DummyTypeRegistrationEventSubscriber.php | src/Webfactory/Slimdump/Doctrine/DummyTypeRegistrationEventSubscriber.php | <?php
namespace Webfactory\Slimdump\Doctrine;
use Doctrine\Common\EventSubscriber;
use Doctrine\DBAL\Event\SchemaColumnDefinitionEventArgs;
use Doctrine\DBAL\Events;
use Doctrine\DBAL\Schema\AbstractSchemaManager;
use Doctrine\DBAL\Types\Type;
class DummyTypeRegistrationEventSubscriber implements EventSubscriber
{
... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Database/Dumper.php | src/Webfactory/Slimdump/Database/Dumper.php | <?php
namespace Webfactory\Slimdump\Database;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema;
use Doctrine\DBAL\Schema\AbstractAsset;
use Doctrine\DBAL\Types\BinaryType;
use Doctrine\DBAL\Types\BlobType;
use InvalidArgumentException;
use PDO;
use RuntimeException;
use Symfony\Component\Console\Helper\Progress... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Database/MysqlOutputFormatDriver.php | src/Webfactory/Slimdump/Database/MysqlOutputFormatDriver.php | <?php
namespace Webfactory\Slimdump\Database;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema;
use Symfony\Component\Console\Output\OutputInterface;
use Webfactory\Slimdump\Config\Table;
class MysqlOutputFormatDriver implements OutputFormatDriverInterface
{
/** @var OutputInterface */
private $output;... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Database/OutputFormatDriverInterface.php | src/Webfactory/Slimdump/Database/OutputFormatDriverInterface.php | <?php
namespace Webfactory\Slimdump\Database;
use Doctrine\DBAL\Schema;
use Webfactory\Slimdump\Config\Table;
interface OutputFormatDriverInterface
{
/**
* Called once at the beginning of the entire slimdump run.
*/
public function beginDump(): void;
/**
* Called once at the very end of t... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Database/CsvOutputFormatDriver.php | src/Webfactory/Slimdump/Database/CsvOutputFormatDriver.php | <?php
namespace Webfactory\Slimdump\Database;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Schema;
use InvalidArgumentException;
use Webfactory\Slimdump\Config\Table;
class CsvOutputFormatDriver implements OutputFormatDriverInterface
{
/**
* @var Connection
*/
private $connection;
/**
... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Config/Table.php | src/Webfactory/Slimdump/Config/Table.php | <?php
namespace Webfactory\Slimdump\Config;
use Doctrine\DBAL\Connection;
use RuntimeException;
use SimpleXMLElement;
use Webfactory\Slimdump\Exception\InvalidDumpTypeException;
/**
* This is a class representation of a configured table.
* This is _not_ a representation of a database table.
*/
class Table
{
p... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Config/Config.php | src/Webfactory/Slimdump/Config/Config.php | <?php
namespace Webfactory\Slimdump\Config;
use SimpleXMLElement;
/**
* This is a class representation of the configuration file(s) given.
*/
class Config
{
public const NONE = 1;
public const SCHEMA = 2;
public const NOBLOB = 3;
public const MASKED = 4;
public const FULL = 5;
public const ... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Config/ConfigBuilder.php | src/Webfactory/Slimdump/Config/ConfigBuilder.php | <?php
namespace Webfactory\Slimdump\Config;
use libXMLError;
use Webfactory\Slimdump\Exception\InvalidXmlException;
class ConfigBuilder
{
/**
* @param string $file
*
* @return Config
*/
public static function createFromFile($file)
{
$xml = file_get_contents($file);
re... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Config/FakerReplacer.php | src/Webfactory/Slimdump/Config/FakerReplacer.php | <?php
namespace Webfactory\Slimdump\Config;
use Faker;
use Faker\Generator;
use InvalidArgumentException;
use Webfactory\Slimdump\Exception\InvalidReplacementOptionException;
/**
* This class handles column configurations which have a "replacement" option.
*
* @see https://github.com/webfactory/slimdump#configura... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Config/Column.php | src/Webfactory/Slimdump/Config/Column.php | <?php
namespace Webfactory\Slimdump\Config;
use SimpleXMLElement;
use Webfactory\Slimdump\Exception\InvalidDumpTypeException;
/**
* This is a class representation of a configured column.
* This is _not_ a representation of a database column.
*/
class Column
{
private $config;
private $fakerReplacer;
... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Exception/InvalidXmlException.php | src/Webfactory/Slimdump/Exception/InvalidXmlException.php | <?php
namespace Webfactory\Slimdump\Exception;
use Exception;
class InvalidXmlException extends Exception
{
}
| php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Exception/InvalidReplacementOptionException.php | src/Webfactory/Slimdump/Exception/InvalidReplacementOptionException.php | <?php
namespace Webfactory\Slimdump\Exception;
use Exception;
/**
* Exception for invalid values of "replacement" option.
*/
class InvalidReplacementOptionException extends Exception
{
}
| php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/src/Webfactory/Slimdump/Exception/InvalidDumpTypeException.php | src/Webfactory/Slimdump/Exception/InvalidDumpTypeException.php | <?php
namespace Webfactory\Slimdump\Exception;
use Exception;
class InvalidDumpTypeException extends Exception
{
}
| php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/test/Webfactory/Slimdump/Database/CsvOutputFormatDriverTest.php | test/Webfactory/Slimdump/Database/CsvOutputFormatDriverTest.php | <?php
namespace Webfactory\Slimdump\Database;
use Doctrine\DBAL\Connection;
use Generator;
use PHPUnit\Framework\Attributes\DataProvider;
use PHPUnit\Framework\Attributes\Test;
use PHPUnit\Framework\TestCase;
use SimpleXMLElement;
use Webfactory\Slimdump\Config\Table;
final class CsvOutputFormatDriverTest extends Te... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/test/Webfactory/Slimdump/Config/ColumnTest.php | test/Webfactory/Slimdump/Config/ColumnTest.php | <?php
namespace Webfactory\Slimdump\Config;
use PHPUnit\Framework\TestCase;
use SimpleXMLElement;
use Webfactory\Slimdump\Exception\InvalidDumpTypeException;
class ColumnTest extends TestCase
{
public function testProcessRowValueWithNormalConfiguration()
{
$xml = '<?xml version="1.0" ?>
... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/test/Webfactory/Slimdump/Config/ConfigBuilderTest.php | test/Webfactory/Slimdump/Config/ConfigBuilderTest.php | <?php
namespace Webfactory\Slimdump\Config;
use PHPUnit\Framework\TestCase;
use Webfactory\Slimdump\Exception\InvalidXmlException;
class ConfigBuilderTest extends TestCase
{
public function testInvalidXML()
{
$this->expectException(InvalidXmlException::class);
$xml = '<?xml version="1.0"
... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/test/Webfactory/Slimdump/Config/TableTest.php | test/Webfactory/Slimdump/Config/TableTest.php | <?php
namespace Webfactory\Slimdump\Config;
use PHPUnit\Framework\TestCase;
use SimpleXMLElement;
use Webfactory\Slimdump\Exception\InvalidDumpTypeException;
class TableTest extends TestCase
{
public function testGetSelectExpressionWithFullTableConfiguration()
{
$xml = '<?xml version="1.0" ?>
... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/test/Webfactory/Slimdump/Config/FakerReplacerTest.php | test/Webfactory/Slimdump/Config/FakerReplacerTest.php | <?php
namespace Webfactory\Slimdump\Config;
use PHPUnit\Framework\TestCase;
use Webfactory\Slimdump\Exception\InvalidReplacementOptionException;
class FakerReplacerTest extends TestCase
{
/**
* @param string $replacementId
*
* @dataProvider provideValidReplacementIds
*/
public function te... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
webfactory/slimdump | https://github.com/webfactory/slimdump/blob/78dcb2fc60cc020cd4c2cd3884070b89a38c37e7/test/Webfactory/Slimdump/Config/ConfigTest.php | test/Webfactory/Slimdump/Config/ConfigTest.php | <?php
namespace Webfactory\Slimdump\Config;
use PHPUnit\Framework\TestCase;
use SimpleXMLElement;
use Webfactory\Slimdump\Exception\InvalidDumpTypeException;
class ConfigTest extends TestCase
{
public function testFindTableWithWildcardSelector()
{
$xml = '<?xml version="1.0" ?>
<slimd... | php | MIT | 78dcb2fc60cc020cd4c2cd3884070b89a38c37e7 | 2026-01-05T03:00:07.730169Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/CurrencyPair.php | src/CurrencyPair.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger;
use Exchanger\Contract\CurrencyPair as C... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/HistoricalExchangeRateQuery.php | src/HistoricalExchangeRateQuery.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger;
use Exchanger\Contract\CurrencyPair as C... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/ExchangeRate.php | src/ExchangeRate.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger;
use Exchanger\Contract\ExchangeRate as E... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/ExchangeRateQueryBuilder.php | src/ExchangeRateQueryBuilder.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger;
/**
* Helps building exchange queries.
... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/ExchangeRateQuery.php | src/ExchangeRateQuery.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger;
use Exchanger\Contract\CurrencyPair as C... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/StringUtil.php | src/StringUtil.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger;
/**
* Utility class to manipulate strin... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Exchanger.php | src/Exchanger.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger;
use Exchanger\Contract\ExchangeRateProvi... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Contract/CurrencyPair.php | src/Contract/CurrencyPair.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Contract;
/**
* Represents a currency pa... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Contract/HistoricalExchangeRateQuery.php | src/Contract/HistoricalExchangeRateQuery.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Contract;
/**
* Contract for historical ... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Contract/ExchangeRate.php | src/Contract/ExchangeRate.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Contract;
/**
* Represents an exchange r... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Contract/ExchangeRateQuery.php | src/Contract/ExchangeRateQuery.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Contract;
/**
* Contract for exchange ra... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Contract/ExchangeRateService.php | src/Contract/ExchangeRateService.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Contract;
/**
* Contract for exchange ra... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Contract/ExchangeRateProvider.php | src/Contract/ExchangeRateProvider.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Contract;
/**
* Contract for exchange ra... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Exception/NonBreakingInvalidArgumentException.php | src/Exception/NonBreakingInvalidArgumentException.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Exception;
/**
* Generic InvalidArgument... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Exception/UnsupportedExchangeQueryException.php | src/Exception/UnsupportedExchangeQueryException.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Exception;
use Exchanger\Contract\Exchang... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Exception/UnsupportedDateException.php | src/Exception/UnsupportedDateException.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Exception;
use Exchanger\Contract\Exchang... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Exception/UnsupportedCurrencyPairException.php | src/Exception/UnsupportedCurrencyPairException.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Exception;
use Exchanger\Contract\Currenc... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Exception/ChainException.php | src/Exception/ChainException.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Exception;
/**
* Exception thrown by the... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Exception/Exception.php | src/Exception/Exception.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Exception;
/**
* Generic exception throw... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Exception/CacheException.php | src/Exception/CacheException.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Exception;
/**
* Exception thrown in cas... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/CurrencyLayer.php | src/Service/CurrencyLayer.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\CurrencyP... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/Fixer.php | src/Service/Fixer.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\CurrencyP... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/NationalBankOfUkraine.php | src/Service/NationalBankOfUkraine.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/NationalBankOfGeorgia.php | src/Service/NationalBankOfGeorgia.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use DateTime;
use DateTimeInterf... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/NationalBankOfRepublicBelarus.php | src/Service/NationalBankOfRepublicBelarus.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/CentralBankOfRepublicUzbekistan.php | src/Service/CentralBankOfRepublicUzbekistan.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use DateTime;
use DateTimeInterf... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/Registry.php | src/Service/Registry.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
/**
* Holds services.
*
* @au... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/CentralBankOfRepublicTurkey.php | src/Service/CentralBankOfRepublicTurkey.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use DateTimeInterface;
use Excha... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/AbstractApi.php | src/Service/AbstractApi.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\CurrencyP... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/NationalBankOfRomania.php | src/Service/NationalBankOfRomania.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\CurrencyP... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/Cryptonator.php | src/Service/Cryptonator.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/BulgarianNationalBank.php | src/Service/BulgarianNationalBank.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use DateTimeImmutable;
use DateT... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/RussianCentralBank.php | src/Service/RussianCentralBank.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/HttpService.php | src/Service/HttpService.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Http\Client\HttpClient;
use ... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/SupportsHistoricalQueries.php | src/Service/SupportsHistoricalQueries.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/PhpArray.php | src/Service/PhpArray.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/CurrencyConverter.php | src/Service/CurrencyConverter.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use DateTime;
use DateTimeInterf... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/Service.php | src/Service/Service.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/CentralBankOfCzechRepublic.php | src/Service/CentralBankOfCzechRepublic.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use DateTimeImmutable;
use DateT... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/EuropeanCentralBank.php | src/Service/EuropeanCentralBank.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/Chain.php | src/Service/Chain.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/WebserviceX.php | src/Service/WebserviceX.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/FastForex.php | src/Service/FastForex.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/ExchangerateHost.php | src/Service/ExchangerateHost.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\CurrencyP... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/Xignite.php | src/Service/Xignite.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/CurrencyDataFeed.php | src/Service/CurrencyDataFeed.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/ExchangeRatesApi.php | src/Service/ExchangeRatesApi.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\CurrencyP... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/FixerApiLayer.php | src/Service/FixerApiLayer.php | <?php
declare(strict_types=1);
namespace Exchanger\Service;
use Exchanger\Contract\CurrencyPair;
use Exchanger\Contract\ExchangeRate;
use Exchanger\Contract\ExchangeRateQuery;
use Exchanger\Contract\HistoricalExchangeRateQuery;
use Exchanger\Exception\UnsupportedCurrencyPairException;
use Exchanger\StringUtil;
use E... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/CoinLayer.php | src/Service/CoinLayer.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\CurrencyP... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/Forge.php | src/Service/Forge.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/XchangeApi.php | src/Service/XchangeApi.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\CurrencyP... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/OpenExchangeRates.php | src/Service/OpenExchangeRates.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service;
use Exchanger\Contract\ExchangeR... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/ApiLayer/Fixer.php | src/Service/ApiLayer/Fixer.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service\ApiLayer;
use Exchanger\Contract\... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/ApiLayer/ExchangeRatesData.php | src/Service/ApiLayer/ExchangeRatesData.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service\ApiLayer;
use Exchanger\Contract\... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/ApiLayer/CurrencyData.php | src/Service/ApiLayer/CurrencyData.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Service\ApiLayer;
use Exchanger\Contract\... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/src/Service/resources/xchangeapi-codes.php | src/Service/resources/xchangeapi-codes.php | <?php
return [
'AED',
'AUD',
'BGN',
'BIF',
'BRL',
'CAD',
'CHF',
'CNY',
'CZK',
'DKK',
'EGP',
'EUR',
'GBP',
'GHS',
'HKD',
'HUF',
'IDR',
'ILS',
'INR',
'JPY',
'KES',
'KZT',
'MXN',
'MYR',
'NOK',
'NZD',
'PHP',
'PL... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/ExchangeRateQueryTest.php | tests/Tests/ExchangeRateQueryTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests;
use Exchanger\ExchangeRateQuery;
u... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/HistoricalExchangeRateQueryTest.php | tests/Tests/HistoricalExchangeRateQueryTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests;
use Exchanger\CurrencyPair;
use Ex... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/ExchangeRateQueryBuilderTest.php | tests/Tests/ExchangeRateQueryBuilderTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests;
use Exchanger\ExchangeRateQueryBui... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/CurrencyPairTest.php | tests/Tests/CurrencyPairTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests;
use Exchanger\CurrencyPair;
use PH... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/StringUtilTest.php | tests/Tests/StringUtilTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests;
use Exchanger\StringUtil;
use PHPU... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/ExchangerTest.php | tests/Tests/ExchangerTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests;
use Exchanger\ExchangeRate;
use Ex... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/Integration/ExchangerTest.php | tests/Tests/Integration/ExchangerTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests\Integration;
use Exchanger\Currency... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/Exception/ChainExceptionTest.php | tests/Tests/Exception/ChainExceptionTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests\Exception;
use Exchanger\Exception\... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/Service/ChainTest.php | tests/Tests/Service/ChainTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests\Service;
use Exchanger\Contract\Exc... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
florianv/exchanger | https://github.com/florianv/exchanger/blob/3ad15f6607c66157274ea448188c8d9adcbd1048/tests/Tests/Service/CurrencyConverterTest.php | tests/Tests/Service/CurrencyConverterTest.php | <?php
declare(strict_types=1);
/*
* This file is part of Exchanger.
*
* (c) Florian Voutzinos <florian@voutzinos.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Exchanger\Tests\Service;
use Exchanger\CurrencyPair... | php | MIT | 3ad15f6607c66157274ea448188c8d9adcbd1048 | 2026-01-05T03:00:17.311439Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.