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
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Unit/ReactsReactionEventTest.php
tests/Unit/ReactsReactionEventTest.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Unit; use Illuminate\Support\Facades\Event; use Qirolab\Laravel\Reactions\Events\OnDeleteReaction; use Qirolab\Laravel\Reactions\Events\OnReaction; use Qirolab\Tests\Laravel\Reactions\TestCase; class ReactsReactionEventTest extends TestCase { protected $article; ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/database/migrations/2018_07_11_000000_create_articles_table.php
tests/database/migrations/2018_07_11_000000_create_articles_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; /** * Class CreateUsersTable. */ class CreateArticlesTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/database/migrations/2018_07_10_000000_create_users_table.php
tests/database/migrations/2018_07_10_000000_create_users_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; /** * Class CreateUsersTable. */ class CreateUsersTable extends Migration { /** * Run the migrations. * * @return void */ public function up() { ...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Stubs/Models/Profile.php
tests/Stubs/Models/Profile.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Stubs\Models; use Illuminate\Database\Eloquent\Model; use Qirolab\Laravel\Reactions\Contracts\ReactsInterface; use Qirolab\Laravel\Reactions\Traits\Reacts; class Profile extends Model implements ReactsInterface { use Reacts; /** * The table associated wit...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Stubs/Models/User.php
tests/Stubs/Models/User.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Stubs\Models; use Illuminate\Foundation\Auth\User as Authenticatable; use Qirolab\Laravel\Reactions\Contracts\ReactsInterface; use Qirolab\Laravel\Reactions\Traits\Reacts; class User extends Authenticatable implements ReactsInterface { use Reacts; /** * T...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/tests/Stubs/Models/Article.php
tests/Stubs/Models/Article.php
<?php namespace Qirolab\Tests\Laravel\Reactions\Stubs\Models; use Illuminate\Database\Eloquent\Model; use Qirolab\Laravel\Reactions\Contracts\ReactableInterface; use Qirolab\Laravel\Reactions\Traits\Reactable; class Article extends Model implements ReactableInterface { use Reactable; /** * The table as...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/migrations/2018_07_10_000000_create_reactions_table.php
migrations/2018_07_10_000000_create_reactions_table.php
<?php use Illuminate\Database\Migrations\Migration; use Illuminate\Database\Schema\Blueprint; use Illuminate\Support\Facades\Schema; use Qirolab\Laravel\Reactions\Helper; /** * Class CreateLoveLikesTable. */ class CreateReactionsTable extends Migration { /** * Run the migrations. * * @return void...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
qirolab/laravel-reactions
https://github.com/qirolab/laravel-reactions/blob/e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6/config/reactions.php
config/reactions.php
<?php return [ /* * This is the name of the table that will be created by the migration and * used by the Reaction model shipped with this package. */ 'table_name' => 'reactions', /** * The name of the model that will be used to represent * the model (eg. User) that is reacting t...
php
MIT
e1c6ffc2914ee46a26e572bce8d11b43bbeedfa6
2026-01-05T02:34:45.816345Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Facade.php
src/Facade.php
<?php namespace SKAgarwal\GoogleApi; use Illuminate\Support\Facades\Facade as BaseFacade; /** * @deprecated */ class Facade extends BaseFacade { /** * Get the registered name of the component. * * @return string */ protected static function getFacadeAccessor() { return 'Googl...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/helpers.php
src/helpers.php
<?php if (!function_exists('array_any_keys_exists')) { /** * Check if any 1 of the given keys exists. * * @param array $keys * @param array $array * * @return bool */ function array_any_keys_exists(array $keys, array $array) { foreach ($keys as $key) { ...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Connector.php
src/Connector.php
<?php namespace SKAgarwal\GoogleApi; use Saloon\Contracts\Authenticator; use Saloon\Enums\PipeOrder; use Saloon\Http\Auth\HeaderAuthenticator; use Saloon\Http\Connector as SaloonConnector; use Saloon\Http\PendingRequest; use Saloon\Http\Response; use SKAgarwal\GoogleApi\Exceptions\GooglePlacesApiException; abstract ...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/PlacesApi.php
src/PlacesApi.php
<?php namespace SKAgarwal\GoogleApi; use GuzzleHttp\Client; use GuzzleHttp\TransferStats; use Illuminate\Support\Collection; use SKAgarwal\GoogleApi\Exceptions\GooglePlacesApiException; use SKAgarwal\GoogleApi\Exceptions\InvalidRequestException; use SKAgarwal\GoogleApi\Exceptions\NotImplementedException; use SKAgarwa...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/ServiceProvider.php
src/ServiceProvider.php
<?php namespace SKAgarwal\GoogleApi; use Illuminate\Support\ServiceProvider as BaseServiceProvider; class ServiceProvider extends BaseServiceProvider { /** * Register the service provider. * * @return void */ public function register() { $this->app->singleton('GooglePlaces', f...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Exceptions/InvalidRequestException.php
src/Exceptions/InvalidRequestException.php
<?php namespace SKAgarwal\GoogleApi\Exceptions; class InvalidRequestException extends GooglePlacesApiException{}
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Exceptions/NotImplementedException.php
src/Exceptions/NotImplementedException.php
<?php namespace SKAgarwal\GoogleApi\Exceptions; class NotImplementedException extends GooglePlacesApiException{}
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Exceptions/UnknownErrorException.php
src/Exceptions/UnknownErrorException.php
<?php namespace SKAgarwal\GoogleApi\Exceptions; class UnknownErrorException extends GooglePlacesApiException{}
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Exceptions/OverQueryLimitException.php
src/Exceptions/OverQueryLimitException.php
<?php namespace SKAgarwal\GoogleApi\Exceptions; class OverQueryLimitException extends GooglePlacesApiException{}
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Exceptions/GooglePlacesApiException.php
src/Exceptions/GooglePlacesApiException.php
<?php namespace SKAgarwal\GoogleApi\Exceptions; class GooglePlacesApiException extends \Exception { /** * @var mixed */ private $error_message = null; /** * GooglePlacesApiException constructor. * * @param string $message * @param mixed $error_message */ public funct...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Exceptions/RequestDeniedException.php
src/Exceptions/RequestDeniedException.php
<?php namespace SKAgarwal\GoogleApi\Exceptions; class RequestDeniedException extends GooglePlacesApiException{}
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/PlacesNew/Endpoint.php
src/PlacesNew/Endpoint.php
<?php namespace SKAgarwal\GoogleApi\PlacesNew; use Illuminate\Support\Str; enum Endpoint: string { case BASE_URL = 'https://places.googleapis.com/v1'; case TEXT_SEARCH = 'places:searchText'; case NEARBY_SEARCH = 'places:searchNearby'; case PLACE_DETAILS = 'places/{placeId}'; case PLACE_PHOTO ...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/PlacesNew/GooglePlaces.php
src/PlacesNew/GooglePlaces.php
<?php namespace SKAgarwal\GoogleApi\PlacesNew; use Saloon\Http\Response; use SKAgarwal\GoogleApi\Connector; use SKAgarwal\GoogleApi\PlacesNew\Requests\Autocomplete; use SKAgarwal\GoogleApi\PlacesNew\Requests\NearbySearch; use SKAgarwal\GoogleApi\PlacesNew\Requests\PlaceDetails; use SKAgarwal\GoogleApi\PlacesNew\Reque...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/PlacesNew/Requests/Autocomplete.php
src/PlacesNew/Requests/Autocomplete.php
<?php namespace SKAgarwal\GoogleApi\PlacesNew\Requests; use Saloon\Contracts\Body\HasBody; use Saloon\Enums\Method; use Saloon\Http\Request; use Saloon\Traits\Body\HasJsonBody; use SKAgarwal\GoogleApi\PlacesNew\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/place-autocomple...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/PlacesNew/Requests/NearbySearch.php
src/PlacesNew/Requests/NearbySearch.php
<?php namespace SKAgarwal\GoogleApi\PlacesNew\Requests; use Saloon\Contracts\Body\HasBody; use Saloon\Enums\Method; use Saloon\Http\Request; use Saloon\Traits\Body\HasJsonBody; use SKAgarwal\GoogleApi\PlacesNew\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/nearby-search *...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/PlacesNew/Requests/TextSearch.php
src/PlacesNew/Requests/TextSearch.php
<?php namespace SKAgarwal\GoogleApi\PlacesNew\Requests; use Saloon\Contracts\Body\HasBody; use Saloon\Enums\Method; use Saloon\Http\Request; use Saloon\Traits\Body\HasJsonBody; use SKAgarwal\GoogleApi\PlacesNew\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/text-search */ ...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/PlacesNew/Requests/PlaceDetails.php
src/PlacesNew/Requests/PlaceDetails.php
<?php namespace SKAgarwal\GoogleApi\PlacesNew\Requests; use Saloon\Enums\Method; use Saloon\Http\Request; use SKAgarwal\GoogleApi\PlacesNew\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/place-details */ class PlaceDetails extends Request { /** * @var \Saloon\Enum...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/PlacesNew/Requests/PlacePhoto.php
src/PlacesNew/Requests/PlacePhoto.php
<?php namespace SKAgarwal\GoogleApi\PlacesNew\Requests; use Saloon\Enums\Method; use Saloon\Http\Request; use SKAgarwal\GoogleApi\Exceptions\GooglePlacesApiException; use SKAgarwal\GoogleApi\PlacesNew\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/place-photos */ class Pla...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Places/Endpoint.php
src/Places/Endpoint.php
<?php namespace SKAgarwal\GoogleApi\Places; enum Endpoint: string { case BASE_URL = 'https://maps.googleapis.com/maps/api/place/'; case NEARBY_SEARCH = 'nearbysearch/json'; case TEXT_SEARCH = 'textsearch/json'; case FIND_PLACE = 'findplacefromtext/json'; case PLACE_DETAILS = 'details/json'; ...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Places/GooglePlaces.php
src/Places/GooglePlaces.php
<?php namespace SKAgarwal\GoogleApi\Places; use Saloon\Contracts\Authenticator; use Saloon\Http\Auth\QueryAuthenticator; use Saloon\Http\Response; use SKAgarwal\GoogleApi\Connector; use SKAgarwal\GoogleApi\Places\Requests\FindPlace; use SKAgarwal\GoogleApi\Places\Requests\NearbySearch; use SKAgarwal\GoogleApi\Places\...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Places/Requests/PlaceAutocomplete.php
src/Places/Requests/PlaceAutocomplete.php
<?php namespace SKAgarwal\GoogleApi\Places\Requests; use Saloon\Enums\Method; use Saloon\Http\Request; use SKAgarwal\GoogleApi\Places\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/autocomplete */ class PlaceAutocomplete extends Request { /** * @var \Saloon\Enums\...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Places/Requests/NearbySearch.php
src/Places/Requests/NearbySearch.php
<?php namespace SKAgarwal\GoogleApi\Places\Requests; use Saloon\Enums\Method; use Saloon\Http\Request; use SKAgarwal\GoogleApi\Exceptions\GooglePlacesApiException; use SKAgarwal\GoogleApi\Places\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/search-nearby */ class NearbySe...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Places/Requests/FindPlace.php
src/Places/Requests/FindPlace.php
<?php namespace SKAgarwal\GoogleApi\Places\Requests; use Saloon\Enums\Method; use Saloon\Http\Request; use SKAgarwal\GoogleApi\Places\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/search-find-place */ class FindPlace extends Request { /** * @var \Saloon\Enums\Met...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Places/Requests/QueryAutocomplete.php
src/Places/Requests/QueryAutocomplete.php
<?php namespace SKAgarwal\GoogleApi\Places\Requests; use Saloon\Enums\Method; use Saloon\Http\Request; use SKAgarwal\GoogleApi\Places\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/query */ class QueryAutocomplete extends Request { /** * @var \Saloon\Enums\Method ...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Places/Requests/Photo.php
src/Places/Requests/Photo.php
<?php namespace SKAgarwal\GoogleApi\Places\Requests; use GuzzleHttp\TransferStats; use Saloon\Enums\Method; use Saloon\Http\Request; use SKAgarwal\GoogleApi\Exceptions\GooglePlacesApiException; use SKAgarwal\GoogleApi\Places\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/ph...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Places/Requests/TextSearch.php
src/Places/Requests/TextSearch.php
<?php namespace SKAgarwal\GoogleApi\Places\Requests; use Saloon\Enums\Method; use Saloon\Http\Request; use SKAgarwal\GoogleApi\Places\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/search-text */ class TextSearch extends Request { /** * @var \Saloon\Enums\Method ...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/src/Places/Requests/PlaceDetails.php
src/Places/Requests/PlaceDetails.php
<?php namespace SKAgarwal\GoogleApi\Places\Requests; use Saloon\Enums\Method; use Saloon\Http\Request; use SKAgarwal\GoogleApi\Places\Endpoint; /** * @see https://developers.google.com/maps/documentation/places/web-service/details */ class PlaceDetails extends Request { /** * @var \Saloon\Enums\Method ...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
SachinAgarwal1337/google-places-api
https://github.com/SachinAgarwal1337/google-places-api/blob/ec18bfd6e124242b88d0ad0ba1910a064e443d3c/config/google.php
config/google.php
<?php return [ 'places' => [ /** * Google Places API Key * @see https://developers.google.com/maps/documentation/places/web-service/get-api-key */ 'key' => env('GOOGLE_PLACES_API_KEY', null), 'verify_ssl' => true, ], /** * Default headers to be sen...
php
MIT
ec18bfd6e124242b88d0ad0ba1910a064e443d3c
2026-01-05T02:34:57.151766Z
false
vanilla-php/benchmark-php
https://github.com/vanilla-php/benchmark-php/blob/1fa37d9fe476b3fdfb8ebce97509112d7253abcf/benchmark.php
benchmark.php
<?php /** * PHP Script to benchmark PHP and MySQL-Server. * * inspired by / thanks to: * - www.php-benchmark-script.com (Alessandro Torrisi) * - www.webdesign-informatik.de * * @license MIT */ // ----------------------------------------------------------------------------- // Setup // ------------------------...
php
MIT
1fa37d9fe476b3fdfb8ebce97509112d7253abcf
2026-01-05T02:35:22.963411Z
false
shift31/laravel-elasticsearch
https://github.com/shift31/laravel-elasticsearch/blob/453b87e739cb1db3af111d7f3065b3d04fbeab36/src/Shift31/LaravelElasticsearch/ElasticsearchServiceProvider.php
src/Shift31/LaravelElasticsearch/ElasticsearchServiceProvider.php
<?php namespace Shift31\LaravelElasticsearch; use Elasticsearch\ClientBuilder; use Illuminate\Foundation\AliasLoader; use Illuminate\Support\ServiceProvider; class ElasticsearchServiceProvider extends ServiceProvider { const VERSION = '4.5.0'; /** * @inheritdoc */ public function boot() { ...
php
MIT
453b87e739cb1db3af111d7f3065b3d04fbeab36
2026-01-05T02:35:37.518129Z
false
shift31/laravel-elasticsearch
https://github.com/shift31/laravel-elasticsearch/blob/453b87e739cb1db3af111d7f3065b3d04fbeab36/src/Shift31/LaravelElasticsearch/Facades/Es.php
src/Shift31/LaravelElasticsearch/Facades/Es.php
<?php namespace Shift31\LaravelElasticsearch\Facades; use Illuminate\Support\Facades\Facade; /** * @see \Elasticsearch\Client */ class Es extends Facade { protected static function getFacadeAccessor() { return 'elasticsearch'; } }
php
MIT
453b87e739cb1db3af111d7f3065b3d04fbeab36
2026-01-05T02:35:37.518129Z
false
shift31/laravel-elasticsearch
https://github.com/shift31/laravel-elasticsearch/blob/453b87e739cb1db3af111d7f3065b3d04fbeab36/src/config/elasticsearch.php
src/config/elasticsearch.php
<?php return [ 'hosts' => ['localhost:9200'], 'logger' => Elasticsearch\ClientBuilder::defaultLogger(storage_path('logs/elastic-search.log'), 400), 'retries' => 1, ];
php
MIT
453b87e739cb1db3af111d7f3065b3d04fbeab36
2026-01-05T02:35:37.518129Z
false
shift31/laravel-elasticsearch
https://github.com/shift31/laravel-elasticsearch/blob/453b87e739cb1db3af111d7f3065b3d04fbeab36/tests/TestCase.php
tests/TestCase.php
<?php namespace Shift31\LaravelElasticsearch\Tests; use Mockery; abstract class TestCase extends \PHPUnit\Framework\TestCase { public function tearDown() { if (class_exists('Mockery')) { Mockery::close(); } } }
php
MIT
453b87e739cb1db3af111d7f3065b3d04fbeab36
2026-01-05T02:35:37.518129Z
false
shift31/laravel-elasticsearch
https://github.com/shift31/laravel-elasticsearch/blob/453b87e739cb1db3af111d7f3065b3d04fbeab36/tests/Integration/ElasticsearchServiceProviderIntegrationTest.php
tests/Integration/ElasticsearchServiceProviderIntegrationTest.php
<?php namespace Shift31\LaravelElasticsearch\Tests\Integration; use Elasticsearch\ClientBuilder; use Orchestra\Testbench\TestCase; use Illuminate\Support\Facades\Config; use Shift31\LaravelElasticsearch\Facades\Es; class ElasticsearchServiceProviderIntegrationTest extends TestCase { public function test_elasticse...
php
MIT
453b87e739cb1db3af111d7f3065b3d04fbeab36
2026-01-05T02:35:37.518129Z
false
shift31/laravel-elasticsearch
https://github.com/shift31/laravel-elasticsearch/blob/453b87e739cb1db3af111d7f3065b3d04fbeab36/tests/Unit/ElasticsearchServiceProviderUnitTest.php
tests/Unit/ElasticsearchServiceProviderUnitTest.php
<?php namespace Shift31\LaravelElasticsearch\Tests\Unit; use Mockery; use Mockery\MockInterface; use Illuminate\Foundation\AliasLoader; use Shift31\LaravelElasticsearch\Tests\TestCase; use Shift31\LaravelElasticsearch\ElasticsearchServiceProvider; class ElasticsearchServiceProviderUnitTest extends TestCase { publ...
php
MIT
453b87e739cb1db3af111d7f3065b3d04fbeab36
2026-01-05T02:35:37.518129Z
false
shift31/laravel-elasticsearch
https://github.com/shift31/laravel-elasticsearch/blob/453b87e739cb1db3af111d7f3065b3d04fbeab36/tests/Unit/EsUnitTest.php
tests/Unit/EsUnitTest.php
<?php namespace Shift31\LaravelElasticsearch\Tests\Unit; use Mockery; use ReflectionClass; use Shift31\LaravelElasticsearch\Facades\Es; use Shift31\LaravelElasticsearch\Tests\TestCase; use Shift31\LaravelElasticsearch\ElasticsearchServiceProvider; class EsUnitTest extends TestCase { public function test_to_facade...
php
MIT
453b87e739cb1db3af111d7f3065b3d04fbeab36
2026-01-05T02:35:37.518129Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/.php-cs-fixer.php
.php-cs-fixer.php
<?php $config = Eloquent\CodeStyle\Config::create(__DIR__); $config->setCacheFile(__DIR__ . '/artifacts/lint/php-cs-fixer/cache'); $config->setRules(array_merge($config->getRules(), [ 'phpdoc_to_comment' => false, 'no_blank_lines_after_phpdoc' => false, ])); $exclusions = [ 'artifacts', 'test/fixture'...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Phony.php
src/Phony.php
<?php declare(strict_types=1); namespace Eloquent\Phony; use Eloquent\Phony\Facade\FacadeTrait; use Eloquent\Phony\Facade\Globals; /** * A facade for standalone Phony usage. */ class Phony { use FacadeTrait; /** * @var class-string */ private static $globals = Globals::class; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/functions.php
src/functions.php
<?php declare(strict_types=1); namespace Eloquent\Phony; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Event\Event; use Eloquent\Phony\Event\EventCollection; use Eloquent\Phony\Facade\Globals; use Eloquent\Phony\Matcher\Matcher; use Eloquent\Phony\Matcher\WildcardMatcher; use Eloquent\Phony\Mock\Builder\Mock...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/initialize.php
src/initialize.php
<?php // @codeCoverageIgnoreStart declare(strict_types=1); use Eloquent\Phony\Facade\FacadeContainer; use Eloquent\Phony\Facade\Globals; Globals::$container = new FacadeContainer();
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Event/EventCollection.php
src/Event/EventCollection.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Event; use Countable; use Eloquent\Phony\Call\Call; use Eloquent\Phony\Call\Exception\UndefinedCallException; use Eloquent\Phony\Event\Exception\UndefinedEventException; use IteratorAggregate; /** * The interface implemented by event collections. * * @exten...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Event/EventSequence.php
src/Event/EventSequence.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Event; use ArrayIterator; use Eloquent\Phony\Call\Call; use Eloquent\Phony\Call\CallVerifierFactory; use Eloquent\Phony\Call\Exception\UndefinedCallException; use Eloquent\Phony\Collection\NormalizesIndices; use Eloquent\Phony\Event\Exception\UndefinedEventExce...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Event/Event.php
src/Event/Event.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Event; /** * The interface implemented by events. */ interface Event { /** * Get the sequence number. * * The sequence number is a unique number assigned to every event that Phony * records. The numbers are assigned sequentially, meani...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Event/EventOrderVerifier.php
src/Event/EventOrderVerifier.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Event; use Eloquent\Phony\Assertion\AssertionRecorder; use Eloquent\Phony\Assertion\AssertionRenderer; use InvalidArgumentException; use Throwable; /** * Checks and asserts the order of events. */ class EventOrderVerifier { /** * Construct a new eve...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Event/Exception/UndefinedEventException.php
src/Event/Exception/UndefinedEventException.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Event\Exception; use Exception; use Throwable; /** * No event is defined for the requested index. */ final class UndefinedEventException extends Exception { /** * Construct a new undefined event exception. * * @param int $index The ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Hamcrest/HamcrestMatcherDriver.php
src/Hamcrest/HamcrestMatcherDriver.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hamcrest; use Eloquent\Phony\Matcher\Matcher; use Eloquent\Phony\Matcher\MatcherDriver; use Hamcrest\Matcher as ExternalMatcher; /** * A matcher driver for Hamcrest matchers. */ class HamcrestMatcherDriver implements MatcherDriver { /** * Returns tr...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Hamcrest/HamcrestMatcher.php
src/Hamcrest/HamcrestMatcher.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hamcrest; use Eloquent\Phony\Exporter\Exporter; use Eloquent\Phony\Matcher\Matcher; use Hamcrest\Matcher as ExternalMatcher; /** * Wraps a Hamcrest matcher. */ class HamcrestMatcher implements Matcher { /** * Construct a new Hamcrest matcher. *...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Reflection/FunctionSignatureInspector.php
src/Reflection/FunctionSignatureInspector.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Reflection; use ReflectionClass; use ReflectionException; use ReflectionFunctionAbstract; use ReflectionMethod; /** * Inspects functions to determine their signature under PHP. * * The implementation here is much faster than using reflection due to reduced ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Reflection/FeatureDetector.php
src/Reflection/FeatureDetector.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Reflection; use Eloquent\Phony\Reflection\Exception\UndefinedFeatureException; use ReflectionClass; /** * Detects support for language features in the current runtime environment. */ class FeatureDetector { /** * Construct a new feature detector. ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Reflection/Exception/UndefinedFeatureException.php
src/Reflection/Exception/UndefinedFeatureException.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Reflection\Exception; use Exception; /** * The specified feature is undefined. */ final class UndefinedFeatureException extends Exception { /** * Construct a new undefined feature exception. * * @param string $feature The feature. */ ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Exporter/ExporterResult.php
src/Exporter/ExporterResult.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Exporter; /** * A data structure used internally by exporters. */ final class ExporterResult { /** * The final exporter output. * * @var string */ public $final = ''; /** * The primary type portion of the export output. ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Exporter/Exporter.php
src/Exporter/Exporter.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Exporter; /** * The interface implemented by exporters. */ interface Exporter { /** * Set the default depth. * * Negative depths are treated as infinite depth. * * @param int $depth The depth. * * @return int The previou...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Exporter/InlineExporter.php
src/Exporter/InlineExporter.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Exporter; use Closure; use Eloquent\Phony\Invocation\InvocableInspector; use Eloquent\Phony\Invocation\WrappedInvocable; use Eloquent\Phony\Mock\Handle\Handle; use Eloquent\Phony\Mock\Handle\InstanceHandle; use Eloquent\Phony\Mock\Handle\StaticHandle; use Eloqu...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Hook/FunctionHookManager.php
src/Hook/FunctionHookManager.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook; use Eloquent\Phony\Hook\Exception\FunctionExistsException; use Eloquent\Phony\Hook\Exception\FunctionHookException; use Eloquent\Phony\Hook\Exception\FunctionHookGenerationFailedException; use Eloquent\Phony\Hook\Exception\FunctionSignatureMismatchExcepti...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Hook/FunctionHookGenerator.php
src/Hook/FunctionHookGenerator.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook; /** * Generates the source code for function hooks. */ class FunctionHookGenerator { /** * Generate the source code for a function hook. * * @param string $name The function name. * @param string $namespace The namespace. ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Hook/Exception/FunctionSignatureMismatchException.php
src/Hook/Exception/FunctionSignatureMismatchException.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook\Exception; use Exception; /** * The function hook has a different signature to the supplied callback. */ final class FunctionSignatureMismatchException extends Exception implements FunctionHookException { /** * Construct a function signatur...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Hook/Exception/FunctionHookGenerationFailedException.php
src/Hook/Exception/FunctionHookGenerationFailedException.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook\Exception; use Exception; use Throwable; /** * Mock generation failed. */ final class FunctionHookGenerationFailedException extends Exception implements FunctionHookException { /** * Construct a mock generation failed exception. * ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Hook/Exception/FunctionHookException.php
src/Hook/Exception/FunctionHookException.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook\Exception; /** * The interface used to identify function hook exceptions. */ interface FunctionHookException { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Hook/Exception/FunctionExistsException.php
src/Hook/Exception/FunctionExistsException.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Hook\Exception; use Exception; /** * The function is already defined. */ final class FunctionExistsException extends Exception implements FunctionHookException { /** * Construct a function exists exception. * * @param string $functionN...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Invocation/Invoker.php
src/Invocation/Invoker.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Invocation; use Eloquent\Phony\Call\Arguments; use Throwable; /** * Invokes callbacks, maintaining reference parameters. */ class Invoker { /** * Calls a callback, maintaining reference parameters. * * @param callable $callback The callb...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Invocation/InvocableInspector.php
src/Invocation/InvocableInspector.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Invocation; use Closure; use Eloquent\Phony\Mock\Method\WrappedMethod; use ReflectionException; use ReflectionFunction; use ReflectionFunctionAbstract; use ReflectionMethod; /** * Utilities for inspecting invocables. */ class InvocableInspector { /** ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Invocation/Invocable.php
src/Invocation/Invocable.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Invocation; use Eloquent\Phony\Call\Arguments; use Throwable; /** * The interface implemented by invocables. */ interface Invocable { /** * Invoke this object. * * This method supports reference parameters. * * @param Arguments|a...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Invocation/WrappedInvocableTrait.php
src/Invocation/WrappedInvocableTrait.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Invocation; use Eloquent\Phony\Call\Arguments; /** * Used for implementing wrapped invocables. */ trait WrappedInvocableTrait { /** * Returns true if anonymous. * * @return bool True if anonymous. */ public function isAnonymous():...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Invocation/WrappedInvocable.php
src/Invocation/WrappedInvocable.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Invocation; /** * The interface implemented by wrapped invocables. */ interface WrappedInvocable extends Invocable { /** * Set the label. * * @param string $label The label. * * @return $this This invocable. */ public fun...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Clock/Clock.php
src/Clock/Clock.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Clock; /** * The interface implemented by clocks. */ interface Clock { /** * Get the current time. * * @return float The current time. */ public function time(): float; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Clock/SystemClock.php
src/Clock/SystemClock.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Clock; /** * Provides access to the system clock. */ class SystemClock implements Clock { /** * Construct a new system clock. * * @param callable $microtime The implementation of microtime() to use. */ public function __construct(c...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Facade/FacadeContainer.php
src/Facade/FacadeContainer.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Facade; use Eloquent\Phony\Assertion\ExceptionAssertionRecorder; /** * A service container for Phony facades. */ class FacadeContainer { use FacadeContainerTrait; public function __construct() { $this->initializeContainer(new ExceptionAs...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Facade/Globals.php
src/Facade/Globals.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Facade; /** * A place for namespaced global state. */ class Globals { /** * The container used by the static facade and facade functions. * * @var FacadeContainer */ public static $container; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Facade/FacadeContainerTrait.php
src/Facade/FacadeContainerTrait.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Facade; use Eloquent\Phony\Assertion\AssertionRecorder; use Eloquent\Phony\Assertion\AssertionRenderer; use Eloquent\Phony\Call\CallFactory; use Eloquent\Phony\Call\CallVerifierFactory; use Eloquent\Phony\Call\Event\CallEventFactory; use Eloquent\Phony\Clock\Sy...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Facade/FacadeTrait.php
src/Facade/FacadeTrait.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Facade; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Event\Event; use Eloquent\Phony\Event\EventCollection; use Eloquent\Phony\Matcher\Matcher; use Eloquent\Phony\Matcher\WildcardMatcher; use Eloquent\Phony\Mock\Builder\MockBuilder; use Eloquent\Phony\...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Collection/NormalizesIndices.php
src/Collection/NormalizesIndices.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Collection; /** * Provides the normalizeIndex method. */ trait NormalizesIndices { private function normalizeIndex( int $size, int $index, int &$normalized = null ): bool { $normalized = null; if ($index < 0) {...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Assertion/AssertionRenderer.php
src/Assertion/AssertionRenderer.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Assertion; use Eloquent\Phony\Call\Call; use Eloquent\Phony\Call\CallData; use Eloquent\Phony\Call\Event\CalledEvent; use Eloquent\Phony\Call\Event\CallEvent; use Eloquent\Phony\Call\Event\ConsumedEvent; use Eloquent\Phony\Call\Event\ProducedEvent; use Eloquent...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
true
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Assertion/AssertionRecorder.php
src/Assertion/AssertionRecorder.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Assertion; use Eloquent\Phony\Call\CallVerifierFactory; use Eloquent\Phony\Event\Event; use Eloquent\Phony\Event\EventCollection; use Throwable; /** * The interface implemented by assertion recorders. */ interface AssertionRecorder { /** * Set the c...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Assertion/ExceptionAssertionRecorder.php
src/Assertion/ExceptionAssertionRecorder.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Assertion; use Eloquent\Phony\Assertion\Exception\AssertionException; use Eloquent\Phony\Call\CallVerifierFactory; use Eloquent\Phony\Event\Event; use Eloquent\Phony\Event\EventCollection; use Eloquent\Phony\Event\EventSequence; /** * An assertion recorder th...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Assertion/Exception/AssertionException.php
src/Assertion/Exception/AssertionException.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Assertion\Exception; use Exception; use ReflectionClass; /** * Represents a failed assertion. */ final class AssertionException extends Exception { /** * Trim the supplied exception's stack trace to only include relevant * information. * ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/MockRegistry.php
src/Mock/MockRegistry.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock; use Eloquent\Phony\Mock\Builder\MockDefinition; /** * Stores information about mocked classes. */ class MockRegistry { /** * @var array<class-string,MockDefinition> */ public $definitions = []; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Mock.php
src/Mock/Mock.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock; /** * The interface used to identify mocks. */ interface Mock { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/MockGenerator.php
src/Mock/MockGenerator.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock; use Eloquent\Phony\Mock\Builder\Method\MethodDefinition; use Eloquent\Phony\Mock\Builder\Method\TraitMethodDefinition; use Eloquent\Phony\Mock\Builder\MockDefinition; use Eloquent\Phony\Reflection\FeatureDetector; use Eloquent\Phony\Reflection\FunctionSig...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/MockFactory.php
src/Mock/MockFactory.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Mock\Builder\MockDefinition; use Eloquent\Phony\Mock\Exception\ClassExistsException; use Eloquent\Phony\Mock\Exception\MockException; use Eloquent\Phony\Mock\Exception\MockGenerationFailedException; us...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Handle/StaticHandle.php
src/Mock/Handle/StaticHandle.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Handle; use Eloquent\Phony\Assertion\AssertionRecorder; use Eloquent\Phony\Assertion\AssertionRenderer; use Eloquent\Phony\Invocation\Invoker; use Eloquent\Phony\Mock\Builder\MockDefinition; use Eloquent\Phony\Stub\EmptyValueFactory; use Eloquent\Phony\Stu...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Handle/InstanceHandle.php
src/Mock/Handle/InstanceHandle.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Handle; use Eloquent\Phony\Assertion\AssertionRecorder; use Eloquent\Phony\Assertion\AssertionRenderer; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Invocation\Invoker; use Eloquent\Phony\Mock\Builder\MockDefinition; use Eloquent\Phony\Mock\Mock; ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Handle/StaticHandleRegistry.php
src/Mock/Handle/StaticHandleRegistry.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Handle; /** * Stores static handles for all classes. */ class StaticHandleRegistry { /** * @var array<class-string,StaticHandle> */ public static $handles = []; }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Handle/HandleFactory.php
src/Mock/Handle/HandleFactory.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Handle; use Eloquent\Phony\Assertion\AssertionRecorder; use Eloquent\Phony\Assertion\AssertionRenderer; use Eloquent\Phony\Invocation\Invoker; use Eloquent\Phony\Mock\Exception\InvalidMockClassException; use Eloquent\Phony\Mock\Exception\InvalidMockExcepti...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Handle/HandleTrait.php
src/Mock/Handle/HandleTrait.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Handle; use Eloquent\Phony\Assertion\AssertionRecorder; use Eloquent\Phony\Assertion\AssertionRenderer; use Eloquent\Phony\Event\EventCollection; use Eloquent\Phony\Invocation\Invoker; use Eloquent\Phony\Mock\Builder\MockDefinition; use Eloquent\Phony\Mock...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Handle/Handle.php
src/Mock/Handle/Handle.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Handle; use Eloquent\Phony\Event\EventCollection; use Eloquent\Phony\Mock\Exception\MockException; use Eloquent\Phony\Spy\Spy; use Eloquent\Phony\Stub\StubVerifier; use ReflectionClass; use stdClass; use Throwable; /** * The interface implemented by hand...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Builder/MockBuilderFactory.php
src/Mock/Builder/MockBuilderFactory.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Builder; use Eloquent\Phony\Invocation\InvocableInspector; use Eloquent\Phony\Mock\Handle\HandleFactory; use Eloquent\Phony\Mock\MockFactory; use Eloquent\Phony\Mock\MockGenerator; use Eloquent\Phony\Reflection\FeatureDetector; /** * Creates mock builder...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Builder/MockBuilder.php
src/Mock/Builder/MockBuilder.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Builder; use Eloquent\Phony\Call\Arguments; use Eloquent\Phony\Invocation\InvocableInspector; use Eloquent\Phony\Mock\Exception\AnonymousClassException; use Eloquent\Phony\Mock\Exception\FinalClassException; use Eloquent\Phony\Mock\Exception\FinalizedMockE...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Builder/MockDefinition.php
src/Mock/Builder/MockDefinition.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Builder; use Eloquent\Phony\Mock\Builder\Method\CustomMethodDefinition; use Eloquent\Phony\Mock\Builder\Method\MethodDefinitionCollection; use Eloquent\Phony\Mock\Builder\Method\RealMethodDefinition; use Eloquent\Phony\Mock\Builder\Method\TraitMethodDefini...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Builder/Method/MethodDefinitionCollection.php
src/Mock/Builder/Method/MethodDefinitionCollection.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Builder\Method; /** * Represents a collection of methods. */ class MethodDefinitionCollection { /** * Construct a new method definition collection. * * @param array<string,MethodDefinition> $methods The methods. * @param ar...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Builder/Method/RealMethodDefinition.php
src/Mock/Builder/Method/RealMethodDefinition.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Builder\Method; use ReflectionFunctionAbstract; use ReflectionMethod; /** * Represents a real method definition. */ class RealMethodDefinition implements MethodDefinition { /** * Construct a new real method definition. * * @param Refl...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Builder/Method/TraitMethodDefinition.php
src/Mock/Builder/Method/TraitMethodDefinition.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Builder\Method; /** * Represents a trait method definition. */ class TraitMethodDefinition extends RealMethodDefinition { }
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false
eloquent/phony
https://github.com/eloquent/phony/blob/3d093d78e83fa5066559854505f01b6ea19af12e/src/Mock/Builder/Method/CustomMethodDefinition.php
src/Mock/Builder/Method/CustomMethodDefinition.php
<?php declare(strict_types=1); namespace Eloquent\Phony\Mock\Builder\Method; use ReflectionFunctionAbstract; /** * Represents a custom method definition. */ class CustomMethodDefinition implements MethodDefinition { /** * Construct a new custom method definition. * * @param bool ...
php
MIT
3d093d78e83fa5066559854505f01b6ea19af12e
2026-01-05T02:35:49.024953Z
false