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
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step4/header.php
Step4/header.php
<?php require_once('../config.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Wilde Things</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <div id="container"> <h2>Wilde Things</h2>
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step4/payment_form.php
Step4/payment_form.php
<h3>Sign up and buy a quote now! Only $535.00!</h3> <form action="charge.php" method="POST"> <input type="password" name="password" placeholder="Password" /> <script src="https://checkout.stripe.com/checkout.js" class="stripe-button" data-key="<?php echo $stripe['publishable_key']; ?>" data-description="...
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step4/login_form.php
Step4/login_form.php
<form action="login.php" method="post"> <h3>Log in to make a purchase with the card you have on file!</h3> <input type="text" name="email" placeholder="E-mail address" /> <input type="password" name="password" placeholder="Password" /> <input type="submit" name="login" value="Login" /> </form>
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step4/db.php
Step4/db.php
<?php // We are using a file instead of a DB for convenience. // In a real application, we'd be using a database and not delimiting our entries with strings like this // (which is pretty fragile -- for example, e-mails can actually contain semicolons and commas inside quotation marks, which would break our little schem...
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step5/footer.php
Step5/footer.php
</div><!-- #container --> </body> </html>
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step5/charge.php
Step5/charge.php
<?php require_once('./header.php'); require_once('./db.php'); if ($_SERVER['REQUEST_METHOD'] == 'POST') { $error = false; try { if (isset($_POST['customer_id'])) { $charge = \Stripe\Charge::create(array( 'customer' => $_POST['customer_id'], 'amount' => 53500, 'currency' ...
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step5/config.php
Step5/config.php
<?php require_once('public/vendor/autoload.php'); $stripe = array( 'secret_key' => '<YOUR SECRET STRIPE API KEY>', 'publishable_key' => '<YOUR PUBLISHABLE STRIPE API KEY>' ); \Stripe\Stripe::setApiKey($stripe['secret_key']);
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step5/login.php
Step5/login.php
<?php require_once('./header.php'); require_once('./db.php'); if ($_SERVER['REQUEST_METHOD'] == 'POST') { if (isset($_POST['email']) && filter_var($_POST['email'], FILTER_VALIDATE_EMAIL)) { $existing_customer = get_customer($_POST['email']); if ($existing_customer && crypt($_POST['password'], $existing_cu...
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step5/index.php
Step5/index.php
<?php require_once('./header.php'); require_once('./payment_form.php'); require_once('./footer.php');
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step5/header.php
Step5/header.php
<?php require_once('../config.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Wilde Things</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <div id="container"> <h2>Wilde Things</h2>
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step5/payment_form.php
Step5/payment_form.php
<h3>Sign up and buy a quote now! Only $535.00!</h3> <form action="charge.php" method="POST"> <input type="hidden" name="single_purchase" value="single_purchase" /> <input type="password" name="password" placeholder="Password" /> <script src="https://checkout.stripe.com/checkout.js" class="stripe-button" data-key="...
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step5/login_form.php
Step5/login_form.php
<form action="login.php" method="post"> <h3>Log in to make a purchase with the card you have on file!</h3> <input type="text" name="email" placeholder="E-mail address" /> <input type="password" name="password" placeholder="Password" /> <input type="submit" name="login" value="Login" /> </form>
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step5/db.php
Step5/db.php
<?php // We are using a file instead of a DB for convenience. // In a real application, we'd be using a database and not delimiting our entries with strings like this // (which is pretty fragile -- for example, e-mails can actually contain semicolons and commas inside quotation marks, which would break our little schem...
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step3/footer.php
Step3/footer.php
</div><!-- #container --> </body> </html>
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step3/charge.php
Step3/charge.php
<?php require_once('./header.php'); if ($_SERVER['REQUEST_METHOD'] == 'POST') { $error = false; try { if (!isset($_POST['stripeToken'])) throw new Exception("The Stripe Token was not generated correctly"); $charge = \Stripe\Charge::create(array( 'source' => $_POST['stripeToken'], 'amount...
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step3/config.php
Step3/config.php
<?php require_once('public/vendor/autoload.php'); $stripe = array( 'secret_key' => '<YOUR SECRET STRIPE API KEY>', 'publishable_key' => '<YOUR PUBLISHABLE STRIPE API KEY>' ); \Stripe\Stripe::setApiKey($stripe['secret_key']);
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step3/index.php
Step3/index.php
<?php require_once('./header.php'); require_once('./payment_form.php'); require_once('./footer.php');
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step3/header.php
Step3/header.php
<?php require_once('../config.php'); ?> <!DOCTYPE html> <html lang="en"> <head> <title>Wilde Things</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <div id="container"> <h2>Wilde Things</h2>
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step3/payment_form.php
Step3/payment_form.php
<form action="charge.php" method="POST"> <script src="https://checkout.stripe.com/checkout.js" class="stripe-button" data-key="<?php echo $stripe['publishable_key']; ?>" data-description="One Wilde quote" data-amount="53500"> </script> </form>
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step1/index.php
Step1/index.php
<!DOCTYPE html> <html lang="en"> <head> <title>Wilde Things</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <div id="container"> <?php require_once('vendor/autoload.php'); $stripe = array( 'secret_key' => '<YOUR SECRET STRIP...
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
stripe-archive/wilde-things
https://github.com/stripe-archive/wilde-things/blob/652b080faa4fe4ad6b613844d0ada5c7256504c1/Step2/index.php
Step2/index.php
<!DOCTYPE html> <html lang="en"> <head> <title>Wilde Things</title> <link rel="stylesheet" href="css/normalize.css"> <link rel="stylesheet" href="css/style.css"> </head> <body> <div id="container"> <?php require_once('vendor/autoload.php'); $stripe = array( 'secret_key' => '<YOUR SECRET STRIP...
php
MIT
652b080faa4fe4ad6b613844d0ada5c7256504c1
2026-01-05T03:37:24.540104Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/bootstrap/autoload.php
bootstrap/autoload.php
<?php define('LARAVEL_START', microtime(true)); /* |-------------------------------------------------------------------------- | Register The Composer Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader | for ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/AutoDocServiceProvider.php
src/AutoDocServiceProvider.php
<?php namespace RonasIT\AutoDoc; use Illuminate\Support\ServiceProvider; use RonasIT\AutoDoc\Commands\PushDocumentationCommand; class AutoDocServiceProvider extends ServiceProvider { public function boot() { $this->mergeConfigFrom(__DIR__ . '/../config/auto-doc.php', 'auto-doc'); $this->publ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/InvalidDriverClassException.php
src/Exceptions/InvalidDriverClassException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class InvalidDriverClassException extends Exception { public function __construct(string $driver) { parent::__construct("The driver '{$driver}' is not implements the SwaggerDriverInterface."); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/NonJSONDocFileException.php
src/Exceptions/NonJSONDocFileException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class NonJSONDocFileException extends Exception { public function __construct(string $filename) { parent::__construct("Doc file '{$filename}' is not a json doc file."); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SwaggerDriverClassNotFoundException.php
src/Exceptions/SwaggerDriverClassNotFoundException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class SwaggerDriverClassNotFoundException extends Exception { public function __construct($className) { if (empty($message)) { $message = "Driver class '{$className}' was not found. Please check configuration file."; } ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/DocFileNotExistsException.php
src/Exceptions/DocFileNotExistsException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class DocFileNotExistsException extends Exception { public function __construct(string $filename) { parent::__construct("Doc file '{$filename}' doesn't exist."); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/MissedProductionFilePathException.php
src/Exceptions/MissedProductionFilePathException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class MissedProductionFilePathException extends Exception { public function __construct($message = null, $code = 0, Exception $previous = null) { $message = $message ?? 'Production file path missed in config'; parent::__construct($me...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/FileNotFoundException.php
src/Exceptions/FileNotFoundException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Illuminate\Contracts\Filesystem\FileNotFoundException as BaseException; class FileNotFoundException extends BaseException { public function __construct(string $filePath = null) { parent::__construct("Documentation file not found {$filePath}"); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/UnsupportedDocumentationViewerException.php
src/Exceptions/UnsupportedDocumentationViewerException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class UnsupportedDocumentationViewerException extends Exception { public function __construct(string $invalidViewer) { parent::__construct( "The documentation viewer '{$invalidViewer}' does not exists." . " Please che...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/WrongSecurityConfigException.php
src/Exceptions/WrongSecurityConfigException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class WrongSecurityConfigException extends Exception { }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/LegacyConfigException.php
src/Exceptions/LegacyConfigException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class LegacyConfigException extends Exception { public function __construct() { parent::__construct('Your local auto-doc.php config file version is out of date, please update it using php artisan vendor:publish or manually.'); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/EmptyDocFileException.php
src/Exceptions/EmptyDocFileException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class EmptyDocFileException extends Exception { public function __construct(string $filename) { parent::__construct("Doc file '{$filename}' is empty."); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/EmptyContactEmailException.php
src/Exceptions/EmptyContactEmailException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class EmptyContactEmailException extends Exception { public function __construct() { parent::__construct('Please fill the `info.contact.email` field in the app-doc.php config file.'); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/MissedRemoteDocumentationUrlException.php
src/Exceptions/MissedRemoteDocumentationUrlException.php
<?php namespace RonasIT\AutoDoc\Exceptions; use Exception; class MissedRemoteDocumentationUrlException extends Exception { public function __construct($message = null, $code = 0, Exception $previous = null) { $message = $message ?? 'Remote documentation url missed in config. Please set SWAGGER_REMOTE...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/InvalidSwaggerSpecException.php
src/Exceptions/SpecValidation/InvalidSwaggerSpecException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; use Exception; class InvalidSwaggerSpecException extends Exception { public function __construct($message = '') { parent::__construct('Validation failed. '. $message); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/DuplicateFieldException.php
src/Exceptions/SpecValidation/DuplicateFieldException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class DuplicateFieldException extends InvalidSwaggerSpecException { public function __construct(string $fieldName, array $fieldValue) { $fieldValueString = implode(', ', $fieldValue); parent::__construct("Found multiple fields '{$fiel...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/DuplicatePathPlaceholderException.php
src/Exceptions/SpecValidation/DuplicatePathPlaceholderException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class DuplicatePathPlaceholderException extends InvalidSwaggerSpecException { public function __construct(array $placeholders, string $path) { $placeholdersString = implode(', ', $placeholders); parent::__construct("Path '{$path}' has...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/InvalidStatusCodeException.php
src/Exceptions/SpecValidation/InvalidStatusCodeException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class InvalidStatusCodeException extends InvalidSwaggerSpecException { public function __construct(string $responseId) { parent::__construct( "Operation at '{$responseId}' should only have three-digit status codes, `default`, " ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/DuplicateParamException.php
src/Exceptions/SpecValidation/DuplicateParamException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class DuplicateParamException extends InvalidSwaggerSpecException { public function __construct(string $in, string $name, string $operationId) { parent::__construct("Operation '{$operationId}' has multiple in:{$in} parameters with name:{$name}...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/MissingPathParamException.php
src/Exceptions/SpecValidation/MissingPathParamException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class MissingPathParamException extends InvalidSwaggerSpecException { public function __construct(string $operationId, array $placeholders) { $placeholdersString = implode(', ', $placeholders); parent::__construct("Operation '{$operat...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/MissingRefFileException.php
src/Exceptions/SpecValidation/MissingRefFileException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class MissingRefFileException extends InvalidSwaggerSpecException { public function __construct(string $filename) { parent::__construct("Filename '{$filename}' is used in \$ref but file doesn't exist."); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/InvalidFieldValueException.php
src/Exceptions/SpecValidation/InvalidFieldValueException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class InvalidFieldValueException extends InvalidSwaggerSpecException { public function __construct(string $fieldName, array $allowedValues, array $invalidValues) { $allowedValuesString = implode(', ', $allowedValues); $invalidValuesStr...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/MissingPathPlaceholderException.php
src/Exceptions/SpecValidation/MissingPathPlaceholderException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class MissingPathPlaceholderException extends InvalidSwaggerSpecException { public function __construct(string $operationId, array $params) { $paramsString = implode(', ', $params); parent::__construct("Operation '{$operationId}' has ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/MissingFieldException.php
src/Exceptions/SpecValidation/MissingFieldException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class MissingFieldException extends InvalidSwaggerSpecException { public function __construct(array $missingFields, string $parentField = null) { $fieldsString = implode(', ', $missingFields); parent::__construct("'{$parentField}' sho...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/InvalidSwaggerVersionException.php
src/Exceptions/SpecValidation/InvalidSwaggerVersionException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; use RonasIT\AutoDoc\Services\SwaggerService; class InvalidSwaggerVersionException extends InvalidSwaggerSpecException { public function __construct(string $version) { $expectedVersion = SwaggerService::OPEN_API_VERSION; parent::__con...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/InvalidPathException.php
src/Exceptions/SpecValidation/InvalidPathException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class InvalidPathException extends InvalidSwaggerSpecException { public function __construct(string $path) { parent::__construct("Incorrect '{$path}'. Paths should only have path names that starts with `/`."); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/MissingLocalRefException.php
src/Exceptions/SpecValidation/MissingLocalRefException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class MissingLocalRefException extends InvalidSwaggerSpecException { public function __construct(string $ref, string $parentField) { parent::__construct("Ref '{$ref}' is used in \$ref but not defined in '{$parentField}' field."); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Exceptions/SpecValidation/MissingExternalRefException.php
src/Exceptions/SpecValidation/MissingExternalRefException.php
<?php namespace RonasIT\AutoDoc\Exceptions\SpecValidation; class MissingExternalRefException extends InvalidSwaggerSpecException { public function __construct(string $ref, string $filename) { parent::__construct("Ref '{$ref}' is used in \$ref but not defined in '{$filename}' file."); } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Http/routes.php
src/Http/routes.php
<?php use RonasIT\AutoDoc\Http\Controllers\AutoDocController; Route::group(['prefix' => config('auto-doc.global_prefix')], function () { Route::get('/auto-doc/documentation', ['uses' => AutoDocController::class . '@documentation']); Route::get('/auto-doc/{file}', ['uses' => AutoDocController::class . '@getFil...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Http/Controllers/AutoDocController.php
src/Http/Controllers/AutoDocController.php
<?php namespace RonasIT\AutoDoc\Http\Controllers; use Illuminate\Http\Request; use Illuminate\Routing\Controller as BaseController; use RonasIT\AutoDoc\Services\SwaggerService; use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; class AutoDocController extends BaseController { protected $service; ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Http/Middleware/AutoDocMiddleware.php
src/Http/Middleware/AutoDocMiddleware.php
<?php namespace RonasIT\AutoDoc\Http\Middleware; use Closure; use RonasIT\AutoDoc\Services\SwaggerService; /** * @property SwaggerService $service */ class AutoDocMiddleware { public static $skipped = false; public function handle($request, Closure $next) { $response = $next($request); ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Drivers/LocalDriver.php
src/Drivers/LocalDriver.php
<?php namespace RonasIT\AutoDoc\Drivers; use Illuminate\Support\Str; use RonasIT\AutoDoc\Exceptions\FileNotFoundException; use RonasIT\AutoDoc\Exceptions\MissedProductionFilePathException; use RonasIT\AutoDoc\Exceptions\EmptyDocFileException; use RonasIT\AutoDoc\Exceptions\NonJSONDocFileException; class LocalDriver ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Drivers/BaseDriver.php
src/Drivers/BaseDriver.php
<?php namespace RonasIT\AutoDoc\Drivers; use Illuminate\Support\Facades\ParallelTesting; use RonasIT\AutoDoc\Contracts\SwaggerDriverContract; use RonasIT\AutoDoc\Support\Mutex; abstract class BaseDriver implements SwaggerDriverContract { protected string $tempFilePath; protected string $processTempFilePath; ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Drivers/StorageDriver.php
src/Drivers/StorageDriver.php
<?php namespace RonasIT\AutoDoc\Drivers; use RonasIT\AutoDoc\Exceptions\FileNotFoundException; use Illuminate\Contracts\Filesystem\Filesystem; use Illuminate\Support\Facades\Storage; use RonasIT\AutoDoc\Exceptions\MissedProductionFilePathException; use RonasIT\AutoDoc\Exceptions\EmptyDocFileException; use RonasIT\Aut...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Drivers/RemoteDriver.php
src/Drivers/RemoteDriver.php
<?php namespace RonasIT\AutoDoc\Drivers; use RonasIT\AutoDoc\Exceptions\FileNotFoundException; use RonasIT\AutoDoc\Exceptions\MissedRemoteDocumentationUrlException; use RonasIT\AutoDoc\Exceptions\NonJSONDocFileException; class RemoteDriver extends BaseDriver { protected string $key; protected ?string $remote...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Traits/AutoDocTestCaseTrait.php
src/Traits/AutoDocTestCaseTrait.php
<?php namespace RonasIT\AutoDoc\Traits; use RonasIT\AutoDoc\Http\Middleware\AutoDocMiddleware; trait AutoDocTestCaseTrait { /** * Disabling documentation collecting on current test */ public function skipDocumentationCollecting() { AutoDocMiddleware::$skipped = true; } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Traits/GetDependenciesTrait.php
src/Traits/GetDependenciesTrait.php
<?php namespace RonasIT\AutoDoc\Traits; use ReflectionMethod; use ReflectionFunction; use ReflectionParameter; use Illuminate\Support\Arr; use ReflectionFunctionAbstract; use Illuminate\Container\Container; trait GetDependenciesTrait { public function resolveClassMethodDependencies(object $instance, string $meth...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Support/Mutex.php
src/Support/Mutex.php
<?php namespace RonasIT\AutoDoc\Support; use RuntimeException; class Mutex { protected const string MODE_FILE_READ_WRITE = 'c+'; protected const string MODE_FILE_READ = 'r'; public function __construct( protected int $maxRetries, protected int $waitTime, ) { } public functio...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Support/PHPUnit/EventSubscribers/SwaggerSaveDocumentationSubscriber.php
src/Support/PHPUnit/EventSubscribers/SwaggerSaveDocumentationSubscriber.php
<?php namespace RonasIT\AutoDoc\Support\PHPUnit\EventSubscribers; use Illuminate\Contracts\Console\Kernel; use Illuminate\Foundation\Application; use PHPUnit\Event\Application\Finished; use PHPUnit\Event\Application\FinishedSubscriber; use RonasIT\AutoDoc\Services\SwaggerService; final class SwaggerSaveDocumentation...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Support/PHPUnit/Extensions/SwaggerExtension.php
src/Support/PHPUnit/Extensions/SwaggerExtension.php
<?php namespace RonasIT\AutoDoc\Support\PHPUnit\Extensions; use PHPUnit\Runner\Extension\Extension as PhpunitExtension; use PHPUnit\Runner\Extension\Facade as EventFacade; use PHPUnit\Runner\Extension\ParameterCollection; use PHPUnit\TextUI\Configuration\Configuration; use RonasIT\AutoDoc\Support\PHPUnit\EventSubscri...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Services/SwaggerService.php
src/Services/SwaggerService.php
<?php namespace RonasIT\AutoDoc\Services; use Illuminate\Container\Container; use Illuminate\Http\Request; use Illuminate\Http\Testing\File; use Illuminate\Support\Arr; use Illuminate\Support\Facades\ParallelTesting; use Illuminate\Support\Facades\URL; use Illuminate\Support\Str; use ReflectionClass; use RonasIT\Auto...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Contracts/SwaggerDriverContract.php
src/Contracts/SwaggerDriverContract.php
<?php namespace RonasIT\AutoDoc\Contracts; interface SwaggerDriverContract { /** * Add current process tmp data to the temp documentation file * * @param callable $appendDataCallback with 1 array argument, containing the current temp file content as array */ public function appendProcessDa...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Validators/SwaggerSpecValidator.php
src/Validators/SwaggerSpecValidator.php
<?php namespace RonasIT\AutoDoc\Validators; use Illuminate\Support\Arr; use Illuminate\Support\Str; use RonasIT\AutoDoc\Exceptions\SpecValidation\DuplicateFieldException; use RonasIT\AutoDoc\Exceptions\SpecValidation\DuplicateParamException; use RonasIT\AutoDoc\Exceptions\SpecValidation\DuplicatePathPlaceholderExcept...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/src/Commands/PushDocumentationCommand.php
src/Commands/PushDocumentationCommand.php
<?php namespace RonasIT\AutoDoc\Commands; use Illuminate\Console\Command; use RonasIT\AutoDoc\Services\SwaggerService; class PushDocumentationCommand extends Command { protected $signature = 'swagger:push-documentation'; protected $description = 'Push swagger collected documentation'; public function ha...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/PushDocumentationCommandTest.php
tests/PushDocumentationCommandTest.php
<?php namespace RonasIT\AutoDoc\Tests; use RonasIT\AutoDoc\Tests\Support\Traits\SwaggerServiceMockTrait; class PushDocumentationCommandTest extends TestCase { use SwaggerServiceMockTrait; public function testHandle() { $this->mockDriverSaveData(); $this->artisan('swagger:push-documentat...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/LocalDriverTest.php
tests/LocalDriverTest.php
<?php namespace RonasIT\AutoDoc\Tests; use RonasIT\AutoDoc\Drivers\LocalDriver; use RonasIT\AutoDoc\Exceptions\FileNotFoundException; use RonasIT\AutoDoc\Exceptions\MissedProductionFilePathException; use RonasIT\AutoDoc\Exceptions\EmptyDocFileException; use RonasIT\AutoDoc\Exceptions\NonJSONDocFileException; class L...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/RemoteDriverTest.php
tests/RemoteDriverTest.php
<?php namespace RonasIT\AutoDoc\Tests; use RonasIT\AutoDoc\Drivers\RemoteDriver; use RonasIT\AutoDoc\Exceptions\MissedRemoteDocumentationUrlException; use RonasIT\AutoDoc\Exceptions\FileNotFoundException; use RonasIT\AutoDoc\Exceptions\NonJSONDocFileException; class RemoteDriverTest extends TestCase { protected ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/TestCase.php
tests/TestCase.php
<?php namespace RonasIT\AutoDoc\Tests; use Illuminate\Filesystem\Filesystem; use Illuminate\Http\Request; use Illuminate\Support\Arr; use Illuminate\Support\Facades\ParallelTesting; use Illuminate\Support\Facades\Route; use Illuminate\Testing\TestResponse; use Orchestra\Testbench\TestCase as BaseTest; use RonasIT\Aut...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/AutoDocControllerTest.php
tests/AutoDocControllerTest.php
<?php namespace RonasIT\AutoDoc\Tests; use Illuminate\Http\Response; use phpmock\phpunit\PHPMock; class AutoDocControllerTest extends TestCase { use PHPMock; protected static array $documentation; protected static string $localDriverFilePath; public function setUp(): void { parent::setU...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/AutoDocMiddlewareTest.php
tests/AutoDocMiddlewareTest.php
<?php namespace RonasIT\AutoDoc\Tests; use RonasIT\AutoDoc\Http\Middleware\AutoDocMiddleware; use RonasIT\AutoDoc\Tests\Support\Traits\SwaggerServiceMockTrait; class AutoDocMiddlewareTest extends TestCase { use SwaggerServiceMockTrait; public function testHandle() { $this->mockDriverGetEmptyAndS...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/StorageDriverTest.php
tests/StorageDriverTest.php
<?php namespace RonasIT\AutoDoc\Tests; use RonasIT\AutoDoc\Exceptions\FileNotFoundException; use Illuminate\Contracts\Filesystem\Filesystem; use Illuminate\Support\Facades\Storage; use RonasIT\AutoDoc\Drivers\StorageDriver; use RonasIT\AutoDoc\Exceptions\MissedProductionFilePathException; use RonasIT\AutoDoc\Exceptio...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/SwaggerServiceTest.php
tests/SwaggerServiceTest.php
<?php namespace RonasIT\AutoDoc\Tests; use Illuminate\Http\Testing\File; use PHPUnit\Framework\Attributes\DataProvider; use RonasIT\AutoDoc\Exceptions\EmptyContactEmailException; use RonasIT\AutoDoc\Exceptions\InvalidDriverClassException; use RonasIT\AutoDoc\Exceptions\LegacyConfigException; use RonasIT\AutoDoc\Excep...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
true
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Traits/SwaggerServiceTestingTrait.php
tests/support/Traits/SwaggerServiceTestingTrait.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Traits; use RonasIT\Support\Traits\MockTrait; use Illuminate\Support\Str; trait SwaggerServiceTestingTrait { use MockTrait; protected function fillTempFile(string $content): void { file_put_contents(getcwd() . '/storage/temp_documentation.json', $con...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Traits/SwaggerServiceMockTrait.php
tests/support/Traits/SwaggerServiceMockTrait.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Traits; use RonasIT\AutoDoc\Drivers\LocalDriver; use RonasIT\Support\Traits\MockTrait; trait SwaggerServiceMockTrait { use MockTrait; protected function mockDriverGetEmptyAndSaveProcessTmpData( $processTmpData, $savedProcessTmpData = null, ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Mock/TestRuleWithToStringRule.php
tests/support/Mock/TestRuleWithToStringRule.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Mock; use Closure; class TestRuleWithToStringRule { public function validate(string $attribute, mixed $value, Closure $fail): void { } public function __toString() { return 'with_to_array_rule_string_name'; } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Mock/TestEmptyRequest.php
tests/support/Mock/TestEmptyRequest.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Mock; use Illuminate\Foundation\Http\FormRequest; class TestEmptyRequest extends FormRequest { }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Mock/TestRequestWithoutRuleType.php
tests/support/Mock/TestRequestWithoutRuleType.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Mock; use Illuminate\Foundation\Http\FormRequest; class TestRequestWithoutRuleType extends FormRequest { public function rules(): array { return [ 'query' => 'required' ]; } }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Mock/TestRuleWithoutToStringRule.php
tests/support/Mock/TestRuleWithoutToStringRule.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Mock; use Closure; /** * A test request class to test for getting the rule name. */ class TestRuleWithoutToStringRule { /** * Run the validation rule. */ public function validate(string $attribute, mixed $value, Closure $fail): void { // M...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Mock/TestNotificationSetting.php
tests/support/Mock/TestNotificationSetting.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Mock; use Illuminate\Database\Eloquent\Model; class TestNotificationSetting extends Model { protected $fillable = [ 'user_id', 'is_email_enabled', 'is_push_enabled', 'is_sms_enabled' ]; protected $hidden = ['pivot']; prot...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Mock/TestController.php
tests/support/Mock/TestController.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Mock; class TestController { public function test(TestRequest $request) { } public function testRequestWithoutRuleType(TestRequestWithoutRuleType $request) { } public function testRequestWithAnnotations(TestRequestWithAnnotations $request) ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Mock/TestRequest.php
tests/support/Mock/TestRequest.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Mock; use Illuminate\Foundation\Http\FormRequest; class TestRequest extends FormRequest { public function rules(): array { return [ 'query' => 'string|required', 'user_id' => ['integer', new TestRuleWithToStringRule()], ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Mock/TestContract.php
tests/support/Mock/TestContract.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Mock; interface TestContract { public function find(string $resourceType, string $resourceId): ?object; }
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/tests/support/Mock/TestRequestWithAnnotations.php
tests/support/Mock/TestRequestWithAnnotations.php
<?php namespace RonasIT\AutoDoc\Tests\Support\Mock; use Illuminate\Foundation\Http\FormRequest; /** * @deprecated * @summary Request class to validate input data * @description Description of the request class * @_200 The operation was completed successfully */ class TestRequestWithAnnotations extends FormReque...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/config/auto-doc.php
config/auto-doc.php
<?php use RonasIT\AutoDoc\Drivers\LocalDriver; use RonasIT\AutoDoc\Drivers\RemoteDriver; use RonasIT\AutoDoc\Drivers\StorageDriver; return [ /* |-------------------------------------------------------------------------- | Documentation Route |----------------------------------------------------------...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/resources/views/documentation-elements.blade.php
resources/views/documentation-elements.blade.php
<!-- HTML for static distribution bundle build --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <title>Elements in HTML</title> <!-- Embed elements Elements via Web Component --> <script src="{{ ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/resources/views/documentation-swagger.blade.php
resources/views/documentation-swagger.blade.php
<!-- HTML for static distribution bundle build --> <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Swagger UI</title> <link rel="stylesheet" type="text/css" href="{{ config('auto-doc.global_prefix') }}/auto-doc/swagger-ui.css" > <link rel="icon" type="image/png" href="{{ config('au...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/resources/views/documentation-scalar.blade.php
resources/views/documentation-scalar.blade.php
<!DOCTYPE html> <html lang="en"> <head> <title>Scalar</title> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> </head> <body> <script id="api-reference" data-url="{{ config('auto-doc.global_prefix') }}/auto-doc/documentation" data-proxy...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/resources/views/documentation-rapidoc.blade.php
resources/views/documentation-rapidoc.blade.php
<!doctype html> <!-- Important: must specify --> <html lang="en"> <head> <meta charset="utf-8"> <!-- Important: rapi-doc uses utf8 characters --> <script src="{{ config('auto-doc.global_prefix') }}/auto-doc/rapidoc-min.js"></script> <title>Documentation</title> </head> <body> ...
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/resources/views/swagger-description.blade.php
resources/views/swagger-description.blade.php
This is automatically collected documentation
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
RonasIT/laravel-swagger
https://github.com/RonasIT/laravel-swagger/blob/db496035902e1bfacb5db25e8fa427ef966fd0e8/resources/views/error.blade.php
resources/views/error.blade.php
## ❗️ **ERROR** ❗️ ### 🚨🚨 {{ $type }} 🚨🚨 --- #### **Details:** {{ $message }} #### **Error place:** {{ $error_place }}
php
MIT
db496035902e1bfacb5db25e8fa427ef966fd0e8
2026-01-05T03:37:04.423247Z
false
orisintel/laravel-migration-snapshot
https://github.com/orisintel/laravel-migration-snapshot/blob/5e6606217c210ad9457365e16581ec0f2ee28309/src/EventServiceProvider.php
src/EventServiceProvider.php
<?php namespace OrisIntel\MigrationSnapshot; final class EventServiceProvider extends \Illuminate\Foundation\Support\Providers\EventServiceProvider { protected $listen = [ // CONSIDER: Only registering these when Laravel version doesn't have // more specific hooks. 'Illuminate\Console\Eve...
php
MIT
5e6606217c210ad9457365e16581ec0f2ee28309
2026-01-05T03:37:32.943391Z
false
orisintel/laravel-migration-snapshot
https://github.com/orisintel/laravel-migration-snapshot/blob/5e6606217c210ad9457365e16581ec0f2ee28309/src/ServiceProvider.php
src/ServiceProvider.php
<?php namespace OrisIntel\MigrationSnapshot; use OrisIntel\MigrationSnapshot\Commands\MigrateDumpCommand; use OrisIntel\MigrationSnapshot\Commands\MigrateLoadCommand; class ServiceProvider extends \Illuminate\Support\ServiceProvider { public function boot() { if ($this->app->runningInConsole()) { ...
php
MIT
5e6606217c210ad9457365e16581ec0f2ee28309
2026-01-05T03:37:32.943391Z
false
orisintel/laravel-migration-snapshot
https://github.com/orisintel/laravel-migration-snapshot/blob/5e6606217c210ad9457365e16581ec0f2ee28309/src/Commands/MigrateDumpCommand.php
src/Commands/MigrateDumpCommand.php
<?php namespace OrisIntel\MigrationSnapshot\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\DB; final class MigrateDumpCommand extends Command { public const SCHEMA_SQL_PATH_SUFFIX = '/migrations/sql/schema.sql'; public const DATA_SQL_PATH_SUFFIX = '/migrations/sql/data.sql'; pu...
php
MIT
5e6606217c210ad9457365e16581ec0f2ee28309
2026-01-05T03:37:32.943391Z
false
orisintel/laravel-migration-snapshot
https://github.com/orisintel/laravel-migration-snapshot/blob/5e6606217c210ad9457365e16581ec0f2ee28309/src/Commands/MigrateLoadCommand.php
src/Commands/MigrateLoadCommand.php
<?php namespace OrisIntel\MigrationSnapshot\Commands; use Illuminate\Console\Command; use Illuminate\Support\Facades\DB; use InvalidArgumentException; use Symfony\Component\Console\Output\OutputInterface; final class MigrateLoadCommand extends Command { protected $signature = 'migrate:load {--database= :...
php
MIT
5e6606217c210ad9457365e16581ec0f2ee28309
2026-01-05T03:37:32.943391Z
false
orisintel/laravel-migration-snapshot
https://github.com/orisintel/laravel-migration-snapshot/blob/5e6606217c210ad9457365e16581ec0f2ee28309/src/Handlers/MigrateFinishedHandler.php
src/Handlers/MigrateFinishedHandler.php
<?php namespace OrisIntel\MigrationSnapshot\Handlers; use Illuminate\Console\Events\CommandFinished; use OrisIntel\MigrationSnapshot\Commands\MigrateDumpCommand; class MigrateFinishedHandler { public function handle(CommandFinished $event) { if ( // CONSIDER: Also `migrate:fresh`. ...
php
MIT
5e6606217c210ad9457365e16581ec0f2ee28309
2026-01-05T03:37:32.943391Z
false
orisintel/laravel-migration-snapshot
https://github.com/orisintel/laravel-migration-snapshot/blob/5e6606217c210ad9457365e16581ec0f2ee28309/src/Handlers/MigrateStartingHandler.php
src/Handlers/MigrateStartingHandler.php
<?php namespace OrisIntel\MigrationSnapshot\Handlers; use Illuminate\Console\Events\CommandStarting; use OrisIntel\MigrationSnapshot\Commands\MigrateDumpCommand; use Symfony\Component\Console\Input\ArgvInput; use Symfony\Component\Console\Input\InputInterface; class MigrateStartingHandler { // CONSIDER: Support...
php
MIT
5e6606217c210ad9457365e16581ec0f2ee28309
2026-01-05T03:37:32.943391Z
false
orisintel/laravel-migration-snapshot
https://github.com/orisintel/laravel-migration-snapshot/blob/5e6606217c210ad9457365e16581ec0f2ee28309/tests/TestCase.php
tests/TestCase.php
<?php namespace OrisIntel\MigrationSnapshot\Tests; use OrisIntel\MigrationSnapshot\Commands\MigrateDumpCommand; class TestCase extends \Orchestra\Testbench\TestCase { protected $dbDefault = 'mysql'; protected $schemaSqlDirectory; protected $schemaSqlPath; protected function setUp(): void { ...
php
MIT
5e6606217c210ad9457365e16581ec0f2ee28309
2026-01-05T03:37:32.943391Z
false
orisintel/laravel-migration-snapshot
https://github.com/orisintel/laravel-migration-snapshot/blob/5e6606217c210ad9457365e16581ec0f2ee28309/tests/MigrateHookTest.php
tests/MigrateHookTest.php
<?php namespace OrisIntel\MigrationSnapshot\Tests\Mysql; use OrisIntel\MigrationSnapshot\Tests\TestCase; use Symfony\Component\Console\Output\BufferedOutput; class MigrateHookTest extends TestCase { public function test_handle() { // Make the dump file. $this->createTestTablesWithoutMigrate(...
php
MIT
5e6606217c210ad9457365e16581ec0f2ee28309
2026-01-05T03:37:32.943391Z
false
orisintel/laravel-migration-snapshot
https://github.com/orisintel/laravel-migration-snapshot/blob/5e6606217c210ad9457365e16581ec0f2ee28309/tests/MigrateDumpTest.php
tests/MigrateDumpTest.php
<?php use OrisIntel\MigrationSnapshot\Commands\MigrateDumpCommand; use OrisIntel\MigrationSnapshot\Tests\TestCase; class MigrateDumpTest extends TestCase { protected function getEnvironmentSetUp($app) { parent::getEnvironmentSetUp($app); $app['config']->set( 'migration-snapshot.aft...
php
MIT
5e6606217c210ad9457365e16581ec0f2ee28309
2026-01-05T03:37:32.943391Z
false