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
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Middleware/Middleware.php
app/Middleware/Middleware.php
<?php namespace App\Middleware; use DI\Container; /** * Middleware * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class Middleware { protected $container; public function __construct(Container $container) { $this->container = $container; } }
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Middleware/CsrfViewMiddleware.php
app/Middleware/CsrfViewMiddleware.php
<?php namespace App\Middleware; use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Server\RequestHandlerInterface as RequestHandler; use Slim\Psr7\Response; /** * CsrfViewMiddleware * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class CsrfViewMiddle...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Middleware/GuestMiddleware.php
app/Middleware/GuestMiddleware.php
<?php namespace App\Middleware; use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Server\RequestHandlerInterface as RequestHandler; use Slim\Psr7\Response; /** * GuestMiddleware * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class GuestMiddleware e...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Middleware/OldInputMiddleware.php
app/Middleware/OldInputMiddleware.php
<?php namespace App\Middleware; use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Server\RequestHandlerInterface as RequestHandler; use Slim\Psr7\Response; /** * OldInputMiddleware * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class OldInputMiddle...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Middleware/AuthMiddleware.php
app/Middleware/AuthMiddleware.php
<?php namespace App\Middleware; use Psr\Http\Message\ServerRequestInterface as Request; use Psr\Http\Server\RequestHandlerInterface as RequestHandler; use Slim\Psr7\Response; /** * AuthMiddleware * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class AuthMiddleware ext...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/app/Models/User.php
app/Models/User.php
<?php namespace App\Models; use Illuminate\Database\Eloquent\Model; /** * User * * @author Haven Shen <havenshen@gmail.com> * @copyright Copyright (c) Haven Shen */ class User extends Model { protected $table = 'users'; public $first_name; public $last_name; public $email; protected $fillable = [...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/bootstrap/app.php
bootstrap/app.php
<?php use DI\Container; use Respect\Validation\Validator as v; use Slim\Csrf\Guard; use Slim\Factory\AppFactory; use Slim\Handlers\Strategies\RequestResponseArgs; use Slim\Psr7\Factory\UriFactory; use Slim\Views\Twig; use Slim\Views\TwigExtension; use Slim\Views\TwigRuntimeLoader; session_start(); require __DIR__ . ...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/bootstrap/database.php
bootstrap/database.php
<?php $capsule = new \Illuminate\Database\Capsule\Manager; $capsule->addConnection([ 'driver' => getenv('DB_DRIVER'), 'host' => getenv('DB_HOST'), 'database' => getenv('DB_DATABASE'), 'username' => getenv('DB_USERNAME'), 'password' => getenv('DB_PASSWORD'), 'charset' => 'utf8', 'port' => g...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/tests/unit/UserTest.php
tests/unit/UserTest.php
<?php class UserTest extends \PHPUnit\Framework\TestCase { protected $user; public function setUp() { $this->user = new \App\Models\User; } public function testEmailVariablesContainCorrectValues() { $user = new \App\Models\User; $user->setFirstName('Haven'); $u...
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/tests/unit/SampleTest.php
tests/unit/SampleTest.php
<?php class SampleTest extends \PHPUnit\Framework\TestCase { public function testTrueAssertsToTrue() { $this->assertTrue(true); } }
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
HavenShen/slim-born
https://github.com/HavenShen/slim-born/blob/9a3e09ac5bd57b58a43efc95283ed2cd198be650/public/index.php
public/index.php
<?php require __DIR__ . '/../bootstrap/app.php'; $app->run();
php
MIT
9a3e09ac5bd57b58a43efc95283ed2cd198be650
2026-01-05T02:30:11.770356Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/helpers.php
helpers.php
<?php namespace Cerbero\LazyJsonPages; /** * Load items from any paginated JSON API into a lazy collection. */ function lazyJsonPages(mixed $source): LazyJsonPages { return LazyJsonPages::from($source); }
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/bootstrap.php
bootstrap.php
<?php use Cerbero\LazyJsonPages\LazyJsonPages; use Illuminate\Support\LazyCollection; (static function () { LazyCollection::macro('fromJsonPages', [LazyJsonPages::class, 'from']); })();
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/LazyJsonPages.php
src/LazyJsonPages.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages; use Cerbero\LazyJsonPages\Data\Config; use Cerbero\LazyJsonPages\Data\Dot; use Cerbero\LazyJsonPages\Paginations\AnyPagination; use Cerbero\LazyJsonPages\Services\ClientFactory; use Cerbero\LazyJsonPages\Sources\AnySource; use Closure; use GuzzleHttp\Re...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Exceptions/InvalidPaginationException.php
src/Exceptions/InvalidPaginationException.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Exceptions; use Cerbero\LazyJsonPages\Paginations\Pagination; /** * The exception to throw when the given pagination is invalid. */ class InvalidPaginationException extends LazyJsonPagesException { /** * Instantiate the class. */ pub...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Exceptions/InvalidKeyException.php
src/Exceptions/InvalidKeyException.php
<?php namespace Cerbero\LazyJsonPages\Exceptions; /** * The exception thrown when a given JSON key does not contain a valid value. */ class InvalidKeyException extends LazyJsonPagesException { /** * Instantiate the class. */ public function __construct(public readonly string $key) { pa...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Exceptions/OutOfAttemptsException.php
src/Exceptions/OutOfAttemptsException.php
<?php namespace Cerbero\LazyJsonPages\Exceptions; use GuzzleHttp\Exception\TransferException; use Illuminate\Support\LazyCollection; /** * The exception thrown when an HTTP request failed too many times. */ class OutOfAttemptsException extends LazyJsonPagesException { /** * Instantiate the class. * ...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Exceptions/UnsupportedSourceException.php
src/Exceptions/UnsupportedSourceException.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Exceptions; /** * The exception to throw when the given source is not supported. */ class UnsupportedSourceException extends LazyJsonPagesException { /** * Instantiate the class. */ public function __construct(public readonly mixed $s...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Exceptions/InvalidPageInPathException.php
src/Exceptions/InvalidPageInPathException.php
<?php namespace Cerbero\LazyJsonPages\Exceptions; /** * The exception thrown when a page cannot be found in the URI path. */ class InvalidPageInPathException extends LazyJsonPagesException { /** * Instantiate the class. */ public function __construct(public readonly string $path, public readonly s...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Exceptions/UnsupportedPaginationException.php
src/Exceptions/UnsupportedPaginationException.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Exceptions; use Cerbero\LazyJsonPages\Data\Config; /** * The exception to throw when a pagination is not supported. */ class UnsupportedPaginationException extends LazyJsonPagesException { /** * Instantiate the class. */ public funct...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Exceptions/RequestNotSentException.php
src/Exceptions/RequestNotSentException.php
<?php namespace Cerbero\LazyJsonPages\Exceptions; /** * The exception thrown when a source did not send any HTTP request. */ class RequestNotSentException extends LazyJsonPagesException { /** * Instantiate the class. */ public function __construct() { parent::__construct("The source di...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Exceptions/LazyJsonPagesException.php
src/Exceptions/LazyJsonPagesException.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Exceptions; use Exception; class LazyJsonPagesException extends Exception { // }
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Sources/Endpoint.php
src/Sources/Endpoint.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Sources; use Cerbero\JsonParser\Concerns\DetectsEndpoints; use GuzzleHttp\Psr7\Request; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use Psr\Http\Message\UriInterface; /** * The JSON endpoint source. * * @property-re...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Sources/AnySource.php
src/Sources/AnySource.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Sources; use Cerbero\LazyJsonPages\Exceptions\UnsupportedSourceException; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; /** * The aggregator of sources. */ class AnySource extends Source { /** * @var class-str...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Sources/SymfonyRequest.php
src/Sources/SymfonyRequest.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Sources; use GuzzleHttp\Psr7\Request as Psr7Request; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use Symfony\Component\HttpFoundation\Request; /** * The Symfony request source. * * @property-read Request $source */...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Sources/LaravelClientRequest.php
src/Sources/LaravelClientRequest.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Sources; use Illuminate\Http\Client\Request; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; /** * The Laravel HTTP client source. * * @property-read Request $source */ class LaravelClientRequest extends Source { /...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Sources/LaravelClientResponse.php
src/Sources/LaravelClientResponse.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Sources; use Cerbero\LazyJsonPages\Exceptions\RequestNotSentException; use Illuminate\Http\Client\Response; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; /** * The Laravel HTTP client source. * * @property-read Respon...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Sources/Source.php
src/Sources/Source.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Sources; use GuzzleHttp\Client; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; /** * The abstract implementation of a source. */ abstract class Source { /** * The HTTP client. */ protected Client $clie...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Sources/CustomSource.php
src/Sources/CustomSource.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Sources; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; /** * The user-defined source. * * @property-read Source $source */ class CustomSource extends Source { /** * Determine whether this class can handle th...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Sources/Psr7Request.php
src/Sources/Psr7Request.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Sources; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; /** * The PSR-7 request source. * * @property-read RequestInterface $source */ class Psr7Request extends Source { /** * Determine whether this class can...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Services/RateLimits.php
src/Services/RateLimits.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Services; use Cerbero\LazyJsonPages\Data\RateLimit; /** * The rate limits aggregator. */ final class RateLimits { /** * The API rate limits to respect. * * @var RateLimit[] */ private array $rateLimits = []; /** *...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Services/TapCallbacks.php
src/Services/TapCallbacks.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Services; use Closure; /** * The collection of callbacks to run by the tap middleware. */ final class TapCallbacks { /** * The callbacks to handle the sending request. * * @var Closure[] */ private array $onRequestCallbacks...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Services/ClientFactory.php
src/Services/ClientFactory.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Services; use Cerbero\LazyJsonPages\Middleware\Tap; use Closure; use GuzzleHttp\Client; use GuzzleHttp\Exception\RequestException; use GuzzleHttp\Handler\MockHandler; use GuzzleHttp\HandlerStack; use GuzzleHttp\Middleware; use GuzzleHttp\RequestOptions; ...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Services/Book.php
src/Services/Book.php
<?php namespace Cerbero\LazyJsonPages\Services; use Generator; use Psr\Http\Message\ResponseInterface; /** * The collector of pages. */ final class Book { /** * The HTTP responses of the fetched pages. * * @var array<int, ResponseInterface> */ private array $pages = []; /** * ...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Middleware/Tap.php
src/Middleware/Tap.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Middleware; use Cerbero\LazyJsonPages\Services\TapCallbacks; use Closure; use GuzzleHttp\Exception\RequestException; use GuzzleHttp\Promise\Create; use GuzzleHttp\Promise\PromiseInterface; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\Respo...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Concerns/RespectsRateLimits.php
src/Concerns/RespectsRateLimits.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Concerns; use Cerbero\LazyJsonPages\Services\ClientFactory; /** * The trait to respect rate limits of APIs. */ trait RespectsRateLimits { /** * Delay the execution to respect rate limits. */ protected function respectRateLimits(): vo...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Concerns/ParsesPages.php
src/Concerns/ParsesPages.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Concerns; use Cerbero\JsonParser\JsonParser; use Cerbero\LazyJsonPages\Data\Dot; use Generator; use Psr\Http\Message\ResponseInterface; /** * The trait to parse pages. */ trait ParsesPages { /** * The number of items per page. */ pro...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Concerns/RetriesHttpRequests.php
src/Concerns/RetriesHttpRequests.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Concerns; use Cerbero\LazyJsonPages\Exceptions\OutOfAttemptsException; use Closure; use Generator; use GuzzleHttp\Exception\TransferException; use Illuminate\Support\LazyCollection; /** * The trait to retry HTTP requests when they fail. * * @property...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Concerns/YieldsItemsByCursor.php
src/Concerns/YieldsItemsByCursor.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Concerns; use Closure; use Generator; use Psr\Http\Message\ResponseInterface; /** * The trait to yield items from cursor-aware paginations. */ trait YieldsItemsByCursor { use RespectsRateLimits; use RetriesHttpRequests; /** * Yield t...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Concerns/ResolvesPages.php
src/Concerns/ResolvesPages.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Concerns; use Cerbero\JsonParser\Concerns\DetectsEndpoints; use Cerbero\LazyJsonPages\Exceptions\InvalidPageInPathException; use GuzzleHttp\Psr7\Uri; use Psr\Http\Message\UriInterface; /** * The trait to resolve pages. */ trait ResolvesPages { use...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Concerns/YieldsItemsByLength.php
src/Concerns/YieldsItemsByLength.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Concerns; use Cerbero\LazyJsonPages\Exceptions\InvalidKeyException; use Closure; use Generator; use Psr\Http\Message\ResponseInterface; /** * The trait to yield items from length-aware paginations. */ trait YieldsItemsByLength { use SendsAsyncRequ...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Concerns/SendsAsyncRequests.php
src/Concerns/SendsAsyncRequests.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Concerns; use Generator; use GuzzleHttp\Pool; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; use Throwable; /** * The trait to send asynchronous HTTP requests. * * @property-read \Cerbero\LazyJsonPages\Sources\AnySourc...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Data/Config.php
src/Data/Config.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Data; use Cerbero\LazyJsonPages\Paginations\Pagination; use Cerbero\LazyJsonPages\Services\RateLimits; use Closure; /** * The configuration * * @property-read class-string<Pagination> $pagination */ final class Config { /** * The configurat...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Data/Dot.php
src/Data/Dot.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Data; /** * The dot value object. */ final class Dot { /** * Instantiate the class. */ public function __construct(public readonly string $dot) {} /** * Retrieve the JSON pointer of this dot. */ public function toPo...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Data/RateLimit.php
src/Data/RateLimit.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Data; /** * The API rate limit to respect. */ final class RateLimit { /** * The number of requests sent before this rate limit resets. */ private int $hits = 0; /** * The timestamp when this rate limit resets. */ pr...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Providers/LazyJsonPagesServiceProvider.php
src/Providers/LazyJsonPagesServiceProvider.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Providers; use Cerbero\LazyJsonPages\LazyJsonPages; use Cerbero\LazyJsonPages\Middleware\Tap; use Illuminate\Http\Client\Events\ConnectionFailed; use Illuminate\Http\Client\Events\RequestSending; use Illuminate\Http\Client\Events\ResponseReceived; use Il...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Paginations/TotalPagesAwarePagination.php
src/Paginations/TotalPagesAwarePagination.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Paginations; use Cerbero\LazyJsonPages\Concerns\YieldsItemsByLength; use Traversable; /** * The pagination aware of the total number of pages. */ class TotalPagesAwarePagination extends Pagination { use YieldsItemsByLength; /** * Determi...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Paginations/LinkHeaderAwarePagination.php
src/Paginations/LinkHeaderAwarePagination.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Paginations; use Cerbero\LazyJsonPages\Concerns\YieldsItemsByCursor; use Cerbero\LazyJsonPages\Concerns\YieldsItemsByLength; use Generator; use Psr\Http\Message\ResponseInterface; use Traversable; /** * The pagination using a Link header. */ class Lin...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Paginations/Pagination.php
src/Paginations/Pagination.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Paginations; use Cerbero\LazyJsonPages\Concerns\ParsesPages; use Cerbero\LazyJsonPages\Concerns\ResolvesPages; use Cerbero\LazyJsonPages\Data\Config; use Cerbero\LazyJsonPages\Services\Book; use Cerbero\LazyJsonPages\Sources\AnySource; use GuzzleHttp\Cli...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Paginations/LastPageAwarePagination.php
src/Paginations/LastPageAwarePagination.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Paginations; use Cerbero\LazyJsonPages\Concerns\YieldsItemsByLength; use Traversable; /** * The pagination aware of the number of the last page. */ class LastPageAwarePagination extends Pagination { use YieldsItemsByLength; /** * Determi...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Paginations/CursorAwarePagination.php
src/Paginations/CursorAwarePagination.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Paginations; use Cerbero\LazyJsonPages\Concerns\YieldsItemsByCursor; use Psr\Http\Message\ResponseInterface; use Traversable; /** * The pagination aware of the cursor of the next page. */ class CursorAwarePagination extends Pagination { use Yields...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Paginations/CustomPagination.php
src/Paginations/CustomPagination.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Paginations; use Cerbero\LazyJsonPages\Exceptions\InvalidPaginationException; use Traversable; /** * The user-defined pagination. */ class CustomPagination extends Pagination { /** * Determine whether this pagination matches the configuration...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Paginations/AnyPagination.php
src/Paginations/AnyPagination.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Paginations; use Cerbero\LazyJsonPages\Exceptions\UnsupportedPaginationException; use Traversable; /** * The aggregator of supported paginations. */ class AnyPagination extends Pagination { /** * The supported paginations. * * @var ...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/src/Paginations/TotalItemsAwarePagination.php
src/Paginations/TotalItemsAwarePagination.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Paginations; use Cerbero\LazyJsonPages\Concerns\YieldsItemsByLength; use Traversable; /** * The pagination aware of the total number of items. */ class TotalItemsAwarePagination extends Pagination { use YieldsItemsByLength; /** * Determi...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/tests/Pest.php
tests/Pest.php
<?php use Cerbero\LazyJsonPages\Services\ClientFactory; use GuzzleHttp\Exception\RequestException; use GuzzleHttp\Psr7\Request; use GuzzleHttp\Psr7\Response; use Orchestra\Testbench\Concerns\WithWorkbench; use Orchestra\Testbench\TestCase as OrchestraTestCase; /* |-----------------------------------------------------...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/tests/Sources/CustomSourceSample.php
tests/Sources/CustomSourceSample.php
<?php declare(strict_types=1); namespace Cerbero\LazyJsonPages\Sources; use GuzzleHttp\Psr7\Request; use GuzzleHttp\Psr7\Response; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\ResponseInterface; /** * The class to test the implementation of custom sources. */ class CustomSourceSample extends Source...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/tests/Integration/LaravelTest.php
tests/Integration/LaravelTest.php
<?php use Cerbero\LazyJsonPages\LazyJsonPages; use Illuminate\Http\Client\Events\ConnectionFailed; use Illuminate\Http\Client\Events\RequestSending; use Illuminate\Http\Client\Events\ResponseReceived; use Illuminate\Support\Facades\Event; it('fires Laravel HTTP client events on success', function() { Event::fake(...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/tests/fixtures/items.php
tests/fixtures/items.php
<?php return [ ['name' => 'item1'], ['name' => 'item2'], ['name' => 'item3'], ['name' => 'item4'], ['name' => 'item5'], ['name' => 'item6'], ['name' => 'item7'], ['name' => 'item8'], ['name' => 'item9'], ['name' => 'item10'], ['name' => 'item11'], ['name' => 'item12'], ...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/tests/Feature/RequestsOptimizationTest.php
tests/Feature/RequestsOptimizationTest.php
<?php use Cerbero\LazyJsonPages\Exceptions\OutOfAttemptsException; use Cerbero\LazyJsonPages\LazyJsonPages; use Cerbero\LazyJsonPages\Services\ClientFactory; use GuzzleHttp\Exception\ConnectException; use GuzzleHttp\Exception\RequestException; use GuzzleHttp\Middleware; use GuzzleHttp\Psr7\Request; use GuzzleHttp\Psr7...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/tests/Feature/PaginationTest.php
tests/Feature/PaginationTest.php
<?php use Cerbero\LazyJsonPages\Exceptions\InvalidKeyException; use Cerbero\LazyJsonPages\Exceptions\InvalidPaginationException; use Cerbero\LazyJsonPages\Exceptions\UnsupportedPaginationException; use Cerbero\LazyJsonPages\LazyJsonPages; use Cerbero\LazyJsonPages\Services\ClientFactory; use GuzzleHttp\Psr7\Response; ...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/tests/Feature/Datasets.php
tests/Feature/Datasets.php
<?php use Cerbero\LazyJsonPages\LazyJsonPages; use Cerbero\LazyJsonPages\Paginations\TotalPagesAwarePagination; use Cerbero\LazyJsonPages\Sources\CustomSourceSample; use GuzzleHttp\Psr7\Request as Psr7Request; use GuzzleHttp\Psr7\Response as Psr7Response; use GuzzleHttp\TransferStats; use Illuminate\Http\Client\Reques...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/tests/Feature/SourceTest.php
tests/Feature/SourceTest.php
<?php use Cerbero\LazyJsonPages\Exceptions\RequestNotSentException; use Cerbero\LazyJsonPages\Exceptions\UnsupportedSourceException; use Cerbero\LazyJsonPages\LazyJsonPages; use GuzzleHttp\Psr7\Response as Psr7Response; use Illuminate\Http\Client\Response; it('supports multiple sources', function (mixed $source, bool...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
cerbero90/lazy-json-pages
https://github.com/cerbero90/lazy-json-pages/blob/80eb7322262404b5b5146a43161d52a833d8f69f/tests/Feature/StructureTest.php
tests/Feature/StructureTest.php
<?php use Cerbero\LazyJsonPages\Exceptions\InvalidPageInPathException; use Cerbero\LazyJsonPages\LazyJsonPages; it('supports paginations with the current page in the URI path', function () { $lazyCollection = LazyJsonPages::from('https://example.com/api/v1/users/page/1') ->pageInPath() ->totalPage...
php
MIT
80eb7322262404b5b5146a43161d52a833d8f69f
2026-01-05T02:30:22.501512Z
false
KennedyTedesco/Validation
https://github.com/KennedyTedesco/Validation/blob/55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee/.php-cs-fixer.dist.php
.php-cs-fixer.dist.php
<?php $finder = PhpCsFixer\Finder::create() ->in('src'); return (new PhpCsFixer\Config()) ->setRules([ '@Symfony' => true, '@Symfony:risky' => true, 'protected_to_private' => false, 'trailing_comma_in_multiline' => [ 'elements' => ['arrays', 'arguments', 'parameters...
php
MIT
55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee
2026-01-05T02:30:17.513271Z
false
KennedyTedesco/Validation
https://github.com/KennedyTedesco/Validation/blob/55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee/src/Validation/RuleFactory.php
src/Validation/RuleFactory.php
<?php declare(strict_types=1); namespace KennedyTedesco\Validation; use ReflectionClass; use ReflectionException; use Respect\Validation\Validatable; final class RuleFactory { /** * @throws ReflectionException */ public static function make(string $rule, array $parameters = []): Validatable { ...
php
MIT
55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee
2026-01-05T02:30:17.513271Z
false
KennedyTedesco/Validation
https://github.com/KennedyTedesco/Validation/blob/55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee/src/Validation/ValidationServiceProvider.php
src/Validation/ValidationServiceProvider.php
<?php declare(strict_types=1); namespace KennedyTedesco\Validation; use Illuminate\Support\ServiceProvider; final class ValidationServiceProvider extends ServiceProvider { public function boot(): void { $this->app['validator']->resolver(static function ($translator, $data, $rules, $messages, $custom...
php
MIT
55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee
2026-01-05T02:30:17.513271Z
false
KennedyTedesco/Validation
https://github.com/KennedyTedesco/Validation/blob/55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee/src/Validation/Validator.php
src/Validation/Validator.php
<?php declare(strict_types=1); namespace KennedyTedesco\Validation; use Exception; use Illuminate\Validation\Validator as BaseValidator; final class Validator extends BaseValidator { public function __call($method, $parameters) { try { $rule = mb_substr($method, 8); [$value, ...
php
MIT
55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee
2026-01-05T02:30:17.513271Z
false
KennedyTedesco/Validation
https://github.com/KennedyTedesco/Validation/blob/55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee/tests/ValidationTest.php
tests/ValidationTest.php
<?php declare(strict_types=1); namespace Tests; use Illuminate\Support\MessageBag; class ValidationTest extends ValidationTestCase { public function test_common_rules(): void { $rules = [ 'cpf' => ['cpf',], 'cnpj' => ['cnpj',], 'cnh' ...
php
MIT
55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee
2026-01-05T02:30:17.513271Z
false
KennedyTedesco/Validation
https://github.com/KennedyTedesco/Validation/blob/55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee/tests/ValidationTestCase.php
tests/ValidationTestCase.php
<?php declare(strict_types=1); namespace Tests; use Orchestra\Testbench\TestCase; use Illuminate\Validation\Validator; use KennedyTedesco\Validation\ValidationServiceProvider; abstract class ValidationTestCase extends TestCase { protected function getPackageProviders($app): array { return [ ...
php
MIT
55c6a3dc7b7ec54e9fce915cd46deb1cd5b38eee
2026-01-05T02:30:17.513271Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/scripts/unl_wrapper.php
scripts/unl_wrapper.php
#!/usr/bin/env php <?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * scripts/unl_wrapper.php * * CLI handler for UNetLab * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/m...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/api.php
html/api.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/api.php * * REST API router for UNetLab. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/LICENSE * @link ht...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
true
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_configs.php
html/includes/api_configs.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/api_configs.php * * Configs related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/bl...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_authentication.php
html/includes/api_authentication.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/api_authentication.php * * Users related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetl...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_networks.php
html/includes/api_networks.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/api_networks.php * * Networks related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_uusers.php
html/includes/api_uusers.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/api_uusers.php * * UNetLab Users related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetl...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_status.php
html/includes/api_status.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/api_status.php * * Various system status commands for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetla...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_labs.php
html/includes/api_labs.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/api_labs.php * * Labs related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/mas...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/Parsedown.php
html/includes/Parsedown.php
<?php # # # Parsedown # http://parsedown.org # # (c) Emanuil Rusev # http://erusev.com # # For the full license information, view the LICENSE file that was distributed # with this source code. # # class Parsedown { # ~ const version = '1.6.0'; # ~ function text($text) { # make sure no d...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
true
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/__textobject.php
html/includes/__textobject.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/__textobject.php * * Class for UNetLab custom objects. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/mas...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_topology.php
html/includes/api_topology.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 /** * html/includes/api_topology.php * * Topology related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/m...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/messages_en.php
html/includes/messages_en.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/messages_en.php * * English messages for UNetLab. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/L...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_textobjects.php
html/includes/api_textobjects.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 /** * html/includes/api_textobjects.php * * Pictures related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blo...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/__node.php
html/includes/__node.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/__node.php * * Class for UNetLab nodes. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/LICENSE * ...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
true
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/cli.php
html/includes/cli.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/cli.php * * Various functions for UNetLab CLI handler. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/mas...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
true
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/functions.php
html/includes/functions.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/functions.php * * Various functions for UNetLab. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/LI...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/__network.php
html/includes/__network.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/__network.php * * Class for UNetLab networks. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/LICEN...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_pictures.php
html/includes/api_pictures.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 /** * html/includes/api_pictures.php * * Pictures related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/m...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/__lab.php
html/includes/__lab.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/__lab.php * * Class for UNetLab labs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/LICENSE * @l...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
true
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/init.php
html/includes/init.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/init.php * * Initialization file for UNetLab. * * This file include all needed files and variables to run UNetLab. Don't * edit this file, it will be overwritten when updating. Create a new file * named 'config.ph...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_folders.php
html/includes/api_folders.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/api_folders.php * * Folders related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/bl...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/__interfc.php
html/includes/__interfc.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/__interfc.php * * Class for UNetLab interfaces. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/LI...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/messages_zh.php
html/includes/messages_zh.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/messages_zh.php * * English messages for UNetLab. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/L...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/__picture.php
html/includes/__picture.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/__picture.php * * Class for UNetLab pictures. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/master/LICEN...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/api_nodes.php
html/includes/api_nodes.php
<?php # vim: syntax=php tabstop=4 softtabstop=0 noexpandtab laststatus=1 ruler /** * html/includes/api_nodes.php * * Nodes related functions for REST APIs. * * @author Andrea Dainese <andrea.dainese@gmail.com> * @copyright 2014-2016 Andrea Dainese * @license BSD-3-Clause https://github.com/dainok/unetlab/blob/m...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/Slim/Slim.php
html/includes/Slim/Slim.php
<?php /** * Slim - a micro PHP 5 framework * * @author Josh Lockhart <info@slimframework.com> * @copyright 2011 Josh Lockhart * @link http://www.slimframework.com * @license http://www.slimframework.com/license * @version 2.6.1 * @package Slim * * MIT LICENSE * * Permission is here...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
true
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/Slim/Route.php
html/includes/Slim/Route.php
<?php /** * Slim - a micro PHP 5 framework * * @author Josh Lockhart <info@slimframework.com> * @copyright 2011 Josh Lockhart * @link http://www.slimframework.com * @license http://www.slimframework.com/license * @version 2.6.1 * @package Slim * * MIT LICENSE * * Permission is here...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/Slim/Environment.php
html/includes/Slim/Environment.php
<?php /** * Slim - a micro PHP 5 framework * * @author Josh Lockhart <info@slimframework.com> * @copyright 2011 Josh Lockhart * @link http://www.slimframework.com * @license http://www.slimframework.com/license * @version 2.6.1 * @package Slim * * MIT LICENSE * * Permission is here...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/Slim/Middleware.php
html/includes/Slim/Middleware.php
<?php /** * Slim - a micro PHP 5 framework * * @author Josh Lockhart <info@slimframework.com> * @copyright 2011 Josh Lockhart * @link http://www.slimframework.com * @license http://www.slimframework.com/license * @version 2.6.1 * @package Slim * * MIT LICENSE * * Permission is here...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/Slim/Log.php
html/includes/Slim/Log.php
<?php /** * Slim - a micro PHP 5 framework * * @author Josh Lockhart <info@slimframework.com> * @copyright 2011 Josh Lockhart * @link http://www.slimframework.com * @license http://www.slimframework.com/license * @version 2.6.1 * @package Slim * * MIT LICENSE * * Permission is here...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false
dainok/unetlab
https://github.com/dainok/unetlab/blob/d647a2d6fc76173b31eeb2107920dd34019e5b65/html/includes/Slim/LogWriter.php
html/includes/Slim/LogWriter.php
<?php /** * Slim - a micro PHP 5 framework * * @author Josh Lockhart <info@slimframework.com> * @copyright 2011 Josh Lockhart * @link http://www.slimframework.com * @license http://www.slimframework.com/license * @version 2.6.1 * @package Slim * * MIT LICENSE * * Permission is here...
php
BSD-3-Clause
d647a2d6fc76173b31eeb2107920dd34019e5b65
2026-01-05T02:29:09.578773Z
false