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 |
|---|---|---|---|---|---|---|---|---|
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/BalancePlatform/ManageCardPINApi.php | src/Adyen/Service/BalancePlatform/ManageCardPINApi.php | <?php
/**
* Configuration API
*
* The version of the OpenAPI document: 2
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manua... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/BalancePlatform/CardOrdersApi.php | src/Adyen/Service/BalancePlatform/CardOrdersApi.php | <?php
/**
* Configuration API
*
* The version of the OpenAPI document: 2
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manua... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/BalancePlatform/GrantOffersApi.php | src/Adyen/Service/BalancePlatform/GrantOffersApi.php | <?php
/**
* Configuration API
*
* The version of the OpenAPI document: 2
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manua... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/BalancePlatform/NetworkTokensApi.php | src/Adyen/Service/BalancePlatform/NetworkTokensApi.php | <?php
/**
* Configuration API
*
* The version of the OpenAPI document: 2
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manua... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/BalancePlatform/TransferRoutesApi.php | src/Adyen/Service/BalancePlatform/TransferRoutesApi.php | <?php
/**
* Configuration API
*
* The version of the OpenAPI document: 2
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manua... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php | src/Adyen/Service/BalancePlatform/PaymentInstrumentGroupsApi.php | <?php
/**
* Configuration API
*
* The version of the OpenAPI document: 2
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manua... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/BalancePlatform/PlatformApi.php | src/Adyen/Service/BalancePlatform/PlatformApi.php | <?php
/**
* Configuration API
*
* The version of the OpenAPI document: 2
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manua... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/Transfers/TransactionsApi.php | src/Adyen/Service/Transfers/TransactionsApi.php | <?php
/**
* Transfers API
*
* The version of the OpenAPI document: 4
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/Transfers/CapitalApi.php | src/Adyen/Service/Transfers/CapitalApi.php | <?php
/**
* Transfers API
*
* The version of the OpenAPI document: 4
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/src/Adyen/Service/Transfers/TransfersApi.php | src/Adyen/Service/Transfers/TransfersApi.php | <?php
/**
* Transfers API
*
* The version of the OpenAPI document: 4
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 6.0.1
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/TestCase.php | tests/TestCase.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/bootstrap.php | tests/bootstrap.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Builder/ReferralTest.php | tests/Builder/ReferralTest.php | <?php
namespace Adyen\Tests\Builder;
use Adyen\Service\Builder\Referral;
use Adyen\Tests\TestCase;
class ReferralTest extends TestCase
{
public function testPaymentReferralRequest()
{
$expectedResult = array(
'accountCode' => 'TestMerchant',
'referralType' => 'shopperemail',
... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Builder/PaymentTest.php | tests/Builder/PaymentTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Builder/AddressTest.php | tests/Builder/AddressTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Builder/RefundTest.php | tests/Builder/RefundTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Builder/BrowserTest.php | tests/Builder/BrowserTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Builder/CustomerTest.php | tests/Builder/CustomerTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Builder/OpenInvoiceTest.php | tests/Builder/OpenInvoiceTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Integration/PosPaymentTest.php | tests/Integration/PosPaymentTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/MockTest/BinLookupTest.php | tests/MockTest/BinLookupTest.php | <?php
namespace Adyen\Tests\MockTest;
use Adyen\Service\BinLookup;
use Adyen\Tests\Unit\TestCaseMock;
class BinLookupTest extends TestCaseMock
{
/**
* @dataProvider successGetCostEstimateProvider
*/
public function testEstimateIsSuccessful($jsonFile, $httpStatus)
{
// create Checkout cl... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/RecurringTest.php | tests/Unit/RecurringTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/StoredValueTest.php | tests/Unit/StoredValueTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Model\StoredValue\StoredValueStatusChangeRequest;
use Adyen\Model\StoredValue\StoredValueStatusChangeResponse;
use Adyen\Model\StoredValue\StoredValueVoidRequest;
use Adyen\Model\StoredValue\StoredValueVoidResponse;
use Adyen\Service\StoredValueApi;
class StoredValueTest e... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/NotificationTest.php | tests/Unit/NotificationTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/CheckoutTest.php | tests/Unit/CheckoutTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/RegionTest.php | tests/Unit/RegionTest.php | <?php
namespace Adyen\Tests\Unit;
use PHPUnit\Framework\TestCase;
use Adyen\Region;
class RegionTest extends TestCase
{
/**
* Retrieves all region constants for comparison.
* Filters out non-string values to exclude mappings.
*
* @return array<string> A list of valid regions.
*/
priv... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ModelBasedCheckoutTest.php | tests/Unit/ModelBasedCheckoutTest.php | <?php declare(strict_types=1);
namespace Adyen\Tests\Unit;
use Adyen\AdyenException;
use Adyen\Model\Checkout\Amount;
use Adyen\Model\Checkout\BillingAddress;
use Adyen\Model\Checkout\CardDetailsRequest;
use Adyen\Model\Checkout\CheckoutPaymentMethod;
use Adyen\Model\Checkout\CreateCheckoutSessionRequest;
use Adyen\M... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ModificationTest.php | tests/Unit/ModificationTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/BalanceControlTest.php | tests/Unit/BalanceControlTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Model\BalanceControl\BalanceTransferRequest;
use Adyen\Model\BalanceControl\BalanceTransferResponse;
use Adyen\Service\BalanceControlApi;
class BalanceControlTest extends TestCaseMock
{
public function testBalanceTransfer()
{
$client = $this->createMockClie... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/PaymentTest.php | tests/Unit/PaymentTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ValidatorTest.php | tests/Unit/ValidatorTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Service\Validator\CheckoutStateDataValidator;
use Adyen\Tests\TestCase;
class ValidatorTest extends TestCase
{
public function testCheckoutStateDataValidator()
{
$params = array(
'paymentMethod' => 'ideal',
'billingAddress' => 'Stree... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ClientTest.php | tests/Unit/ClientTest.php | <?php
namespace Adyen\Tests\Unit;
use PHPUnit\Framework\TestCase;
use Adyen\Client;
use Adyen\Environment;
class ClientTest extends TestCase
{
public function testCreate(): void
{
$client = new Client();
$client->setApplicationName("My Test Application");
$client->setEnvironment(Envi... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/BalancePlatformTest.php | tests/Unit/BalancePlatformTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\AdyenException;
use Adyen\Client;
use Adyen\Environment;
use Adyen\Model\BalancePlatform\AccountHolder;
use Adyen\Model\BalancePlatform\AccountHolderUpdateRequest;
use Adyen\Model\BalancePlatform\BankAccountIdentificationValidationRequest;
use Adyen\Model\BalancePlatform\Pa... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/AccountHolderTest.php | tests/Unit/AccountHolderTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/AbstractResourceTest.php | tests/Unit/AbstractResourceTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Service;
use Adyen\Service\AbstractResource;
use Adyen\Tests\TestCase;
use Adyen\TransactionType;
use DMS\PHPUnitExtensions\ArraySubset\Assert;
class AbstractResourceTest extends TestCase
{
/**
* @var string
*/
private $className = AbstractResource::class... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/PosMobileApiTest.php | tests/Unit/PosMobileApiTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Service\PosMobileApi;
use Adyen\Model\PosMobile\CreateSessionRequest;
use Adyen\Environment;
class PosMobileApiTest extends TestCaseMock
{
/**
* @param $jsonFile
* @param $httpStatus
* @dataProvider posMobileApiProvider
* @throws \Adyen\AdyenExcept... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/FundTest.php | tests/Unit/FundTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/PosPaymentTest.php | tests/Unit/PosPaymentTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/PaymentsAppTest.php | tests/Unit/PaymentsAppTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/CheckoutUtilityTest.php | tests/Unit/CheckoutUtilityTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ServiceTest.php | tests/Unit/ServiceTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\AdyenException;
use Adyen\Client;
use Adyen\Environment;
use Adyen\Service;
use Adyen\Service\AbstractResource;
use function PHPUnit\Framework\assertEquals;
class ServiceTest extends TestCaseMock
{
public function testLiveURLPrefixPal()
{
$client = new Clie... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ModelBasedPayoutTest.php | tests/Unit/ModelBasedPayoutTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Model\Payout\ModifyRequest;
use Adyen\Model\Payout\PayoutRequest;
use Adyen\Model\Payout\PayoutResponse;
use Adyen\Model\Payout\StoreDetailRequest;
use Adyen\Service\Payout\InitializationApi;
use Adyen\Service\Payout\InstantPayoutsApi;
use Adyen\Service\Payout\ReviewingApi;... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/BinLookupTest.php | tests/Unit/BinLookupTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Model\BinLookup\CostEstimateRequest;
use Adyen\Model\BinLookup\CostEstimateResponse;
use Adyen\Model\BinLookup\ThreeDSAvailabilityRequest;
class BinLookupTest extends TestCaseMock
{
public function testGet3DSAvailability()
{
// create Checkout client
... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ManagementTest.php | tests/Unit/ManagementTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Service\Management;
class ManagementTest extends TestCaseMock
{
const LINKS = '_links';
const DATA = 'data';
const ITEMS_TOTAL = 'itemsTotal';
const YOUR_MERCHANT_ACCOUNT = 'YOUR MERCHANT ACCOUNT';
const SKIP_TEST_MESSAGE = '"Skipped the test. Configur... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/RiskManagementTest.php | tests/Unit/RiskManagementTest.php | <?php
namespace Adyen\Tests\Unit;
class RiskManagementTest extends TestCaseMock
{
/**
* @param $jsonFile
* @param $httpStatus
* @dataProvider successSubmitReferralsWithDataProvider
* @throws \Adyen\AdyenException
*/
public function testRefundWithDataSuccess($jsonFile, $httpStatus)
... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/DataProtectionTest.php | tests/Unit/DataProtectionTest.php | <?php declare(strict_types=1);
namespace Adyen\Tests\Unit;
use Adyen\AdyenException;
use Adyen\Client;
use Adyen\Config;
use Adyen\Environment;
use Adyen\HttpClient\ClientInterface;
use Adyen\Model\DataProtection\SubjectErasureByPspReferenceRequest;
use Adyen\Model\DataProtection\SubjectErasureResponse;
use Adyen\Ser... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/TransfersTest.php | tests/Unit/TransfersTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Model\Transfers\Transaction;
use Adyen\Model\Transfers\Transfer;
use Adyen\Model\Transfers\TransferInfo;
use Adyen\Service\Transfers\TransactionsApi;
use Adyen\Service\Transfers\TransfersApi;
use DateTime;
use function PHPUnit\Framework\assertEquals;
class TransfersTest ex... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ModelBasedPaymentsTest.php | tests/Unit/ModelBasedPaymentsTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Model\Payments\AdjustAuthorisationRequest;
use Adyen\Model\Payments\CancelRequest;
use Adyen\Model\Payments\PaymentRequest;
use Adyen\Model\Payments\PaymentRequest3d;
use Adyen\Model\Payments\PaymentRequest3ds2;
use Adyen\Service\Payments\ModificationsApi;
use Adyen\Service... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/POSTerminalTest.php | tests/Unit/POSTerminalTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Environment;
use Adyen\Model\POSTerminalManagement\AssignTerminalsRequest;
use Adyen\Model\POSTerminalManagement\GetTerminalsUnderAccountRequest;
use Adyen\Service\POSTerminalManagementApi;
use function PHPUnit\Framework\assertEquals;
class POSTerminalTest extends TestCase... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/LegalEntityManagementTest.php | tests/Unit/LegalEntityManagementTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Model\LegalEntityManagement\BusinessLine;
use Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentRequest;
use Adyen\Model\LegalEntityManagement\GetTermsOfServiceDocumentResponse;
use Adyen\Model\LegalEntityManagement\TransferInstrumentInfo;
use Adyen\Service\LegalEn... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/DisputesTest.php | tests/Unit/DisputesTest.php | <?php
namespace Adyen\Tests\Unit;
class DisputesTest extends TestCaseMock
{
/**
* @throws AdyenException
* @throws \Adyen\AdyenException
*/
public function testAcceptDispute()
{
$client = $this->createMockClientUrl("tests/Resources/Disputes/generic-200.json");
// initialize ... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ModelBasedRecurringTest.php | tests/Unit/ModelBasedRecurringTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Model\Recurring\NotifyShopperRequest;
use Adyen\Model\Recurring\ScheduleAccountUpdaterRequest;
class ModelBasedRecurringTest extends TestCaseMock
{
/**
* @param $jsonFile
* @param $httpStatus
* @dataProvider notifyShopperDataProvider
* @throws \Adye... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/HopTest.php | tests/Unit/HopTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\AdyenException;
use Adyen\Service\Hop;
class HopTest extends TestCaseMock
{
const SUCCESS_RESULT_CODE = 'Success';
const FAILED_RESULT_CODE = 'Failed';
/**
* @dataProvider successUrlProvider
*/
public function testGetOnboardingUrlSuccess($jsonFil... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/TestCaseMock.php | tests/Unit/TestCaseMock.php | <?php
/**
*
* Adyen API Library for PHP
*
* Copyright (c) 2020 Adyen B.V.
* This file is open source and available under the MIT license.
* See the LICENSE file for more info.
*
*/
namespace Adyen\Tests\Unit;
use Adyen\AdyenException;
use Adyen\Client;
use Adyen\ConnectionException;
use Adyen\Environment;
use... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/ModelBasedManagementTest.php | tests/Unit/ModelBasedManagementTest.php | <?php
namespace Adyen\Tests\Unit;
use Adyen\Client;
use Adyen\Config;
use Adyen\Environment;
use Adyen\HttpClient\ClientInterface;
use Adyen\Model\Management\Logo;
use Adyen\Service\Management;
class ModelBasedManagementTest extends TestCaseMock
{
/**
* Get /merchants
* @throws \Adyen\AdyenException
... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/AccountTest.php | tests/Unit/AccountTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/Util/IpAddressTest.php | tests/Unit/Util/IpAddressTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/Util/CurrencyTest.php | tests/Unit/Util/CurrencyTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/Util/Sha256SignatureTest.php | tests/Unit/Util/Sha256SignatureTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/Util/UuidTest.php | tests/Unit/Util/UuidTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/Util/HmacSignatureTest.php | tests/Unit/Util/HmacSignatureTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/Util/OpenInvoiceTest.php | tests/Unit/Util/OpenInvoiceTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
Adyen/adyen-php-api-library | https://github.com/Adyen/adyen-php-api-library/blob/ea1d12477c57dd5451ba62c18b61b017c8e897f4/tests/Unit/Util/ManualCaptureTest.php | tests/Unit/Util/ManualCaptureTest.php | <?php
/**
* ######
* ######
* ############ ####( ###### #####. ###### ############ ############
* ############# #####( ###### #####. ###### ############# #############
* ###### #####( ###### #####. ###### ##### ###### ##### ######
* ###### ######... | php | MIT | ea1d12477c57dd5451ba62c18b61b017c8e897f4 | 2026-01-05T03:40:06.256462Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/server.php | Chapter08/server.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
$uri = urldecode(
parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH)
);
// This file allows us to emulate Apache's "mod_rewrite" functionality from the
// built-in PHP web server. Thi... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/User.php | Chapter08/app/User.php | <?php
namespace App;
use Illuminate\Notifications\Notifiable;
use Illuminate\Foundation\Auth\User as Authenticatable;
class User extends Authenticatable
{
use Notifiable;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'email',... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Listing.php | Chapter08/app/Listing.php | <?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Listing extends Model
{
protected $casts = [
'amenity_wifi' => 'boolean',
'amenity_pets_allowed' => 'boolean',
'amenity_tv' => 'boolean',
'amenity_kitchen' => 'boolean',
'amenity_breakfast' => 'boolean',
... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Exceptions/Handler.php | Chapter08/app/Exceptions/Handler.php | <?php
namespace App\Exceptions;
use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array
*/
protected $dontReport = [
//
];
/**
... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Kernel.php | Chapter08/app/Http/Kernel.php | <?php
namespace App\Http;
use Illuminate\Foundation\Http\Kernel as HttpKernel;
class Kernel extends HttpKernel
{
/**
* The application's global HTTP middleware stack.
*
* These middleware are run during every request to your application.
*
* @var array
*/
protected $middleware =... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Controllers/Controller.php | Chapter08/app/Http/Controllers/Controller.php | <?php
namespace App\Http\Controllers;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
class Controller extends BaseController
{
use AuthorizesReques... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Controllers/ListingController.php | Chapter08/app/Http/Controllers/ListingController.php | <?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
use App\Listing;
class ListingController extends Controller
{
private function get_listing($listing)
{
$model = $listing->toArray();
for($i = 1; $i <=4; $i++) {
$model['image_' . $i] = asset('images/' . $listing->i... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Controllers/Auth/LoginController.php | Chapter08/app/Http/Controllers/Auth/LoginController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\AuthenticatesUsers;
class LoginController extends Controller
{
/*
|--------------------------------------------------------------------------
| Login Controller
|----------------------------... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Controllers/Auth/ForgotPasswordController.php | Chapter08/app/Http/Controllers/Auth/ForgotPasswordController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\SendsPasswordResetEmails;
class ForgotPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|----... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Controllers/Auth/ResetPasswordController.php | Chapter08/app/Http/Controllers/Auth/ResetPasswordController.php | <?php
namespace App\Http\Controllers\Auth;
use App\Http\Controllers\Controller;
use Illuminate\Foundation\Auth\ResetsPasswords;
class ResetPasswordController extends Controller
{
/*
|--------------------------------------------------------------------------
| Password Reset Controller
|--------------... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Controllers/Auth/RegisterController.php | Chapter08/app/Http/Controllers/Auth/RegisterController.php | <?php
namespace App\Http\Controllers\Auth;
use App\User;
use App\Http\Controllers\Controller;
use Illuminate\Support\Facades\Validator;
use Illuminate\Foundation\Auth\RegistersUsers;
class RegisterController extends Controller
{
/*
|--------------------------------------------------------------------------
... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Middleware/RedirectIfAuthenticated.php | Chapter08/app/Http/Middleware/RedirectIfAuthenticated.php | <?php
namespace App\Http\Middleware;
use Closure;
use Illuminate\Support\Facades\Auth;
class RedirectIfAuthenticated
{
/**
* Handle an incoming request.
*
* @param \Illuminate\Http\Request $request
* @param \Closure $next
* @param string|null $guard
* @return mixed
*/
... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Middleware/TrustProxies.php | Chapter08/app/Http/Middleware/TrustProxies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Http\Request;
use Fideloper\Proxy\TrustProxies as Middleware;
class TrustProxies extends Middleware
{
/**
* The trusted proxies for this application.
*
* @var array
*/
protected $proxies;
/**
* The current proxy header mappings... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Middleware/TrimStrings.php | Chapter08/app/Http/Middleware/TrimStrings.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\TrimStrings as Middleware;
class TrimStrings extends Middleware
{
/**
* The names of the attributes that should not be trimmed.
*
* @var array
*/
protected $except = [
'password',
'password_conf... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Middleware/EncryptCookies.php | Chapter08/app/Http/Middleware/EncryptCookies.php | <?php
namespace App\Http\Middleware;
use Illuminate\Cookie\Middleware\EncryptCookies as Middleware;
class EncryptCookies extends Middleware
{
/**
* The names of the cookies that should not be encrypted.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Http/Middleware/VerifyCsrfToken.php | Chapter08/app/Http/Middleware/VerifyCsrfToken.php | <?php
namespace App\Http\Middleware;
use Illuminate\Foundation\Http\Middleware\VerifyCsrfToken as Middleware;
class VerifyCsrfToken extends Middleware
{
/**
* The URIs that should be excluded from CSRF verification.
*
* @var array
*/
protected $except = [
//
];
}
| php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Console/Kernel.php | Chapter08/app/Console/Kernel.php | <?php
namespace App\Console;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
class Kernel extends ConsoleKernel
{
/**
* The Artisan commands provided by your application.
*
* @var array
*/
protected $commands = [
//
];
... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Providers/BroadcastServiceProvider.php | Chapter08/app/Providers/BroadcastServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Broadcast;
class BroadcastServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
Broadcast::routes();... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Providers/RouteServiceProvider.php | Chapter08/app/Providers/RouteServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Route;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
class RouteServiceProvider extends ServiceProvider
{
/**
* This namespace is applied to your controller routes.
*
* In addition, it is set as th... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Providers/EventServiceProvider.php | Chapter08/app/Providers/EventServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Event;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
class EventServiceProvider extends ServiceProvider
{
/**
* The event listener mappings for the application.
*
* @var array
*/
protected... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Providers/AppServiceProvider.php | Chapter08/app/Providers/AppServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\ServiceProvider;
class AppServiceProvider extends ServiceProvider
{
/**
* Bootstrap any application services.
*
* @return void
*/
public function boot()
{
//
}
/**
* Register any application services.
*
... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/app/Providers/AuthServiceProvider.php | Chapter08/app/Providers/AuthServiceProvider.php | <?php
namespace App\Providers;
use Illuminate\Support\Facades\Gate;
use Illuminate\Foundation\Support\Providers\AuthServiceProvider as ServiceProvider;
class AuthServiceProvider extends ServiceProvider
{
/**
* The policy mappings for the application.
*
* @var array
*/
protected $policies ... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/bootstrap/app.php | Chapter08/bootstrap/app.php | <?php
/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| The first thing we will do is create a new Laravel application instance
| which serves as the "glue" for all the components of La... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/bootstrap/autoload.php | Chapter08/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 | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/tests/TestCase.php | Chapter08/tests/TestCase.php | <?php
namespace Tests;
use Illuminate\Foundation\Testing\TestCase as BaseTestCase;
abstract class TestCase extends BaseTestCase
{
use CreatesApplication;
}
| php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/tests/CreatesApplication.php | Chapter08/tests/CreatesApplication.php | <?php
namespace Tests;
use Illuminate\Contracts\Console\Kernel;
trait CreatesApplication
{
/**
* Creates the application.
*
* @return \Illuminate\Foundation\Application
*/
public function createApplication()
{
$app = require __DIR__.'/../bootstrap/app.php';
$app->make... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/tests/Feature/ExampleTest.php | Chapter08/tests/Feature/ExampleTest.php | <?php
namespace Tests\Feature;
use Tests\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$response = $this->get('/');
$response->assertS... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/tests/Unit/ExampleTest.php | Chapter08/tests/Unit/ExampleTest.php | <?php
namespace Tests\Unit;
use Tests\TestCase;
use Illuminate\Foundation\Testing\RefreshDatabase;
class ExampleTest extends TestCase
{
/**
* A basic test example.
*
* @return void
*/
public function testBasicTest()
{
$this->assertTrue(true);
}
}
| php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/routes/web.php | Chapter08/routes/web.php | <?php
use Illuminate\Support\Facades\Storage as Storage;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/routes/channels.php | Chapter08/routes/channels.php | <?php
/*
|--------------------------------------------------------------------------
| Broadcast Channels
|--------------------------------------------------------------------------
|
| Here you may register all of the event broadcasting channels that your
| application supports. The given channel authorization callba... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/routes/api.php | Chapter08/routes/api.php | <?php
Route::get('/listing/{listing}', 'ListingController@get_listing_api');
Route::get('/', 'ListingController@get_home_api');
Route::get('/saved', 'ListingController@get_home_api');
| php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/routes/console.php | Chapter08/routes/console.php | <?php
use Illuminate\Foundation\Inspiring;
/*
|--------------------------------------------------------------------------
| Console Routes
|--------------------------------------------------------------------------
|
| This file is where you may define all of your Closure based console
| commands. Each Closure is bou... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/public/index.php | Chapter08/public/index.php | <?php
/**
* Laravel - A PHP Framework For Web Artisans
*
* @package Laravel
* @author Taylor Otwell <taylor@laravel.com>
*/
define('LARAVEL_START', microtime(true));
/*
|--------------------------------------------------------------------------
| Register The Auto Loader
|------------------------------------... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/app.php | Chapter08/config/app.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Application Name
|--------------------------------------------------------------------------
|
| This value is the name of your application. This value is used when the
| framework needs to plac... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/session.php | Chapter08/config/session.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Session Driver
|--------------------------------------------------------------------------
|
| This option controls the default session "driver" that will be used on
| requests. By defau... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/queue.php | Chapter08/config/queue.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Queue Driver
|--------------------------------------------------------------------------
|
| Laravel's queue API supports an assortment of back-ends via a single
| API, giving you conven... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5 | https://github.com/PacktPublishing/Full-Stack-Vue.js-2-and-Laravel-5/blob/072a41482c6a23b3f211a10cf8f4297145b856d0/Chapter08/config/cache.php | Chapter08/config/cache.php | <?php
return [
/*
|--------------------------------------------------------------------------
| Default Cache Store
|--------------------------------------------------------------------------
|
| This option controls the default cache connection that gets used while
| using this caching li... | php | MIT | 072a41482c6a23b3f211a10cf8f4297145b856d0 | 2026-01-05T03:39:48.739384Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.