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
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/Edit/GetFooItemEdit.php
tests/Http/FooItem/Edit/GetFooItemEdit.php
<?php namespace AutoRoute\Http\FooItem\Edit; class GetFooItemEdit { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Http/FooItem/Extras/GetFooItemExtras.php
tests/Http/FooItem/Extras/GetFooItemExtras.php
<?php namespace AutoRoute\Http\FooItem\Extras; class GetFooItemExtras { public function __invoke(int $id, float $foo, string $bar, $baz, bool $dib, array $gir = []) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/GetAction.php
tests/HttpSuffix/GetAction.php
<?php namespace AutoRoute\HttpSuffix; class GetAction { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItems/GetFooItemsAction.php
tests/HttpSuffix/FooItems/GetFooItemsAction.php
<?php namespace AutoRoute\HttpSuffix\FooItems; class GetFooItemsAction { public function __invoke(int $page = 1) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItems/Archive/GetFooItemsArchiveAction.php
tests/HttpSuffix/FooItems/Archive/GetFooItemsArchiveAction.php
<?php namespace AutoRoute\HttpSuffix\FooItems\Archive; class GetFooItemsArchiveAction { public function __invoke(int $year = null, int $month = null, int $day = null) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/Admin/Dashboard/GetAdminDashboardResponder.php
tests/HttpSuffix/Admin/Dashboard/GetAdminDashboardResponder.php
<?php namespace AutoRoute\HttpSuffix\Admin\Dashboard; class GetAdminDashboardResponder { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/Admin/Dashboard/GetAdminDashboardAction.php
tests/HttpSuffix/Admin/Dashboard/GetAdminDashboardAction.php
<?php namespace AutoRoute\HttpSuffix\Admin\Dashboard; class GetAdminDashboardAction { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/Repo/GetRepoAction.php
tests/HttpSuffix/Repo/GetRepoAction.php
<?php namespace AutoRoute\HttpSuffix\Repo; class GetRepoAction { public function __invoke(string $ownerName, string $repoName) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/Repo/Issue/GetRepoIssueAction.php
tests/HttpSuffix/Repo/Issue/GetRepoIssueAction.php
<?php namespace AutoRoute\HttpSuffix\Repo\Issue; class GetRepoIssueAction { public function __invoke(string $ownerName, string $repoName, int $issueNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/Repo/Issue/Comment/GetRepoIssueCommentAction.php
tests/HttpSuffix/Repo/Issue/Comment/GetRepoIssueCommentAction.php
<?php namespace AutoRoute\HttpSuffix\Repo\Issue\Comment; class GetRepoIssueCommentAction { public function __invoke(string $ownerName, string $repoName, int $issueNum, int $commentNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/Repo/Issue/Comment/Add/GetRepoIssueCommentAddAction.php
tests/HttpSuffix/Repo/Issue/Comment/Add/GetRepoIssueCommentAddAction.php
<?php namespace AutoRoute\HttpSuffix\Repo\Issue\Comment\Add; class GetRepoIssueCommentAddAction { public function __invoke(string $ownerName, string $repoName, int $issueNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItem/GetFooItemAction.php
tests/HttpSuffix/FooItem/GetFooItemAction.php
<?php namespace AutoRoute\HttpSuffix\FooItem; class GetFooItemAction extends FooItemAction { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItem/PostFooItemAction.php
tests/HttpSuffix/FooItem/PostFooItemAction.php
<?php namespace AutoRoute\HttpSuffix\FooItem; class PostFooItemAction extends FooItemAction { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItem/FooItemAction.php
tests/HttpSuffix/FooItem/FooItemAction.php
<?php namespace AutoRoute\HttpSuffix\FooItem; abstract class FooItemAction { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItem/PatchFooItemAction.php
tests/HttpSuffix/FooItem/PatchFooItemAction.php
<?php namespace AutoRoute\HttpSuffix\FooItem; class PatchFooItemAction extends FooItemAction { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItem/DeleteFooItemAction.php
tests/HttpSuffix/FooItem/DeleteFooItemAction.php
<?php namespace AutoRoute\HttpSuffix\FooItem; class DeleteFooItemAction extends FooItemAction { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItem/Add/GetFooItemAddAction.php
tests/HttpSuffix/FooItem/Add/GetFooItemAddAction.php
<?php namespace AutoRoute\HttpSuffix\FooItem\Add; class GetFooItemAddAction { public function __invoke() { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItem/Variadic/GetFooItemVariadicAction.php
tests/HttpSuffix/FooItem/Variadic/GetFooItemVariadicAction.php
<?php namespace AutoRoute\HttpSuffix\FooItem\Variadic; class GetFooItemVariadicAction { public function __invoke(int $id, string ...$more) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItem/Edit/GetFooItemEditAction.php
tests/HttpSuffix/FooItem/Edit/GetFooItemEditAction.php
<?php namespace AutoRoute\HttpSuffix\FooItem\Edit; class GetFooItemEditAction { public function __invoke(int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpSuffix/FooItem/Extras/GetFooItemExtrasAction.php
tests/HttpSuffix/FooItem/Extras/GetFooItemExtrasAction.php
<?php namespace AutoRoute\HttpSuffix\FooItem\Extras; class GetFooItemExtrasAction { public function __invoke(int $id, float $foo, string $bar, $baz, bool $dib, array $gir = []) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/Get.php
tests/HttpIgnore/Get.php
<?php namespace AutoRoute\HttpIgnore; class Get { public function exec(\ServerRequest $request) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItems/GetFooItems.php
tests/HttpIgnore/FooItems/GetFooItems.php
<?php namespace AutoRoute\HttpIgnore\FooItems; class GetFooItems { public function exec(\ServerRequest $request, int $page = 1) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItems/Archive/GetFooItemsArchive.php
tests/HttpIgnore/FooItems/Archive/GetFooItemsArchive.php
<?php namespace AutoRoute\HttpIgnore\FooItems\Archive; class GetFooItemsArchive { public function exec(\ServerRequest $request, int $year = null, int $month = null, int $day = null) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/Admin/Dashboard/GetAdminDashboard.php
tests/HttpIgnore/Admin/Dashboard/GetAdminDashboard.php
<?php namespace AutoRoute\HttpIgnore\Admin\Dashboard; class GetAdminDashboard { public function exec(\ServerRequest $request) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/Repo/GetRepo.php
tests/HttpIgnore/Repo/GetRepo.php
<?php namespace AutoRoute\HttpIgnore\Repo; class GetRepo { public function exec(\ServerRequest $request, string $ownerName, string $repoName) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/Repo/Issue/GetRepoIssue.php
tests/HttpIgnore/Repo/Issue/GetRepoIssue.php
<?php namespace AutoRoute\HttpIgnore\Repo\Issue; class GetRepoIssue { public function exec(\ServerRequest $request, string $ownerName, string $repoName, int $issueNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/Repo/Issue/Comment/GetRepoIssueComment.php
tests/HttpIgnore/Repo/Issue/Comment/GetRepoIssueComment.php
<?php namespace AutoRoute\HttpIgnore\Repo\Issue\Comment; class GetRepoIssueComment { public function exec(\ServerRequest $request, string $ownerName, string $repoName, int $issueNum, int $commentNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/Repo/Issue/Comment/Add/GetRepoIssueCommentAdd.php
tests/HttpIgnore/Repo/Issue/Comment/Add/GetRepoIssueCommentAdd.php
<?php namespace AutoRoute\HttpIgnore\Repo\Issue\Comment\Add; class GetRepoIssueCommentAdd { public function exec(\ServerRequest $request, string $ownerName, string $repoName, int $issueNum) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItem/DeleteFooItem.php
tests/HttpIgnore/FooItem/DeleteFooItem.php
<?php namespace AutoRoute\HttpIgnore\FooItem; class DeleteFooItem extends FooItem { public function exec(\ServerRequest $request, int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItem/PostFooItem.php
tests/HttpIgnore/FooItem/PostFooItem.php
<?php namespace AutoRoute\HttpIgnore\FooItem; class PostFooItem extends FooItem { public function exec(\ServerRequest $request) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItem/FooItem.php
tests/HttpIgnore/FooItem/FooItem.php
<?php namespace AutoRoute\HttpIgnore\FooItem; abstract class FooItem { }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItem/GetFooItem.php
tests/HttpIgnore/FooItem/GetFooItem.php
<?php namespace AutoRoute\HttpIgnore\FooItem; class GetFooItem extends FooItem { public function exec(\ServerRequest $request, int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItem/PatchFooItem.php
tests/HttpIgnore/FooItem/PatchFooItem.php
<?php namespace AutoRoute\HttpIgnore\FooItem; class PatchFooItem extends FooItem { public function exec(\ServerRequest $request, int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItem/Add/GetFooItemAdd.php
tests/HttpIgnore/FooItem/Add/GetFooItemAdd.php
<?php namespace AutoRoute\HttpIgnore\FooItem\Add; class GetFooItemAdd { public function exec(\ServerRequest $request) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItem/Variadic/GetFooItemVariadic.php
tests/HttpIgnore/FooItem/Variadic/GetFooItemVariadic.php
<?php namespace AutoRoute\HttpIgnore\FooItem\Variadic; class GetFooItemVariadic { public function exec(\ServerRequest $request, int $id, string ...$more) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItem/Edit/GetFooItemEdit.php
tests/HttpIgnore/FooItem/Edit/GetFooItemEdit.php
<?php namespace AutoRoute\HttpIgnore\FooItem\Edit; class GetFooItemEdit { public function exec(\ServerRequest $request, int $id) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/HttpIgnore/FooItem/Extras/GetFooItemExtras.php
tests/HttpIgnore/FooItem/Extras/GetFooItemExtras.php
<?php namespace AutoRoute\HttpIgnore\FooItem\Extras; class GetFooItemExtras { public function exec(\ServerRequest $request, int $id, float $foo, string $bar, $baz, bool $dib, array $gir = []) { } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Value/Ymd.php
tests/Value/Ymd.php
<?php declare(strict_types=1); namespace AutoRoute\Value; class Ymd { public function __construct( protected ?int $year = null, protected ?int $month = null, protected ?int $day = null ) { } public function getYear() : ?int { return $this->year; } public f...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Value/Id.php
tests/Value/Id.php
<?php declare(strict_types=1); namespace AutoRoute\Value; class Id { public function __construct(protected int $id) { $this->id = $id; } public function get() : int { return $this->id; } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/tests/Value/OwnerRepo.php
tests/Value/OwnerRepo.php
<?php declare(strict_types=1); namespace AutoRoute\Value; class OwnerRepo { public function __construct( protected string $ownerName, protected string $repoName ) { } public function get() : string { return $this->ownerName . '/' . $this->repoName; } }
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/bin/autoroute-create.php
bin/autoroute-create.php
<?php use AutoRoute\AutoRoute; $autoload = require dirname(__DIR__) . '/vendor/autoload.php'; $options = getopt('', ['method:', 'suffix:', 'template:', 'word-separator:'], $optind); $namespace = $argv[$optind + 0] ?? null; if ($namespace === null) { echo "Please pass a PHP namespace as the first argument." . PHP...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
pmjones/AutoRoute
https://github.com/pmjones/AutoRoute/blob/6b517f0068b5eea60b0fe16360f206be7a219c05/bin/autoroute-dump.php
bin/autoroute-dump.php
<?php use AutoRoute\AutoRoute; $autoload = ''; $autoloadFiles = [ dirname(__DIR__) . '/vendor/autoload.php', dirname(dirname(dirname(__DIR__))) . '/autoload.php' ]; foreach ($autoloadFiles as $autoloadFile) { if (file_exists($autoloadFile)) { $autoload = require $autoloadFile; break; }...
php
MIT
6b517f0068b5eea60b0fe16360f206be7a219c05
2026-01-05T02:21:36.447413Z
false
staabm/annotate-pull-request-from-checkstyle
https://github.com/staabm/annotate-pull-request-from-checkstyle/blob/5072e6827aab0a287528b971e6b8e986b20be41c/tests/tests.php
tests/tests.php
<?php /* * Turns checkstyle based XML-Reports into Github Pull Request Annotations via the Checks API. This script is meant for use within your GithubAction. * * (c) Markus Staab <markus.staab@redaxo.org> * * For the full copyright and license information, please view the LICENSE * file that was distributed with...
php
MIT
5072e6827aab0a287528b971e6b8e986b20be41c
2026-01-05T02:22:05.000955Z
false
aschmelyun/github-receipts
https://github.com/aschmelyun/github-receipts/blob/eabd62b6fdaf6697b880fd60ef90f2dc39f5f6dc/index.php
index.php
<?php require __DIR__ . '/vendor/autoload.php'; use Mike42\Escpos\PrintConnectors\FilePrintConnector; use Mike42\Escpos\Printer; if ($_SERVER['REQUEST_METHOD'] !== 'POST') { return 'Error: Expecting a POST request'; } // initialize the printer connection, printing directly to the raw usb connection $connector =...
php
MIT
eabd62b6fdaf6697b880fd60ef90f2dc39f5f6dc
2026-01-05T02:22:12.339382Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/AuthenticatorInterface.php
src/AuthenticatorInterface.php
<?php namespace Happyr\LinkedIn; use Happyr\LinkedIn\Exception\LinkedInException; use Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface; use Happyr\LinkedIn\Storage\DataStorageInterface; /** * This interface is responsible for the authentication process with LinkedIn. * * @author Tobias Nyholm <tobias.nyholm@gma...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Authenticator.php
src/Authenticator.php
<?php namespace Happyr\LinkedIn; use Happyr\LinkedIn\Exception\LinkedInTransferException; use Happyr\LinkedIn\Exception\LinkedInException; use Happyr\LinkedIn\Http\GlobalVariableGetter; use Happyr\LinkedIn\Http\LinkedInUrlGeneratorInterface; use Happyr\LinkedIn\Http\RequestManager; use Happyr\LinkedIn\Http\RequestMan...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/LinkedIn.php
src/LinkedIn.php
<?php namespace Happyr\LinkedIn; use Happyr\LinkedIn\Exception\LoginError; use Happyr\LinkedIn\Http\GlobalVariableGetter; use Happyr\LinkedIn\Http\RequestManager; use Happyr\LinkedIn\Http\ResponseConverter; use Happyr\LinkedIn\Http\UrlGenerator; use Happyr\LinkedIn\Http\UrlGeneratorInterface; use Happyr\LinkedIn\Stor...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/LinkedInInterface.php
src/LinkedInInterface.php
<?php namespace Happyr\LinkedIn; use Happyr\LinkedIn\Exception\LoginError; use Happyr\LinkedIn\Http\UrlGeneratorInterface; use Happyr\LinkedIn\Storage\DataStorageInterface; use Http\Client\HttpClient; use Http\Message\MessageFactory; use Psr\Http\Message\ResponseInterface; /** * Interface that lets you talk to Link...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/AccessToken.php
src/AccessToken.php
<?php namespace Happyr\LinkedIn; /** * @author Tobias Nyholm */ class AccessToken { /** * @var null|string token */ private $token; /** * @var \DateTime expiresAt */ private $expiresAt; /** * @param string $token * @param \DateTime|int $expiresIn */ ...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Http/UrlGenerator.php
src/Http/UrlGenerator.php
<?php namespace Happyr\LinkedIn\Http; /** * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ class UrlGenerator implements UrlGeneratorInterface { /** * @var array knownLinkedInParams * * A list of params that might be in the query string */ public static $knownLinkedInParams = ['state...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Http/RequestManagerInterface.php
src/Http/RequestManagerInterface.php
<?php namespace Happyr\LinkedIn\Http; use Happyr\LinkedIn\Exception\LinkedInTransferException; use Http\Client\HttpClient; /** * A request manager builds a request. * * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ interface RequestManagerInterface { /** * Send a request. * * @param strin...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Http/GlobalVariableGetter.php
src/Http/GlobalVariableGetter.php
<?php namespace Happyr\LinkedIn\Http; /** * Look in $_REQUEST and $_GET if there is a variable we want. * * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ class GlobalVariableGetter { /** * Returns true iff the $_REQUEST or $_GET variables has a key with $name. * * @param string $name ...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Http/ResponseConverter.php
src/Http/ResponseConverter.php
<?php namespace Happyr\LinkedIn\Http; use Happyr\LinkedIn\Exception\InvalidArgumentException; use Happyr\LinkedIn\Exception\LinkedInTransferException; use Psr\Http\Message\ResponseInterface; class ResponseConverter { /** * Convert a PSR-7 response to a data type you want to work with. * * @param R...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Http/UrlGeneratorInterface.php
src/Http/UrlGeneratorInterface.php
<?php namespace Happyr\LinkedIn\Http; /** * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ interface UrlGeneratorInterface extends LinkedInUrlGeneratorInterface, CurrentUrlGeneratorInterface { }
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Http/CurrentUrlGeneratorInterface.php
src/Http/CurrentUrlGeneratorInterface.php
<?php namespace Happyr\LinkedIn\Http; /** * An interface to get the current URL. * * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ interface CurrentUrlGeneratorInterface { /** * Returns the current URL. * * @return string The current URL */ public function getCurrentUrl(); /*...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Http/LinkedInUrlGeneratorInterface.php
src/Http/LinkedInUrlGeneratorInterface.php
<?php namespace Happyr\LinkedIn\Http; /** * An interface to generate LinkedIn specific urls. * * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ interface LinkedInUrlGeneratorInterface { /** * Build the URL for given domain alias, path and parameters. * * @param $name string The name of the ...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Http/RequestManager.php
src/Http/RequestManager.php
<?php namespace Happyr\LinkedIn\Http; use Happyr\LinkedIn\Exception\LinkedInTransferException; use Http\Client\Exception\TransferException; use Http\Client\HttpClient; use Http\Discovery\HttpClientDiscovery; use Http\Discovery\MessageFactoryDiscovery; use Http\Message\MessageFactory; /** * A class to create HTTP re...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Storage/IlluminateSessionStorage.php
src/Storage/IlluminateSessionStorage.php
<?php namespace Happyr\LinkedIn\Storage; use Illuminate\Support\Facades\Session; /** * Store data in a IlluminateSession. * * @author Andreas Creten */ class IlluminateSessionStorage extends BaseDataStorage { /** * {@inheritdoc} */ public function set($key, $value) { $this->validate...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Storage/BaseDataStorage.php
src/Storage/BaseDataStorage.php
<?php namespace Happyr\LinkedIn\Storage; use Happyr\LinkedIn\Exception\InvalidArgumentException; /** * @author Tobias Nyholm */ abstract class BaseDataStorage implements DataStorageInterface { public static $validKeys = ['state', 'code', 'access_token', 'redirect_uri']; /** * {@inheritdoc} */ ...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Storage/SessionStorage.php
src/Storage/SessionStorage.php
<?php namespace Happyr\LinkedIn\Storage; /** * Store data in the global session. * * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ class SessionStorage extends BaseDataStorage { public function __construct() { //start the session if it not already been started if (php_sapi_name() !== ...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Storage/DataStorageInterface.php
src/Storage/DataStorageInterface.php
<?php namespace Happyr\LinkedIn\Storage; /** * We need to store data somewhere. It might be in a apc cache, filesystem cache, database or in the session. * We need it to protect us from CSRF attacks and to reduce the requests to the API. * * @author Tobias Nyholm */ interface DataStorageInterface { /** ...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Exception/LoginError.php
src/Exception/LoginError.php
<?php namespace Happyr\LinkedIn\Exception; /** * Class LoginError. * * @author Tobias Nyholm */ class LoginError { /** * @var string name */ protected $name; /** * @var string description */ protected $description; /** * @param string $name * @param string $desc...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Exception/LinkedInTransferException.php
src/Exception/LinkedInTransferException.php
<?php namespace Happyr\LinkedIn\Exception; /** * An exception with thrown by unexpected result form the remote API. * * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ class LinkedInTransferException extends LinkedInException { }
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Exception/InvalidArgumentException.php
src/Exception/InvalidArgumentException.php
<?php namespace Happyr\LinkedIn\Exception; class InvalidArgumentException extends LinkedInException { /** * Treat this constructor as sprintf(). */ public function __construct() { parent::__construct(call_user_func_array('sprintf', func_get_args())); } }
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/src/Exception/LinkedInException.php
src/Exception/LinkedInException.php
<?php namespace Happyr\LinkedIn\Exception; /** * This is the base exception of this library. * * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ class LinkedInException extends \Exception { }
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/tests/AccessTokenTest.php
tests/AccessTokenTest.php
<?php namespace Happyr\LinkedIn; /** * @author Tobias Nyholm */ class AccessTokenTest extends \PHPUnit_Framework_TestCase { public function testToString() { $token = new AccessToken(); $this->assertEquals('', $token); $token->setToken('foobar'); $this->assertEquals('foobar',...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/tests/AuthenticatorTest.php
tests/AuthenticatorTest.php
<?php namespace Happyr\LinkedIn; use GuzzleHttp\Psr7\Response; use Happyr\LinkedIn\Exception\LinkedInException; use Mockery as m; /** * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ class AuthenticatorTest extends \PHPUnit_Framework_TestCase { const APP_ID = '123456789'; const APP_SECRET = '987654321'...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/tests/LinkedInTest.php
tests/LinkedInTest.php
<?php namespace Happyr\LinkedIn; use GuzzleHttp\Psr7\Response; /** * @author Tobias Nyholm <tobias.nyholm@gmail.com> */ class LinkedInTest extends \PHPUnit_Framework_TestCase { const APP_ID = '123456789'; const APP_SECRET = '987654321'; public function testApi() { $resource = 'resource'; ...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/tests/Exceptions/LoginErrorTest.php
tests/Exceptions/LoginErrorTest.php
<?php namespace Happyr\LinkedIn\Exception; /** * Class LoginErrorTest. * * @author Tobias Nyholm */ class LoginErrorTest extends \PHPUnit_Framework_TestCase { public function testGetters() { $error = new LoginError('foo', 'bar'); $this->assertEquals('foo', $error->getName()); $thi...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/tests/Http/UrlGeneratorTest.php
tests/Http/UrlGeneratorTest.php
<?php namespace Happyr\LinkedIn\Http; /** * Class UrlGeneratorTest. * * @author Tobias Nyholm */ class UrlGeneratorTest extends \PHPUnit_Framework_TestCase { public function testDropLinkedInParams() { $gen = new DummyUrlGenerator(); $test = 'foo=bar&code=foobar&baz=foo'; $expected...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/tests/Http/ResponseConverterTest.php
tests/Http/ResponseConverterTest.php
<?php namespace Happyr\LinkedIn\Http; use GuzzleHttp\Psr7\Response; class ResponseConverterTest extends \PHPUnit_Framework_TestCase { public function testConvert() { $body = '{"foo":"bar"}'; $response = new Response(200, [], $body); $result = ResponseConverter::convert($response, 'js...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/tests/Storage/SessionStorageTest.php
tests/Storage/SessionStorageTest.php
<?php namespace Happyr\LinkedIn\Storage; use Mockery as m; /** * Class SessionStorageTest. * * @author Tobias Nyholm */ class SessionStorageTest extends \PHPUnit_Framework_TestCase { /** * @var \Happyr\LinkedIn\Storage\SessionStorage storage */ protected $storage; protected $prefix = 'link...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
Happyr/LinkedIn-API-client
https://github.com/Happyr/LinkedIn-API-client/blob/58bb3bca346e2c709f5aa474c75a9bca6d91ad9a/tests/Storage/IlluminateSessionStorageTest.php
tests/Storage/IlluminateSessionStorageTest.php
<?php namespace Happyr\LinkedIn\Storage; use Illuminate\Support\Facades\Session; /** * Class SessionStorageTest. * * @author Andreas Creten */ class IlluminateSessionStorageTest extends \PHPUnit_Framework_TestCase { /** * @var \Happyr\LinkedIn\Storage\SessionStorage storage */ protected $storag...
php
MIT
58bb3bca346e2c709f5aa474c75a9bca6d91ad9a
2026-01-05T02:22:22.484161Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/Razorpay.php
Razorpay.php
<?php // Include Requests only if not already defined if (!defined('REQUESTS_SILENCE_PSR0_DEPRECATIONS')) { define('REQUESTS_SILENCE_PSR0_DEPRECATIONS', true); } if (class_exists('WpOrg\Requests\Autoload') === false) { require_once __DIR__.'/libs/Requests-2.0.4/src/Autoload.php'; } try { WpOrg\Requests\A...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/Deprecated.php
Deprecated.php
<?php /** * Backwards compatibility layer for Requests. * * Allows for Composer to autoload the old PSR-0 classes via the custom autoloader. * This prevents issues with _extending final classes_ (which was the previous solution). * * Please see the Changelog for the 2.0.4 release for upgrade notes. * * @package...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Order.php
src/Order.php
<?php namespace Razorpay\Api; use Requests; class Order extends Entity { /** * @param $id Order id description */ public function create($attributes = array()) { $url = $this->getEntityUrl(); $attributes = json_encode($attributes); Request::addHeader('Content-Type', ...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Account.php
src/Account.php
<?php namespace Razorpay\Api; class Account extends Entity { public function create($attributes = array()) { $entityUrl = $this->getEntityUrl(); return $this->request('POST', $entityUrl, $attributes, 'v2'); } public function fetch($id) { $entityUrl = $this->getEntity...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Api.php
src/Api.php
<?php namespace Razorpay\Api; class Api { protected static $baseUrl = 'https://api.razorpay.com'; protected static $key = null; protected static $secret = null; protected static $oauthToken = null; /* * App info is to store the Plugin/integration * information */ public stat...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Token.php
src/Token.php
<?php namespace Razorpay\Api; class Token extends Entity { public function create($attributes = array()) { $url = $this->getEntityUrl(); return $this->request('POST', $url, $attributes); } /** * @param $id Token id */ public function fetch($id) ...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/ArrayableInterface.php
src/ArrayableInterface.php
<?php namespace Razorpay\Api; interface ArrayableInterface { /** * Get the instance as an array. * * @return array */ public function toArray(); }
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Collection.php
src/Collection.php
<?php namespace Razorpay\Api; use Countable; class Collection extends Entity implements Countable { public function count():int { $count = 0; if (isset($this->attributes['count'])) { return $this->attributes['count']; } return $count; } }
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Card.php
src/Card.php
<?php namespace Razorpay\Api; class Card extends Entity { /** * @param $id Card id */ public function fetch($id) { return parent::fetch($id); } public function requestCardReference($attributes = array()) { $entityUrl = $this->getEntityUrl() . '/fingerprints'; ...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Entity.php
src/Entity.php
<?php namespace Razorpay\Api; use Razorpay\Api\Errors; class Entity extends Resource implements ArrayableInterface { protected $attributes = array(); /** * Create method * * @param array $attributes * */ protected function create($attributes = null) { $entityUrl = $t...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Iin.php
src/Iin.php
<?php namespace Razorpay\Api; class Iin extends Entity { public function fetch($id) { return parent::fetch($id); } public function all($options = array()) { $relativeUrl = $this->getEntityUrl(). 'list'; return $this->request('GET', $relativeUrl, $options); } }
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Plan.php
src/Plan.php
<?php namespace Razorpay\Api; class Plan extends Entity { public function create($attributes = array()) { return parent::create($attributes); } public function fetch($id) { return parent::fetch($id); } public function all($options = array()) { return parent::a...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Dispute.php
src/Dispute.php
<?php namespace Razorpay\Api; class Dispute extends Entity { public function create($attributes = array()) { return parent::create($attributes); } public function fetch($id) { return parent::fetch($id); } public function all($options = array()) { return parent...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Product.php
src/Product.php
<?php namespace Razorpay\Api; class Product extends Entity { public function requestProductConfiguration($attributes = array()) { $url = 'accounts/'.$this->account_id .'/'.$this->getEntityUrl(); return $this->request('POST', $url, $attributes, 'v2'); } public function fe...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Customer.php
src/Customer.php
<?php namespace Razorpay\Api; class Customer extends Entity { /** * @param $id Customer id description */ public function fetch($id) { return parent::fetch($id); } public function all($options = array()) { return parent::all($options); } public function cre...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Request.php
src/Request.php
<?php namespace Razorpay\Api; use Requests; use Exception; use Requests_Hooks; use Razorpay\Api\Errors; use Razorpay\Api\Errors\ErrorCode; // Available since PHP 5.5.19 and 5.6.3 // https://git.io/fAMVS | https://secure.php.net/manual/en/curl.constants.php if (defined('CURL_SSLVERSION_TLSv1_1') === false) { def...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Subscription.php
src/Subscription.php
<?php namespace Razorpay\Api; class Subscription extends Entity { public function create($attributes = array()) { return parent::create($attributes); } public function fetch($id) { return parent::fetch($id); } public function all($options = array()) { return p...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/FundAccount.php
src/FundAccount.php
<?php namespace Razorpay\Api; use Requests; class FundAccount extends Entity { /** * Create a Fund Account . * * @param array $attributes * * @return FundAccount */ public function create($attributes = array()) { return parent::create($attributes); } /** ...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/OAuth.php
src/OAuth.php
<?php namespace Razorpay\Api; class OAuth extends Api { protected static $baseUrl = 'https://auth.razorpay.com'; public function __construct(){} public static function getBaseUrl() { return static::$baseUrl; } public static function getFullUrl($relativeUrl, $apiVersion = null) ...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Invoice.php
src/Invoice.php
<?php namespace Razorpay\Api; use Requests; /** * Invoice entity gets used for both Payment Links and Invoices system. * Few of the methods are only meaningful for Invoices system and calling those * for against/for a Payment Link would throw Bad request error. */ class Invoice extends Entity { /** * Cr...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/OAuthClient.php
src/OAuthClient.php
<?php namespace Razorpay\Api; use Razorpay\Api\Request; use Razorpay\Api\OAuthValidator; class OAuthClient { protected static $baseUrl = 'https://auth.razorpay.com'; protected static $authorize = 'authorize'; protected static $version = ''; protected static $CLIENT_ID = 'client_id'; protected...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/PaymentLink.php
src/PaymentLink.php
<?php namespace Razorpay\Api; use Requests; class PaymentLink extends Entity { /** * Creates Payment link . * * @param array $attributes * * @return PaymentLink */ public function create($attributes = array()) { $attributes = json_encode($attributes); Reque...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Webhook.php
src/Webhook.php
<?php namespace Razorpay\Api; use Requests; class Webhook extends Entity { /** * @param $id webhook id description */ public function create($attributes = array()) { if(isset($this->account_id)) { $url = 'accounts/'. $this->account_id . '/' .$this->getEntityUrl(); ...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Stakeholder.php
src/Stakeholder.php
<?php namespace Razorpay\Api; class Stakeholder extends Entity { public function create($attributes = array()) { $url = 'accounts/'.$this->account_id .'/'.$this->getEntityUrl(); return $this->request('POST', $url, $attributes, 'v2'); } public function fetch($id) { ...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Refund.php
src/Refund.php
<?php namespace Razorpay\Api; class Refund extends Entity { /** * @param $id Refund id */ public function fetch($id) { return parent::fetch($id); } public function create($attributes = array()) { return parent::create($attributes); } public function all($opt...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/Resource.php
src/Resource.php
<?php namespace Razorpay\Api; use ArrayAccess; use ArrayIterator; use IteratorAggregate; class Resource implements ArrayAccess, IteratorAggregate { protected $attributes = array(); #[\ReturnTypeWillChange] public function getIterator() { return new ArrayIterator($this->attributes); }...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false
razorpay/razorpay-php
https://github.com/razorpay/razorpay-php/blob/98e7ff7b0f0649914fa806db51cc688387722838/src/VirtualAccount.php
src/VirtualAccount.php
<?php namespace Razorpay\Api; class VirtualAccount extends Entity { public function create($attributes = array()) { return parent::create($attributes); } public function fetch($id) { return parent::fetch($id); } public function all($options = array()) { return...
php
MIT
98e7ff7b0f0649914fa806db51cc688387722838
2026-01-05T02:22:29.283190Z
false