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 |
|---|---|---|---|---|---|---|---|---|
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/src/poggit/libasynql/mysqli/MysqlSslCredentials.php | libasynql/src/poggit/libasynql/mysqli/MysqlSslCredentials.php | <?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/src/poggit/libasynql/mysqli/MysqlColumnInfo.php | libasynql/src/poggit/libasynql/mysqli/MysqlColumnInfo.php | <?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/src/poggit/libasynql/mysqli/MysqlFlags.php | libasynql/src/poggit/libasynql/mysqli/MysqlFlags.php | <?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/src/poggit/libasynql/sqlite3/Sqlite3Thread.php | libasynql/src/poggit/libasynql/sqlite3/Sqlite3Thread.php | <?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/src/poggit/libasynql/result/SqlColumnInfo.php | libasynql/src/poggit/libasynql/result/SqlColumnInfo.php | <?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/src/poggit/libasynql/result/SqlChangeResult.php | libasynql/src/poggit/libasynql/result/SqlChangeResult.php | <?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/src/poggit/libasynql/result/SqlSelectResult.php | libasynql/src/poggit/libasynql/result/SqlSelectResult.php | <?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/src/poggit/libasynql/result/SqlInsertResult.php | libasynql/src/poggit/libasynql/result/SqlInsertResult.php | <?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/cli/fx.php | libasynql/cli/fx.php | #!/usr/bin/env php
<?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless r... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
poggit/libasynql | https://github.com/poggit/libasynql/blob/3e5a905e452a509547bebeabe70a3c2756ba79b6/libasynql/cli/def.php | libasynql/cli/def.php | <?php
/*
* libasynql
*
* Copyright (C) 2018 SOFe
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicab... | php | Apache-2.0 | 3e5a905e452a509547bebeabe70a3c2756ba79b6 | 2026-01-05T04:36:15.429684Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Signature.php | src/QueryAuth/Signature.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth;
use QueryAuth\Credentia... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/SignatureInterface.php | src/QueryAuth/SignatureInterface.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth;
use QueryAuth\Credentia... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/KeyGenerator.php | src/QueryAuth/KeyGenerator.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth;
use RandomLib\Generator... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Factory.php | src/QueryAuth/Factory.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth;
use QueryAuth\Request\R... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/RequestSigner.php | src/QueryAuth/Request/RequestSigner.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request;
use QueryAuth\C... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/RequestInterface.php | src/QueryAuth/Request/RequestInterface.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request;
/**
* Query Au... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/OutgoingImmutableRequestInterface.php | src/QueryAuth/Request/OutgoingImmutableRequestInterface.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request;
/**
* Interfac... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/IncomingRequestInterface.php | src/QueryAuth/Request/IncomingRequestInterface.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request;
/**
* Interfac... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/RequestValidator.php | src/QueryAuth/Request/RequestValidator.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request;
use QueryAuth\C... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/OutgoingRequestInterface.php | src/QueryAuth/Request/OutgoingRequestInterface.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request;
/**
* Interfac... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/Adapter/Outgoing/GuzzleRequestAdapter.php | src/QueryAuth/Request/Adapter/Outgoing/GuzzleRequestAdapter.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request\Adapter\Outgoing;... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/Adapter/Outgoing/GuzzleHttpRequestAdapter.php | src/QueryAuth/Request/Adapter/Outgoing/GuzzleHttpRequestAdapter.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request\Adapter\Outgoing;... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/Adapter/Outgoing/GuzzleV6RequestAdapter.php | src/QueryAuth/Request/Adapter/Outgoing/GuzzleV6RequestAdapter.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request\Adapter\Outgoing;... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/Adapter/Incoming/Yii2RequestAdapter.php | src/QueryAuth/Request/Adapter/Incoming/Yii2RequestAdapter.php | <?php
namespace QueryAuth\Request\Adapter\Incoming;
use QueryAuth\Request\IncomingRequestInterface;
use QueryAuth\Request\RequestInterface;
use \yii\web\Request;
/**
* Incoming request adapter for Yii2
*/
class Yii2RequestAdapter implements IncomingRequestInterface, RequestInterface
{
/**
* @var Request r... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Request/Adapter/Incoming/SlimRequestAdapter.php | src/QueryAuth/Request/Adapter/Incoming/SlimRequestAdapter.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Request\Adapter\Incoming;... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Storage/SignatureStorage.php | src/QueryAuth/Storage/SignatureStorage.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Storage;
/**
* Interfac... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Exception/DriftExceededException.php | src/QueryAuth/Exception/DriftExceededException.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Exception;
/**
* Thrown... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Exception/TimestampMissingException.php | src/QueryAuth/Exception/TimestampMissingException.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Exception;
/**
* Except... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Exception/QueryAuthException.php | src/QueryAuth/Exception/QueryAuthException.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Exception;
/**
* Interf... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Exception/SignatureMissingException.php | src/QueryAuth/Exception/SignatureMissingException.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Exception;
/**
* Except... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Credentials/Credentials.php | src/QueryAuth/Credentials/Credentials.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Credentials;
/**
* Stor... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/src/QueryAuth/Credentials/CredentialsInterface.php | src/QueryAuth/Credentials/CredentialsInterface.php | <?php
/**
* Query Auth: Signature generation and validation for REST API query authentication
*
* @copyright 2013-2014 Jeremy Kendall
* @license https://github.com/jeremykendall/query-auth/blob/master/LICENSE MIT
* @link https://github.com/jeremykendall/query-auth
*/
namespace QueryAuth\Credentials;
/**
* Stor... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/bootstrap.php | tests/bootstrap.php | <?php
error_reporting(-1);
ini_set('display_errors', 1);
ini_set('display_startup_errors', 1);
date_default_timezone_set('UTC');
$autoloader = realpath(__DIR__ . '/../vendor/autoload.php');
if (!file_exists($autoloader)) {
$message = 'Composer generated autoloader does not exist. '
. " Please run 'composer... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/FactoryTest.php | tests/QueryAuth/FactoryTest.php | <?php
namespace QueryAuth;
use QueryAuth\Factory;
use RandomLib\Factory as RandomFactory;
class FactoryTest extends \PHPUnit_Framework_TestCase
{
private $factory;
protected function setUp()
{
parent::setUp();
$this->factory = new Factory();
}
protected function tearDown()
{... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/SignatureTest.php | tests/QueryAuth/SignatureTest.php | <?php
namespace QueryAuth;
class SignatureTest extends \PHPUnit_Framework_TestCase
{
/**
* @var Signature
*/
private $signature;
/**
* @var string
*/
private $secret;
/**
* @var string
*/
private $host;
/**
* @var string
*/
private $path;
... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/KeyGeneratorTest.php | tests/QueryAuth/KeyGeneratorTest.php | <?php
namespace QueryAuth;
class KeyGeneratorTest extends \PHPUnit_Framework_TestCase
{
/**
* @var KeyGenerator
*/
private $keyGenerator;
protected function setUp()
{
$factory = new Factory();
$this->keyGenerator = $factory->newKeyGenerator();
}
public function test... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/Request/RequestValidatorTest.php | tests/QueryAuth/Request/RequestValidatorTest.php | <?php
namespace QueryAuth\Request;
use QueryAuth\Credentials\Credentials;
use QueryAuth\Signature;
class RequestValidatorTest extends \PHPUnit_Framework_TestCase
{
/**
* @var RequestValidator
*/
private $requestValidator;
/**
* @var CredentialsInterface
*/
private $credentials;
... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/Request/RequestSignerTest.php | tests/QueryAuth/Request/RequestSignerTest.php | <?php
namespace QueryAuth\Request;
use Mockery as m;
use QueryAuth\Credentials\Credentials;
use QueryAuth\KeyGenerator;
use QueryAuth\Signature;
use RandomLib\Factory as RandomFactory;
class RequestSignerTest extends \PHPUnit_Framework_TestCase
{
protected function setUp()
{
$key = md5(time());
... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/Request/Adapter/Outgoing/GuzzleRequestAdapterTest.php | tests/QueryAuth/Request/Adapter/Outgoing/GuzzleRequestAdapterTest.php | <?php
namespace QueryAuth\Request\Adapter\Outgoing;
use Guzzle\Http\Message\RequestInterface as GuzzleRequestInterface;
class GuzzleRequestAdapterTest extends \PHPUnit_Framework_TestCase
{
protected $adapter;
protected $adaptee;
protected $queryString;
protected function setUp()
{
parent... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/Request/Adapter/Outgoing/GuzzleHttpRequestAdapterTest.php | tests/QueryAuth/Request/Adapter/Outgoing/GuzzleHttpRequestAdapterTest.php | <?php
namespace QueryAuth\Request\Adapter\Outgoing;
class GuzzleHttpRequestAdapterTest extends \PHPUnit_Framework_TestCase
{
protected $adapter;
protected $adaptee;
protected $query;
protected function setUp()
{
parent::setUp();
$this->adaptee = $this->getMockBuilder('GuzzleHttp\... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/Request/Adapter/Incoming/SlimRequestAdapterTest.php | tests/QueryAuth/Request/Adapter/Incoming/SlimRequestAdapterTest.php | <?php
namespace QueryAuth\Request\Adapter\Incoming;
class SlimRequestAdapterTest extends \PHPUnit_Framework_TestCase
{
protected $adapter;
protected $adaptee;
protected function setUp()
{
parent::setUp();
$this->adaptee = $this->getMockBuilder('Slim\Http\Request')
->disab... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/Exception/QueryAuthExceptionTest.php | tests/QueryAuth/Exception/QueryAuthExceptionTest.php | <?php
namespace QueryAuth\Exception;
class QueryAuthExceptionTest extends \PHPUnit_Framework_TestCase
{
public function testDriftExceededException()
{
$e = new DriftExceededException();
$this->assertInstanceOf('QueryAuth\Exception\DriftExceededException', $e);
$this->assertInstanceOf('... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
jeremykendall/query-auth | https://github.com/jeremykendall/query-auth/blob/90149e07759f7f48ab3b90503919dfe1f153ee13/tests/QueryAuth/Credentials/CredentialsTest.php | tests/QueryAuth/Credentials/CredentialsTest.php | <?php
namespace QueryAuth\Credentials;
class CredentialsTest extends \PHPUnit_Framework_TestCase
{
public function testCredentials()
{
$key = 'not so secret API key';
$secret = 'super secret API secret';
$credentials = new Credentials($key, $secret);
$this->assertInstanceOf(
... | php | MIT | 90149e07759f7f48ab3b90503919dfe1f153ee13 | 2026-01-05T04:36:30.153311Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/src/Dflydev/PlaceholderResolver/AbstractPlaceholderResolver.php | src/Dflydev/PlaceholderResolver/AbstractPlaceholderResolver.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver;
use Dflydev\PlaceholderResolver\Cache\Cach... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/src/Dflydev/PlaceholderResolver/PlaceholderResolverInterface.php | src/Dflydev/PlaceholderResolver/PlaceholderResolverInterface.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver;
interface PlaceholderResolverInterface
{
... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/src/Dflydev/PlaceholderResolver/RegexPlaceholderResolver.php | src/Dflydev/PlaceholderResolver/RegexPlaceholderResolver.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver;
use Dflydev\PlaceholderResolver\DataSource... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/src/Dflydev/PlaceholderResolver/RegexPlaceholderResolverCallback.php | src/Dflydev/PlaceholderResolver/RegexPlaceholderResolverCallback.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver;
use Dflydev\PlaceholderResolver\DataSource... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/src/Dflydev/PlaceholderResolver/DataSource/DataSourceInterface.php | src/Dflydev/PlaceholderResolver/DataSource/DataSourceInterface.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver\DataSource;
interface DataSourceInterface
{... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/src/Dflydev/PlaceholderResolver/DataSource/ArrayDataSource.php | src/Dflydev/PlaceholderResolver/DataSource/ArrayDataSource.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver\DataSource;
/**
* Array Data Source
*
* ... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/src/Dflydev/PlaceholderResolver/Cache/CacheInterface.php | src/Dflydev/PlaceholderResolver/Cache/CacheInterface.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver\Cache;
interface CacheInterface
{
/**
... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/src/Dflydev/PlaceholderResolver/Cache/Cache.php | src/Dflydev/PlaceholderResolver/Cache/Cache.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver\Cache;
class Cache implements CacheInterfac... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/tests/bootstrap.php | tests/bootstrap.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
$loader = require dirname(__DIR__).'/vendor/autoload.php';
| php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/tests/Dflydev/PlaceholderResolver/RegexPlaceholderResolverTest.php | tests/Dflydev/PlaceholderResolver/RegexPlaceholderResolverTest.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver;
class PlaceholderResolverTest extends \PH... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/tests/Dflydev/PlaceholderResolver/RegexPlaceholderResolverCallbackTest.php | tests/Dflydev/PlaceholderResolver/RegexPlaceholderResolverCallbackTest.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver;
class RegexPlaceholderResolverCallbackTes... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/tests/Dflydev/PlaceholderResolver/DataSource/ArrayDataSourceTest.php | tests/Dflydev/PlaceholderResolver/DataSource/ArrayDataSourceTest.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver\DataSource;
/**
* ArrayDataSource Test
*
... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
dflydev/dflydev-placeholder-resolver | https://github.com/dflydev/dflydev-placeholder-resolver/blob/d0161b4be1e15838327b01b21d0149f382d69906/tests/Dflydev/PlaceholderResolver/Cache/CacheTest.php | tests/Dflydev/PlaceholderResolver/Cache/CacheTest.php | <?php
/*
* This file is a part of dflydev/placeholder-resolver.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Dflydev\PlaceholderResolver\Cache;
class CacheTest extends \PHPUnit_Fr... | php | MIT | d0161b4be1e15838327b01b21d0149f382d69906 | 2026-01-05T04:36:38.830016Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/example.php | example.php | <?php
/**
* SPDX-FileCopyrightText: 2015 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
require('vendor/autoload.php');
$host = 'localhost';
$user = 'test';
$workgroup = 'test';
$password = 'test';
$share = 'test';
$auth = new \Icewind\SMB\BasicAuth($user, $workgroup, $password);
$serverFacto... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/example-sso-kerberos.php | example-sso-kerberos.php | <?php
/**
* SPDX-FileCopyrightText: 2023 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
use Icewind\SMB\KerberosTicket;
require('vendor/autoload.php');
if (php_sapi_name() == "cli") {
echo "Note: this example shouldn't be called from cli as it expects apache to setup the keberos ticket\n";
}... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/ITimeZoneProvider.php | src/ITimeZoneProvider.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
interface ITimeZoneProvider {
/**
* Get the timezone of the smb server
*
* @param string $host
* @return string
*/
public function get(string $host): string;... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/AbstractServer.php | src/AbstractServer.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
abstract class AbstractServer implements IServer {
const LOCALE = 'en_US.UTF-8';
/** @var string */
protected $host;
/** @var IAuth */
protected $auth;
/** @var... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Change.php | src/Change.php | <?php
/**
* SPDX-FileCopyrightText: 2016 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB;
class Change {
/** @var int */
private $code;
/** @var string */
private $path;
public function __construct(int $code, string $path) {
$this->code = $code;
$this->path = $pa... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/ISystem.php | src/ISystem.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
/**
* The `ISystem` interface provides a way to access system dependent information
* such as the availability and location of certain binaries.
*/
interface ISystem ... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Options.php | src/Options.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
class Options implements IOptions {
/** @var int */
private $timeout = 20;
/** @var string|null */
private $minProtocol;
/** @var string|null */
private $maxProto... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/BasicAuth.php | src/BasicAuth.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
class BasicAuth implements IAuth {
/** @var string */
private $username;
/** @var string|null */
private $workgroup;
/** @var string */
private $password;
public... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/IFileInfo.php | src/IFileInfo.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB;
interface IFileInfo {
/*
* Mappings of the DOS mode bits, as returned by smbc_getxattr() when the
* attribute name "system.dos_attr.mode" (or "system.dos_attr.*" or
* "system.*... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/IShare.php | src/IShare.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB;
use Icewind\SMB\Exception\AlreadyExistsException;
use Icewind\SMB\Exception\InvalidRequestException;
use Icewind\SMB\Exception\InvalidTypeException;
use Icewind\SMB\Exception\NotFound... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/IAuth.php | src/IAuth.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
interface IAuth {
public function getUsername(): ?string;
public function getWorkgroup(): ?string;
public function getPassword(): ?string;
/**
* Any extra comma... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/IOptions.php | src/IOptions.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
interface IOptions {
const PROTOCOL_NT1 = 'NT1';
const PROTOCOL_SMB2 = 'SMB2';
const PROTOCOL_SMB2_02 = 'SMB2_02';
const PROTOCOL_SMB2_22 = 'SMB2_22';
const PROTOCO... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/TimeZoneProvider.php | src/TimeZoneProvider.php | <?php
/**
* SPDX-FileCopyrightText: 2015 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB;
class TimeZoneProvider implements ITimeZoneProvider {
/**
* @var string[]
*/
private $timeZones = [];
/**
* @var ISystem
*/
private $system;
/**
* @param ISystem $syst... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/System.php | src/System.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB;
use Icewind\SMB\Exception\Exception;
class System implements ISystem {
/** @var (string|null)[] */
private $paths = [];
/**
* Get the path to a file descriptor of the current p... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/AnonymousAuth.php | src/AnonymousAuth.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
use Icewind\SMB\Exception\Exception;
class AnonymousAuth implements IAuth {
public function getUsername(): ?string {
return null;
}
public function getWorkgroup()... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/StringBuffer.php | src/StringBuffer.php | <?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2021 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
class StringBuffer {
/** @var string */
private $buffer = "";
/** @var int */
private $pos = 0;
public function clear(): void {
$this->... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/IServer.php | src/IServer.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
interface IServer {
public function getAuth(): IAuth;
public function getHost(): string;
/**
* @return \Icewind\SMB\IShare[]
*
* @throws \Icewind\SMB\Exceptio... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/KerberosTicket.php | src/KerberosTicket.php | <?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
use Icewind\SMB\Exception\InvalidTicket;
use KRB5CCache;
class KerberosTicket {
/** @var KRB5CCache */
private $krb5;
/** @var string */
p... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/KerberosAuth.php | src/KerberosAuth.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
use Icewind\SMB\Exception\Exception;
/**
* Use existing kerberos ticket to authenticate
*/
class KerberosAuth implements IAuth {
/** @var ?KerberosTicket */
protect... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/INotifyHandler.php | src/INotifyHandler.php | <?php
/**
* SPDX-FileCopyrightText: 2016 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB;
interface INotifyHandler {
// https://msdn.microsoft.com/en-us/library/dn392331.aspx
const NOTIFY_ADDED = 1;
const NOTIFY_REMOVED = 2;
const NOTIFY_MODIFIED = 3;
const NOTIFY_REN... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/AbstractShare.php | src/AbstractShare.php | <?php
/**
* SPDX-FileCopyrightText: 2015 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB;
use Icewind\SMB\Exception\InvalidPathException;
abstract class AbstractShare implements IShare {
/** @var string[] */
private $forbiddenCharacters;
public function __construct() ... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/ACL.php | src/ACL.php | <?php declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2020 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
class ACL {
const TYPE_ALLOW = 0;
const TYPE_DENY = 1;
const MASK_READ = 0x0001;
const MASK_WRITE = 0x0002;
const MASK_EXECUTE = 0x00020;
... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/ServerFactory.php | src/ServerFactory.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
use Icewind\SMB\Exception\DependencyException;
use Icewind\SMB\Native\NativeServer;
use Icewind\SMB\Wrapped\Server;
class ServerFactory {
const BACKENDS = [
NativeSe... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/KerberosApacheAuth.php | src/KerberosApacheAuth.php | <?php
/**
* SPDX-FileCopyrightText: 2018 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB;
use Icewind\SMB\Exception\DependencyException;
use Icewind\SMB\Exception\Exception;
use Icewind\SMB\Exception\InvalidTicket;
/**
* Use existing kerberos ticket to auth... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/OutOfSpaceException.php | src/Exception/OutOfSpaceException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class OutOfSpaceException extends InvalidRequestException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/AlreadyExistsException.php | src/Exception/AlreadyExistsException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class AlreadyExistsException extends InvalidRequestException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/ForbiddenException.php | src/Exception/ForbiddenException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class ForbiddenException extends InvalidRequestException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/ConnectionResetException.php | src/Exception/ConnectionResetException.php | <?php
/**
* SPDX-FileCopyrightText: 2020 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class ConnectionResetException extends ConnectException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/RevisionMismatchException.php | src/Exception/RevisionMismatchException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
use Throwable;
class RevisionMismatchException extends Exception {
public function __construct(string $message = 'Protocol version mismatch', int $code = 0, ?Throwable $pr... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/NotFoundException.php | src/Exception/NotFoundException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class NotFoundException extends InvalidRequestException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/ConnectionException.php | src/Exception/ConnectionException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class ConnectionException extends ConnectException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/AccessDeniedException.php | src/Exception/AccessDeniedException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class AccessDeniedException extends ConnectException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/InvalidResourceException.php | src/Exception/InvalidResourceException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class InvalidResourceException extends Exception {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/FileInUseException.php | src/Exception/FileInUseException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class FileInUseException extends InvalidRequestException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/InvalidRequestException.php | src/Exception/InvalidRequestException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class InvalidRequestException extends Exception {
/**
* @var string
*/
protected $path;
public function __construct(string $path = "", int $code = 0, ?\Throwable $pr... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/NotEmptyException.php | src/Exception/NotEmptyException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class NotEmptyException extends InvalidRequestException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/DependencyException.php | src/Exception/DependencyException.php | <?php
/**
* SPDX-FileCopyrightText: 2016 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class DependencyException extends Exception {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/NoRouteToHostException.php | src/Exception/NoRouteToHostException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class NoRouteToHostException extends ConnectException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/NoLoginServerException.php | src/Exception/NoLoginServerException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class NoLoginServerException extends ConnectException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/InvalidHostException.php | src/Exception/InvalidHostException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class InvalidHostException extends ConnectException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/InvalidTypeException.php | src/Exception/InvalidTypeException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class InvalidTypeException extends InvalidRequestException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/Exception.php | src/Exception/Exception.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
use Throwable;
/**
* @psalm-consistent-constructor
*/
class Exception extends \Exception {
public function __construct(string $message = "", int $code = 0, ?Throwable $p... | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/InvalidTicket.php | src/Exception/InvalidTicket.php | <?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace Icewind\SMB\Exception;
class InvalidTicket extends Exception {
} | php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
icewind1991/SMB | https://github.com/icewind1991/SMB/blob/fdc0ca572c7f59e4e231bd69a885e5e49731357d/src/Exception/InvalidParameterException.php | src/Exception/InvalidParameterException.php | <?php
/**
* SPDX-FileCopyrightText: 2014 Robin Appelman <robin@icewind.nl>
* SPDX-License-Identifier: MIT
*/
namespace Icewind\SMB\Exception;
class InvalidParameterException extends InvalidRequestException {
}
| php | MIT | fdc0ca572c7f59e4e231bd69a885e5e49731357d | 2026-01-05T04:37:08.400925Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.