From bc1584cb90af68361fe48481d6ec0da5d6291860 Mon Sep 17 00:00:00 2001 From: Nasrul Hazim Bin Mohamad Date: Fri, 25 Oct 2024 00:03:34 +0800 Subject: [PATCH 1/7] Refactor --- config/profile.php | 10 ++- database/migrations/.gitignore | 1 + .../create_addresses_table.php.stub | 37 ++++++++++ .../migrations/create_banks_table.php.stub | 43 ++++++++++++ .../create_countries_table.php.stub | 31 +++++++++ .../migrations/create_emails_table.php.stub | 32 +++++++++ .../create_phone_types_table.php.stub | 30 ++++++++ .../migrations/create_phones_table.php.stub | 33 +++++++++ .../migrations/create_websites_table.php.stub | 33 +++++++++ .../Morphs => Concerns}/Addressable.php | 6 +- src/{Traits/Morphs => Concerns}/Bankable.php | 9 ++- src/{Traits/Morphs => Concerns}/Emailable.php | 6 +- src/Concerns/HasProfile.php | 19 +++++ src/{Traits/Morphs => Concerns}/Phoneable.php | 6 +- .../Morphs => Concerns}/Websiteable.php | 6 +- src/Contracts/Profile.php | 8 +++ src/Models/Address.php | 21 +++--- src/Models/Bank.php | 9 ++- src/Models/BankAccount.php | 15 ++-- src/Models/Country.php | 7 +- src/Models/Email.php | 17 ++--- src/Models/Phone.php | 33 ++++----- src/Models/PhoneType.php | 3 + src/Models/Website.php | 20 +++--- src/ProfileServiceProvider.php | 69 +++++-------------- src/Traits/HasProfile.php | 19 ----- 26 files changed, 376 insertions(+), 147 deletions(-) create mode 100644 database/migrations/.gitignore create mode 100644 database/migrations/create_addresses_table.php.stub create mode 100644 database/migrations/create_banks_table.php.stub create mode 100644 database/migrations/create_countries_table.php.stub create mode 100644 database/migrations/create_emails_table.php.stub create mode 100644 database/migrations/create_phone_types_table.php.stub create mode 100644 database/migrations/create_phones_table.php.stub create mode 100644 database/migrations/create_websites_table.php.stub rename src/{Traits/Morphs => Concerns}/Addressable.php (65%) rename src/{Traits/Morphs => Concerns}/Bankable.php (63%) rename src/{Traits/Morphs => Concerns}/Emailable.php (64%) create mode 100644 src/Concerns/HasProfile.php rename src/{Traits/Morphs => Concerns}/Phoneable.php (64%) rename src/{Traits/Morphs => Concerns}/Websiteable.php (65%) create mode 100644 src/Contracts/Profile.php delete mode 100644 src/Traits/HasProfile.php diff --git a/config/profile.php b/config/profile.php index 8e0cdbd..d229bc2 100644 --- a/config/profile.php +++ b/config/profile.php @@ -1,5 +1,9 @@ [ 'address' => [ @@ -30,9 +34,9 @@ ], ], 'seeders' => [ - \CleaniqueCoders\Profile\Database\Seeders\BankSeeder::class, - \CleaniqueCoders\Profile\Database\Seeders\CountrySeeder::class, - \CleaniqueCoders\Profile\Database\Seeders\PhoneTypeSeeder::class, + BankSeeder::class, + CountrySeeder::class, + PhoneTypeSeeder::class, // @todo should use enum ], 'data' => [ 'phoneType' => [ diff --git a/database/migrations/.gitignore b/database/migrations/.gitignore new file mode 100644 index 0000000..9bd23a5 --- /dev/null +++ b/database/migrations/.gitignore @@ -0,0 +1 @@ +!*.gitignore diff --git a/database/migrations/create_addresses_table.php.stub b/database/migrations/create_addresses_table.php.stub new file mode 100644 index 0000000..6601a72 --- /dev/null +++ b/database/migrations/create_addresses_table.php.stub @@ -0,0 +1,37 @@ +increments('id'); + $table->uuid('uuid')->unique(); + $table->nullableBelongsTo('countries'); + $table->unsignedInteger('addressable_id'); + $table->string('addressable_type'); + $table->text('primary')->nullable(); + $table->text('secondary')->nullable(); + $table->string('postcode')->nullable(); + $table->string('city')->nullable(); + $table->string('state')->nullable(); + $table->is('default'); + $table->standardTime(); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::dropIfExists('addresses'); + } +}; diff --git a/database/migrations/create_banks_table.php.stub b/database/migrations/create_banks_table.php.stub new file mode 100644 index 0000000..0ab8198 --- /dev/null +++ b/database/migrations/create_banks_table.php.stub @@ -0,0 +1,43 @@ +increments('id'); + $table->uuid('uuid')->unique(); + $table->string('name')->nullable(); + $table->code('swift_code'); + $table->code('bank_code'); + $table->standardTime(); + }); + + Schema::create('bank_accounts', function (Blueprint $table) { + $table->increments('id'); + $table->uuid('uuid')->unique(); + $table->belongsTo('banks'); + $table->unsignedInteger('bankable_id'); + $table->string('bankable_type'); + $table->string('account_no')->nullable(); + $table->is('default'); + $table->standardTime(); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::dropIfExists('bank_accounts'); + Schema::dropIfExists('banks'); + } +}; diff --git a/database/migrations/create_countries_table.php.stub b/database/migrations/create_countries_table.php.stub new file mode 100644 index 0000000..62601dc --- /dev/null +++ b/database/migrations/create_countries_table.php.stub @@ -0,0 +1,31 @@ +increments('id'); + $table->uuid('uuid')->unique(); + $table->string('code'); + $table->label(); + $table->name(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::dropIfExists('countries'); + } +}; diff --git a/database/migrations/create_emails_table.php.stub b/database/migrations/create_emails_table.php.stub new file mode 100644 index 0000000..5eeac8a --- /dev/null +++ b/database/migrations/create_emails_table.php.stub @@ -0,0 +1,32 @@ +increments('id'); + $table->uuid('uuid')->unique(); + $table->unsignedInteger('emailable_id'); + $table->string('emailable_type'); + $table->string('email')->nullable(); + $table->is('default'); + $table->standardTime(); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::dropIfExists('emails'); + } +}; diff --git a/database/migrations/create_phone_types_table.php.stub b/database/migrations/create_phone_types_table.php.stub new file mode 100644 index 0000000..38da8bc --- /dev/null +++ b/database/migrations/create_phone_types_table.php.stub @@ -0,0 +1,30 @@ +increments('id'); + $table->uuid('uuid')->unique(); + $table->label(); + $table->name(); + $table->timestamps(); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::dropIfExists('phone_types'); + } +}; diff --git a/database/migrations/create_phones_table.php.stub b/database/migrations/create_phones_table.php.stub new file mode 100644 index 0000000..875e56f --- /dev/null +++ b/database/migrations/create_phones_table.php.stub @@ -0,0 +1,33 @@ +increments('id'); + $table->uuid('uuid')->unique(); + $table->belongsTo('phone_types')->default(\CleaniqueCoders\Profile\Models\PhoneType::HOME); + $table->unsignedInteger('phoneable_id'); + $table->string('phoneable_type'); + $table->string('phone_number')->nullable(); + $table->is('default'); + $table->standardTime(); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::dropIfExists('phones'); + } +}; diff --git a/database/migrations/create_websites_table.php.stub b/database/migrations/create_websites_table.php.stub new file mode 100644 index 0000000..a4c1fd2 --- /dev/null +++ b/database/migrations/create_websites_table.php.stub @@ -0,0 +1,33 @@ +increments('id'); + $table->uuid('uuid')->unique(); + $table->unsignedInteger('websiteable_id'); + $table->string('websiteable_type'); + $table->string('name')->nullable(); + $table->string('url')->nullable(); + $table->is('default'); + $table->standardTime(); + }); + } + + /** + * Reverse the migrations. + */ + public function down() + { + Schema::dropIfExists('websites'); + } +}; diff --git a/src/Traits/Morphs/Addressable.php b/src/Concerns/Addressable.php similarity index 65% rename from src/Traits/Morphs/Addressable.php rename to src/Concerns/Addressable.php index 43d8bae..8b10779 100644 --- a/src/Traits/Morphs/Addressable.php +++ b/src/Concerns/Addressable.php @@ -1,6 +1,8 @@ morphMany( config('profile.providers.address.model'), diff --git a/src/Traits/Morphs/Bankable.php b/src/Concerns/Bankable.php similarity index 63% rename from src/Traits/Morphs/Bankable.php rename to src/Concerns/Bankable.php index bb8c2f8..92beb0a 100644 --- a/src/Traits/Morphs/Bankable.php +++ b/src/Concerns/Bankable.php @@ -1,6 +1,9 @@ belongsTo( config('profile.profile.providers.bank.model') @@ -20,7 +23,7 @@ public function bank() /** * Get all banks. */ - public function banks() + public function banks(): MorphMany { return $this->morphMany( config('profile.providers.bank.model'), diff --git a/src/Traits/Morphs/Emailable.php b/src/Concerns/Emailable.php similarity index 64% rename from src/Traits/Morphs/Emailable.php rename to src/Concerns/Emailable.php index 7e04e4c..8e0961d 100644 --- a/src/Traits/Morphs/Emailable.php +++ b/src/Concerns/Emailable.php @@ -1,6 +1,8 @@ morphMany( config('profile.providers.email.model'), diff --git a/src/Concerns/HasProfile.php b/src/Concerns/HasProfile.php new file mode 100644 index 0000000..4c53b27 --- /dev/null +++ b/src/Concerns/HasProfile.php @@ -0,0 +1,19 @@ +morphMany( config('profile.providers.phone.model'), diff --git a/src/Traits/Morphs/Websiteable.php b/src/Concerns/Websiteable.php similarity index 65% rename from src/Traits/Morphs/Websiteable.php rename to src/Concerns/Websiteable.php index e0a46e8..db3774c 100644 --- a/src/Traits/Morphs/Websiteable.php +++ b/src/Concerns/Websiteable.php @@ -1,6 +1,8 @@ morphMany( config('profile.providers.website.model'), diff --git a/src/Contracts/Profile.php b/src/Contracts/Profile.php new file mode 100644 index 0000000..3622a27 --- /dev/null +++ b/src/Contracts/Profile.php @@ -0,0 +1,8 @@ +morphTo(); } @@ -29,7 +26,7 @@ public function addressable() /** * Get Country. */ - public function country() + public function country(): BelongsTo { return $this->belongsTo(Country::class); } diff --git a/src/Models/Bank.php b/src/Models/Bank.php index 09c23b5..39c3535 100644 --- a/src/Models/Bank.php +++ b/src/Models/Bank.php @@ -2,12 +2,15 @@ namespace CleaniqueCoders\Profile\Models; -use CleaniqueCoders\Profile\Traits\HasProfile; +use CleaniqueCoders\Profile\Concerns\HasProfile; +use CleaniqueCoders\Traitify\Concerns\InteractsWithUuid; use Illuminate\Database\Eloquent\Model; class Bank extends Model { - use HasProfile; + use HasProfile, InteractsWithUuid; - protected $guarded = ['id']; + protected $guarded = [ + 'id' + ]; } diff --git a/src/Models/BankAccount.php b/src/Models/BankAccount.php index a1a919a..75d691a 100644 --- a/src/Models/BankAccount.php +++ b/src/Models/BankAccount.php @@ -2,20 +2,25 @@ namespace CleaniqueCoders\Profile\Models; +use CleaniqueCoders\Traitify\Concerns\InteractsWithUuid; use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Eloquent\Relations\BelongsTo; +use Illuminate\Database\Eloquent\Relations\MorphTo; class BankAccount extends Model { - protected $guarded = ['id']; + use InteractsWithUuid; - protected $bank; + protected $guarded = [ + 'id' + ]; /** * Bank. * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ - public function bank() + public function bank(): BelongsTo { return $this->belongsTo(Bank::class)->withDefault(); } @@ -23,7 +28,7 @@ public function bank() /** * Get all of the owning bank models. */ - public function bankable() + public function bankable(): MorphTo { return $this->morphTo(); } @@ -33,7 +38,7 @@ public function bankable() * * @return string */ - public function getBankNameAttribute() + public function getBankNameAttribute(): string { return $this->bank->name; } diff --git a/src/Models/Country.php b/src/Models/Country.php index bcf88ea..559e675 100644 --- a/src/Models/Country.php +++ b/src/Models/Country.php @@ -2,9 +2,14 @@ namespace CleaniqueCoders\Profile\Models; +use CleaniqueCoders\Traitify\Concerns\InteractsWithUuid; use Illuminate\Database\Eloquent\Model; class Country extends Model { - protected $guarded = []; + use InteractsWithUuid; + + protected $guarded = [ + 'id' + ]; } diff --git a/src/Models/Email.php b/src/Models/Email.php index 2e1d58f..c69dcc4 100644 --- a/src/Models/Email.php +++ b/src/Models/Email.php @@ -2,21 +2,16 @@ namespace CleaniqueCoders\Profile\Models; +use CleaniqueCoders\Traitify\Concerns\InteractsWithUuid; use Illuminate\Database\Eloquent\Model; class Email extends Model { - protected $guarded = ['id']; - - /** - * Get the route key for the model. - * - * @return string - */ - public function getRouteKeyName() - { - return 'hashslug'; - } + use InteractsWithUuid; + + protected $guarded = [ + 'id' + ]; /** * Get all of the owning emailable models. diff --git a/src/Models/Phone.php b/src/Models/Phone.php index ec9997f..9ab5c0f 100644 --- a/src/Models/Phone.php +++ b/src/Models/Phone.php @@ -2,27 +2,24 @@ namespace CleaniqueCoders\Profile\Models; +use CleaniqueCoders\Traitify\Concerns\InteractsWithUuid; use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Eloquent\Relations\BelongsTo; +use Illuminate\Database\Eloquent\Relations\MorphTo; class Phone extends Model { - protected $guarded = ['id']; - - /** - * Get the route key for the model. - * - * @return string - */ - public function getRouteKeyName() - { - return 'hashslug'; - } + use InteractsWithUuid; + + protected $guarded = [ + 'id' + ]; /** * Get all of the owning phoneable models. */ - public function phoneable() + public function phoneable(): MorphTo { return $this->morphTo(); } @@ -32,7 +29,7 @@ public function phoneable() * * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ - public function type() + public function type(): BelongsTo { return $this->belongsTo(PhoneType::class, 'phone_type_id')->withDefault(); } @@ -43,7 +40,7 @@ public function type() * * @return \Illuminate\Database\Eloquent\Builder */ - public function scopeHome(Builder $query) + public function scopeHome(Builder $query): Builder { return $query->where('phone_type_id', PhoneType::HOME); } @@ -54,7 +51,7 @@ public function scopeHome(Builder $query) * * @return \Illuminate\Database\Eloquent\Builder */ - public function scopeMobile(Builder $query) + public function scopeMobile(Builder $query): Builder { return $query->where('phone_type_id', PhoneType::MOBILE); } @@ -65,7 +62,7 @@ public function scopeMobile(Builder $query) * * @return \Illuminate\Database\Eloquent\Builder */ - public function scopeOffice(Builder $query) + public function scopeOffice(Builder $query): Builder { return $query->where('phone_type_id', PhoneType::OFFICE); } @@ -76,7 +73,7 @@ public function scopeOffice(Builder $query) * * @return \Illuminate\Database\Eloquent\Builder */ - public function scopeOther(Builder $query) + public function scopeOther(Builder $query): Builder { return $query->where('phone_type_id', PhoneType::OTHER); } @@ -87,7 +84,7 @@ public function scopeOther(Builder $query) * * @return \Illuminate\Database\Eloquent\Builder */ - public function scopeFax(Builder $query) + public function scopeFax(Builder $query): Builder { return $query->where('phone_type_id', PhoneType::FAX); } diff --git a/src/Models/PhoneType.php b/src/Models/PhoneType.php index 1a8543b..e9e0ef0 100644 --- a/src/Models/PhoneType.php +++ b/src/Models/PhoneType.php @@ -2,10 +2,13 @@ namespace CleaniqueCoders\Profile\Models; +use CleaniqueCoders\Traitify\Concerns\InteractsWithUuid; use Illuminate\Database\Eloquent\Model; class PhoneType extends Model { + use InteractsWithUuid; + public const HOME = 1; public const MOBILE = 2; diff --git a/src/Models/Website.php b/src/Models/Website.php index af27799..e8d32b4 100644 --- a/src/Models/Website.php +++ b/src/Models/Website.php @@ -2,26 +2,22 @@ namespace CleaniqueCoders\Profile\Models; +use CleaniqueCoders\Traitify\Concerns\InteractsWithUuid; use Illuminate\Database\Eloquent\Model; +use Illuminate\Database\Eloquent\Relations\MorphTo; class Website extends Model { - protected $guarded = []; - - /** - * Get the route key for the model. - * - * @return string - */ - public function getRouteKeyName() - { - return 'hashslug'; - } + use InteractsWithUuid; + + protected $guarded = [ + 'id' + ]; /** * Get all of the owning websiteable models. */ - public function websiteable() + public function websiteable(): MorphTo { return $this->morphTo(); } diff --git a/src/ProfileServiceProvider.php b/src/ProfileServiceProvider.php index 9af5864..b86fd54 100644 --- a/src/ProfileServiceProvider.php +++ b/src/ProfileServiceProvider.php @@ -2,60 +2,25 @@ namespace CleaniqueCoders\Profile; -use Illuminate\Support\ServiceProvider; +use CleaniqueCoders\Profile\Console\Commands\SeedProfileCommand; +use Spatie\LaravelPackageTools\Package; +use Spatie\LaravelPackageTools\PackageServiceProvider; -class ProfileServiceProvider extends ServiceProvider +class ProfileServiceProvider extends PackageServiceProvider { - /** - * Package Tag Name. - * - * @var string - */ - protected $package_tag = 'profile'; - - /** - * Bootstrap the application services. - */ - public function boot() - { - /* - * Configuration - */ - $this->publishes([ - __DIR__.'/../config/profile.php' => config_path('profile.php'), - ], 'profile'); - $this->mergeConfigFrom( - __DIR__.'/../config/profile.php', - 'profile' - ); - - /* - * Migrations - */ - $this->publishes([ - __DIR__.'/../stubs/database/factories' => database_path('factories/'), - ], $this->package_tag.'-factories'); - $this->publishes([ - __DIR__.'/../stubs/database/migrations' => database_path('migrations/'), - ], $this->package_tag.'-migrations'); - $this->publishes([ - __DIR__.'/../database/Seeders' => database_path('seeders/'), - ], $this->package_tag.'-seeds'); - - /* - * Commands - */ - if ($this->app->runningInConsole()) { - $this->commands([ - \CleaniqueCoders\Profile\Console\Commands\SeedProfileCommand::class, - ]); - } - } - - /** - * Register the application services. - */ - public function register() + public function configurePackage(Package $package): void { + $package->name('profile') + ->hasConfigFile('profile') + ->hasCommand(SeedProfileCommand::class) + ->hasMigrations( + 'create_addresses_table', + 'create_banks_table', + 'create_countries_table', + 'create_emails_table', + 'create_phone_types_table', + 'create_phones_table', + 'create_websites_table', + ); } } diff --git a/src/Traits/HasProfile.php b/src/Traits/HasProfile.php deleted file mode 100644 index 4ef5adc..0000000 --- a/src/Traits/HasProfile.php +++ /dev/null @@ -1,19 +0,0 @@ - Date: Fri, 25 Oct 2024 00:03:39 +0800 Subject: [PATCH 2/7] Fix Code Style --- README.md | 76 ++++------ composer.json | 4 +- composer.lock | 142 +++++++++++++++++- phpunit.xml | 12 +- src/Concerns/HasProfile.php | 7 +- src/Contracts/Profile.php | 1 - src/Models/Address.php | 2 +- src/Models/Bank.php | 2 +- src/Models/BankAccount.php | 6 +- src/Models/Country.php | 4 +- src/Models/Email.php | 4 +- src/Models/Phone.php | 21 +-- src/Models/PhoneType.php | 2 +- src/Models/Website.php | 4 +- stubs/database/factories/AddressFactory.php | 14 -- stubs/database/factories/EmailFactory.php | 9 -- stubs/database/factories/PhoneFactory.php | 10 -- stubs/database/factories/WebsiteFactory.php | 10 -- stubs/database/migrations/.gitignore | 1 - ...17_12_23_000005_create_countries_table.php | 30 ---- ..._12_23_000009_create_phone_types_table.php | 29 ---- ...17_12_23_020225_create_addresses_table.php | 37 ----- .../2017_12_23_020240_create_phones_table.php | 33 ---- .../2017_12_23_022510_create_emails_table.php | 32 ---- ...018_02_06_175610_create_websites_table.php | 33 ---- .../2018_08_15_235959_create_banks_table.php | 42 ------ tests/Stubs/User.php | 2 +- 27 files changed, 192 insertions(+), 377 deletions(-) delete mode 100644 stubs/database/factories/AddressFactory.php delete mode 100644 stubs/database/factories/EmailFactory.php delete mode 100644 stubs/database/factories/PhoneFactory.php delete mode 100644 stubs/database/factories/WebsiteFactory.php delete mode 100644 stubs/database/migrations/.gitignore delete mode 100644 stubs/database/migrations/2017_12_23_000005_create_countries_table.php delete mode 100644 stubs/database/migrations/2017_12_23_000009_create_phone_types_table.php delete mode 100644 stubs/database/migrations/2017_12_23_020225_create_addresses_table.php delete mode 100644 stubs/database/migrations/2017_12_23_020240_create_phones_table.php delete mode 100644 stubs/database/migrations/2017_12_23_022510_create_emails_table.php delete mode 100644 stubs/database/migrations/2018_02_06_175610_create_websites_table.php delete mode 100644 stubs/database/migrations/2018_08_15_235959_create_banks_table.php diff --git a/README.md b/README.md index 99ca4c1..e5ec2f8 100644 --- a/README.md +++ b/README.md @@ -6,46 +6,28 @@ Profile is a package to store basic information - addresses, phone numbers, emai ## Installation -1. In order to install Profile in your Laravel project: +Install Profile package by running in your terminal: -``` -$ composer require cleaniquecoders/profile -``` - -2. Then in your `config/app.php` add the following to the `providers` key: - -```php -\CleaniqueCoders\Profile\ProfileServiceProvider::class, -``` - -Publish factory files: - -``` -$ php artisan vendor:publish --tag=profile-factories +```bash +composer require cleaniquecoders/profile ``` Publish migrations files: -``` -$ php artisan vendor:publish --tag=profile-migrations -``` - -Publish seed files: - -``` -$ php artisan vendor:publish --tag=profile-seeds +```bash +php artisan vendor:publish --tag=profile-migrations ``` Then run: -``` -$ php artisan migrate +```bash +php artisan migrate ``` -Then seed the Country and Phone Types data with: +Then run default seeders: -``` -$ php artisan profile:seed +```bash +php artisan profile:seed ``` #### Configuration @@ -56,7 +38,7 @@ You may want to define your own seeders for `profile:seed` in `config/profile.ph ### Available Polymorph Traits -User Cases: +User Cases: 1. A company has addresses, phone numbers, emails and websites. 2. An employee has addresses, phone numbers, emails and websites. @@ -67,20 +49,20 @@ This lead us to use Polymorph to tackle the issue of similarity in data stored. Available traits for polymorph: -1. `CleaniqueCoders\Profile\Traits\Morphs\Addressable` -2. `CleaniqueCoders\Profile\Traits\Morphs\Emailable` -3. `CleaniqueCoders\Profile\Traits\Morphs\Phoneable` -4. `CleaniqueCoders\Profile\Traits\Morphs\Websiteable` -5. `CleaniqueCoders\Profile\Traits\Morphs\Bankable` +1. `CleaniqueCoders\Profile\Concerns\Addressable` +2. `CleaniqueCoders\Profile\Concerns\Emailable` +3. `CleaniqueCoders\Profile\Concerns\Phoneable` +4. `CleaniqueCoders\Profile\Concerns\Websiteable` +5. `CleaniqueCoders\Profile\Concerns\Bankable` For most common setup for entity is to use `HasProfile` trait. `HasProfile` trait consist of: -1. `CleaniqueCoders\Profile\Traits\Morphs\Addressable` -2. `CleaniqueCoders\Profile\Traits\Morphs\Emailable` -3. `CleaniqueCoders\Profile\Traits\Morphs\Phoneable` -4. `CleaniqueCoders\Profile\Traits\Morphs\Websiteable` +1. `CleaniqueCoders\Profile\Concerns\Addressable` +2. `CleaniqueCoders\Profile\Concerns\Emailable` +3. `CleaniqueCoders\Profile\Concerns\Phoneable` +4. `CleaniqueCoders\Profile\Concerns\Websiteable` ```php @@ -91,7 +73,7 @@ use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable { - use HasProfile; + use HasProfile; } ``` @@ -101,16 +83,16 @@ class User extends Authenticatable ```php $user->addresses()->create([ - 'primary' => '9 miles, Sungei Way', - 'secondary' => 'P.O.Box 6503, Seri Setia', - 'city' => 'Petaling Jaya', - 'postcode' => '46150', - 'state' => 'Selangor', - 'country_id' => config('profile.providers.country.model')::name('Malaysia')->first()->id + 'primary' => '9 miles, Sungei Way', + 'secondary' => 'P.O.Box 6503, Seri Setia', + 'city' => 'Petaling Jaya', + 'postcode' => '46150', + 'state' => 'Selangor', + 'country_id' => config('profile.providers.country.model')::name('Malaysia')->first()->id ]); ``` -```php +```php $user->phones()->create([ 'phone_number' => '+6089259167', 'is_default' => true, @@ -162,4 +144,4 @@ $user->banks; ## License -This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT). \ No newline at end of file +This package is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT). diff --git a/composer.json b/composer.json index c364c07..72eb943 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,9 @@ "php": "^8.1 | ^8.2 | ^8.3", "illuminate/support": "^9.0 | ^10.0 | ^11.0", "illuminate/auth": "^9.0 | ^10.0 | ^11.0", - "cleaniquecoders/blueprint-macro": "^5.0" + "cleaniquecoders/blueprint-macro": "^5.0", + "spatie/laravel-package-tools": "^1.16", + "cleaniquecoders/traitify": "^1.0" }, "require-dev": { "orchestra/testbench": "7.*|8.*", diff --git a/composer.lock b/composer.lock index c32ac19..de1cd2d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "89a01d54960bd54fc26b13c540a89cc1", + "content-hash": "97426101a777240ad2aead366034d7fb", "packages": [ { "name": "brick/math", @@ -194,6 +194,84 @@ ], "time": "2023-02-25T00:45:37+00:00" }, + { + "name": "cleaniquecoders/traitify", + "version": "v1.0.1", + "source": { + "type": "git", + "url": "https://github.com/cleaniquecoders/traitify.git", + "reference": "ad449916c7c76941150c54340033587c80e3e297" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/cleaniquecoders/traitify/zipball/ad449916c7c76941150c54340033587c80e3e297", + "reference": "ad449916c7c76941150c54340033587c80e3e297", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^10.0||^11.0", + "php": "^8.2", + "spatie/laravel-package-tools": "^1.16" + }, + "require-dev": { + "larastan/larastan": "^2.9", + "laravel/pint": "^1.14", + "nunomaduro/collision": "^8.1.1||^7.10.0", + "orchestra/testbench": "^9.5", + "pestphp/pest": "^2.34", + "pestphp/pest-plugin-arch": "^2.7", + "pestphp/pest-plugin-laravel": "^2.3", + "phpstan/extension-installer": "^1.3", + "phpstan/phpstan-deprecation-rules": "^1.1", + "phpstan/phpstan-phpunit": "^1.3" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "CleaniqueCoders\\Traitify\\TraitifyServiceProvider" + ], + "aliases": { + "Traitify": "CleaniqueCoders\\Traitify\\Facades\\Traitify" + } + } + }, + "autoload": { + "psr-4": { + "CleaniqueCoders\\Traitify\\": "src/", + "CleaniqueCoders\\Traitify\\Database\\Factories\\": "database/factories/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nasrul Hazim Bin Mohamad", + "email": "nasrulhazim.m@gmail.com", + "role": "Solution Architect | Software Engineer" + } + ], + "description": "Traitify is a Laravel package designed to streamline and enhance your development process by providing a collection of reusable traits and contracts.", + "homepage": "https://github.com/cleaniquecoders/traitify", + "keywords": [ + "Cleanique Coders", + "laravel", + "traitify" + ], + "support": { + "issues": "https://github.com/cleaniquecoders/traitify/issues", + "source": "https://github.com/cleaniquecoders/traitify/tree/v1.0.1" + }, + "funding": [ + { + "url": "https://github.com/Cleanique Coders", + "type": "github" + } + ], + "time": "2024-10-16T02:52:02+00:00" + }, { "name": "dflydev/dot-access-data", "version": "v3.0.2", @@ -2844,6 +2922,66 @@ ], "time": "2023-11-08T05:53:05+00:00" }, + { + "name": "spatie/laravel-package-tools", + "version": "1.16.5", + "source": { + "type": "git", + "url": "https://github.com/spatie/laravel-package-tools.git", + "reference": "c7413972cf22ffdff97b68499c22baa04eddb6a2" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/spatie/laravel-package-tools/zipball/c7413972cf22ffdff97b68499c22baa04eddb6a2", + "reference": "c7413972cf22ffdff97b68499c22baa04eddb6a2", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^9.28|^10.0|^11.0", + "php": "^8.0" + }, + "require-dev": { + "mockery/mockery": "^1.5", + "orchestra/testbench": "^7.7|^8.0", + "pestphp/pest": "^1.22", + "phpunit/phpunit": "^9.5.24", + "spatie/pest-plugin-test-time": "^1.1" + }, + "type": "library", + "autoload": { + "psr-4": { + "Spatie\\LaravelPackageTools\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Freek Van der Herten", + "email": "freek@spatie.be", + "role": "Developer" + } + ], + "description": "Tools for creating Laravel packages", + "homepage": "https://github.com/spatie/laravel-package-tools", + "keywords": [ + "laravel-package-tools", + "spatie" + ], + "support": { + "issues": "https://github.com/spatie/laravel-package-tools/issues", + "source": "https://github.com/spatie/laravel-package-tools/tree/1.16.5" + }, + "funding": [ + { + "url": "https://github.com/spatie", + "type": "github" + } + ], + "time": "2024-08-27T18:56:10+00:00" + }, { "name": "symfony/console", "version": "v6.4.4", @@ -9926,5 +10064,5 @@ "php": "^8.1 | ^8.2 | ^8.3" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/phpunit.xml b/phpunit.xml index ca4892e..b2675a7 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,10 +1,5 @@ - - - - src/ - - + ./tests/ @@ -16,4 +11,9 @@ + + + src/ + + diff --git a/src/Concerns/HasProfile.php b/src/Concerns/HasProfile.php index 4c53b27..22643c5 100644 --- a/src/Concerns/HasProfile.php +++ b/src/Concerns/HasProfile.php @@ -2,15 +2,10 @@ namespace CleaniqueCoders\Profile\Concerns; -use CleaniqueCoders\Profile\Concerns\Addressable; -use CleaniqueCoders\Profile\Concerns\Emailable; -use CleaniqueCoders\Profile\Concerns\Phoneable; -use CleaniqueCoders\Profile\Concerns\Websiteable; - /** * HasProfile Trait. */ -trait HasProfile +trait HasProfile { use Addressable; use Emailable; diff --git a/src/Contracts/Profile.php b/src/Contracts/Profile.php index 3622a27..b36531c 100644 --- a/src/Contracts/Profile.php +++ b/src/Contracts/Profile.php @@ -4,5 +4,4 @@ interface Profile { - } diff --git a/src/Models/Address.php b/src/Models/Address.php index e99d723..9d1f5d2 100644 --- a/src/Models/Address.php +++ b/src/Models/Address.php @@ -12,7 +12,7 @@ class Address extends Model use InteractsWithUuid; protected $guarded = [ - 'id' + 'id', ]; /** diff --git a/src/Models/Bank.php b/src/Models/Bank.php index 39c3535..42c9c44 100644 --- a/src/Models/Bank.php +++ b/src/Models/Bank.php @@ -11,6 +11,6 @@ class Bank extends Model use HasProfile, InteractsWithUuid; protected $guarded = [ - 'id' + 'id', ]; } diff --git a/src/Models/BankAccount.php b/src/Models/BankAccount.php index 75d691a..db32716 100644 --- a/src/Models/BankAccount.php +++ b/src/Models/BankAccount.php @@ -12,13 +12,11 @@ class BankAccount extends Model use InteractsWithUuid; protected $guarded = [ - 'id' + 'id', ]; /** * Bank. - * - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function bank(): BelongsTo { @@ -35,8 +33,6 @@ public function bankable(): MorphTo /** * Get Bank Name via Accessor. - * - * @return string */ public function getBankNameAttribute(): string { diff --git a/src/Models/Country.php b/src/Models/Country.php index 559e675..b08415d 100644 --- a/src/Models/Country.php +++ b/src/Models/Country.php @@ -8,8 +8,8 @@ class Country extends Model { use InteractsWithUuid; - + protected $guarded = [ - 'id' + 'id', ]; } diff --git a/src/Models/Email.php b/src/Models/Email.php index c69dcc4..264f3db 100644 --- a/src/Models/Email.php +++ b/src/Models/Email.php @@ -8,9 +8,9 @@ class Email extends Model { use InteractsWithUuid; - + protected $guarded = [ - 'id' + 'id', ]; /** diff --git a/src/Models/Phone.php b/src/Models/Phone.php index 9ab5c0f..9b1c51d 100644 --- a/src/Models/Phone.php +++ b/src/Models/Phone.php @@ -11,9 +11,9 @@ class Phone extends Model { use InteractsWithUuid; - + protected $guarded = [ - 'id' + 'id', ]; /** @@ -26,8 +26,6 @@ public function phoneable(): MorphTo /** * Phone Type. - * - * @return \Illuminate\Database\Eloquent\Relations\BelongsTo */ public function type(): BelongsTo { @@ -36,9 +34,6 @@ public function type(): BelongsTo /** * Get Home Phone Numbers. - * - * - * @return \Illuminate\Database\Eloquent\Builder */ public function scopeHome(Builder $query): Builder { @@ -47,9 +42,6 @@ public function scopeHome(Builder $query): Builder /** * Get Mobile Phone Numbers. - * - * - * @return \Illuminate\Database\Eloquent\Builder */ public function scopeMobile(Builder $query): Builder { @@ -58,9 +50,6 @@ public function scopeMobile(Builder $query): Builder /** * Get Office Phone Numbers. - * - * - * @return \Illuminate\Database\Eloquent\Builder */ public function scopeOffice(Builder $query): Builder { @@ -69,9 +58,6 @@ public function scopeOffice(Builder $query): Builder /** * Get Other Phone Numbers. - * - * - * @return \Illuminate\Database\Eloquent\Builder */ public function scopeOther(Builder $query): Builder { @@ -80,9 +66,6 @@ public function scopeOther(Builder $query): Builder /** * Get Fax Phone Numbers. - * - * - * @return \Illuminate\Database\Eloquent\Builder */ public function scopeFax(Builder $query): Builder { diff --git a/src/Models/PhoneType.php b/src/Models/PhoneType.php index e9e0ef0..17af68e 100644 --- a/src/Models/PhoneType.php +++ b/src/Models/PhoneType.php @@ -8,7 +8,7 @@ class PhoneType extends Model { use InteractsWithUuid; - + public const HOME = 1; public const MOBILE = 2; diff --git a/src/Models/Website.php b/src/Models/Website.php index e8d32b4..feab00f 100644 --- a/src/Models/Website.php +++ b/src/Models/Website.php @@ -9,9 +9,9 @@ class Website extends Model { use InteractsWithUuid; - + protected $guarded = [ - 'id' + 'id', ]; /** diff --git a/stubs/database/factories/AddressFactory.php b/stubs/database/factories/AddressFactory.php deleted file mode 100644 index 95785e0..0000000 --- a/stubs/database/factories/AddressFactory.php +++ /dev/null @@ -1,14 +0,0 @@ -define(\CleaniqueCoders\Profile\Models\Address::class, function (Faker $faker) { - return [ - 'country_id' => $faker->randomElement(range(1, 200)), - 'primary' => $faker->streetName, - 'secondary' => $faker->streetAddress, - 'postcode' => $faker->postcode, - 'city' => $faker->city, - 'state' => $faker->state, - ]; -}); diff --git a/stubs/database/factories/EmailFactory.php b/stubs/database/factories/EmailFactory.php deleted file mode 100644 index 624b816..0000000 --- a/stubs/database/factories/EmailFactory.php +++ /dev/null @@ -1,9 +0,0 @@ -define(\CleaniqueCoders\Profile\Models\Email::class, function (Faker $faker) { - return [ - 'email' => $faker->companyEmail, - ]; -}); diff --git a/stubs/database/factories/PhoneFactory.php b/stubs/database/factories/PhoneFactory.php deleted file mode 100644 index 332a870..0000000 --- a/stubs/database/factories/PhoneFactory.php +++ /dev/null @@ -1,10 +0,0 @@ -define(\CleaniqueCoders\Profile\Models\Phone::class, function (Faker $faker) { - return [ - 'phone_type_id' => $faker->randomElement([1, 2, 3, 4]), - 'phone_number' => $faker->phoneNumber, - ]; -}); diff --git a/stubs/database/factories/WebsiteFactory.php b/stubs/database/factories/WebsiteFactory.php deleted file mode 100644 index 130bc09..0000000 --- a/stubs/database/factories/WebsiteFactory.php +++ /dev/null @@ -1,10 +0,0 @@ -define(\CleaniqueCoders\Profile\Models\Website::class, function (Faker $faker) { - return [ - 'url' => $faker->url, - 'name' => $faker->name, - ]; -}); diff --git a/stubs/database/migrations/.gitignore b/stubs/database/migrations/.gitignore deleted file mode 100644 index 9bd23a5..0000000 --- a/stubs/database/migrations/.gitignore +++ /dev/null @@ -1 +0,0 @@ -!*.gitignore diff --git a/stubs/database/migrations/2017_12_23_000005_create_countries_table.php b/stubs/database/migrations/2017_12_23_000005_create_countries_table.php deleted file mode 100644 index 90a562e..0000000 --- a/stubs/database/migrations/2017_12_23_000005_create_countries_table.php +++ /dev/null @@ -1,30 +0,0 @@ -increments('id'); - $table->string('code'); - $table->label(); - $table->name(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - */ - public function down() - { - Schema::dropIfExists('countries'); - } -} diff --git a/stubs/database/migrations/2017_12_23_000009_create_phone_types_table.php b/stubs/database/migrations/2017_12_23_000009_create_phone_types_table.php deleted file mode 100644 index 128fa95..0000000 --- a/stubs/database/migrations/2017_12_23_000009_create_phone_types_table.php +++ /dev/null @@ -1,29 +0,0 @@ -increments('id'); - $table->label(); - $table->name(); - $table->timestamps(); - }); - } - - /** - * Reverse the migrations. - */ - public function down() - { - Schema::dropIfExists('phone_types'); - } -} diff --git a/stubs/database/migrations/2017_12_23_020225_create_addresses_table.php b/stubs/database/migrations/2017_12_23_020225_create_addresses_table.php deleted file mode 100644 index 2801b00..0000000 --- a/stubs/database/migrations/2017_12_23_020225_create_addresses_table.php +++ /dev/null @@ -1,37 +0,0 @@ -increments('id'); - $table->hashslug(); - $table->nullableBelongsTo('countries'); - $table->unsignedInteger('addressable_id'); - $table->string('addressable_type'); - $table->text('primary')->nullable(); - $table->text('secondary')->nullable(); - $table->string('postcode')->nullable(); - $table->string('city')->nullable(); - $table->string('state')->nullable(); - $table->is('default'); - $table->standardTime(); - }); - } - - /** - * Reverse the migrations. - */ - public function down() - { - Schema::dropIfExists('addresses'); - } -} diff --git a/stubs/database/migrations/2017_12_23_020240_create_phones_table.php b/stubs/database/migrations/2017_12_23_020240_create_phones_table.php deleted file mode 100644 index 29d7728..0000000 --- a/stubs/database/migrations/2017_12_23_020240_create_phones_table.php +++ /dev/null @@ -1,33 +0,0 @@ -increments('id'); - $table->hashslug(); - $table->belongsTo('phone_types')->default(\CleaniqueCoders\Profile\Models\PhoneType::HOME); - $table->unsignedInteger('phoneable_id'); - $table->string('phoneable_type'); - $table->string('phone_number')->nullable(); - $table->is('default'); - $table->standardTime(); - }); - } - - /** - * Reverse the migrations. - */ - public function down() - { - Schema::dropIfExists('phones'); - } -} diff --git a/stubs/database/migrations/2017_12_23_022510_create_emails_table.php b/stubs/database/migrations/2017_12_23_022510_create_emails_table.php deleted file mode 100644 index bcaebca..0000000 --- a/stubs/database/migrations/2017_12_23_022510_create_emails_table.php +++ /dev/null @@ -1,32 +0,0 @@ -increments('id'); - $table->hashslug(); - $table->unsignedInteger('emailable_id'); - $table->string('emailable_type'); - $table->string('email')->nullable(); - $table->is('default'); - $table->standardTime(); - }); - } - - /** - * Reverse the migrations. - */ - public function down() - { - Schema::dropIfExists('emails'); - } -} diff --git a/stubs/database/migrations/2018_02_06_175610_create_websites_table.php b/stubs/database/migrations/2018_02_06_175610_create_websites_table.php deleted file mode 100644 index 053bc89..0000000 --- a/stubs/database/migrations/2018_02_06_175610_create_websites_table.php +++ /dev/null @@ -1,33 +0,0 @@ -increments('id'); - $table->hashslug(); - $table->unsignedInteger('websiteable_id'); - $table->string('websiteable_type'); - $table->string('name')->nullable(); - $table->string('url')->nullable(); - $table->is('default'); - $table->standardTime(); - }); - } - - /** - * Reverse the migrations. - */ - public function down() - { - Schema::dropIfExists('websites'); - } -} diff --git a/stubs/database/migrations/2018_08_15_235959_create_banks_table.php b/stubs/database/migrations/2018_08_15_235959_create_banks_table.php deleted file mode 100644 index c6fa335..0000000 --- a/stubs/database/migrations/2018_08_15_235959_create_banks_table.php +++ /dev/null @@ -1,42 +0,0 @@ -increments('id'); - $table->string('name')->nullable(); - $table->code('swift_code'); - $table->code('bank_code'); - $table->standardTime(); - }); - - Schema::create('bank_accounts', function (Blueprint $table) { - $table->increments('id'); - $table->hashslug(); - $table->belongsTo('banks'); - $table->unsignedInteger('bankable_id'); - $table->string('bankable_type'); - $table->string('account_no')->nullable(); - $table->is('default'); - $table->standardTime(); - }); - } - - /** - * Reverse the migrations. - */ - public function down() - { - Schema::dropIfExists('bank_accounts'); - Schema::dropIfExists('banks'); - } -} diff --git a/tests/Stubs/User.php b/tests/Stubs/User.php index 4c23eed..53c9c57 100644 --- a/tests/Stubs/User.php +++ b/tests/Stubs/User.php @@ -2,7 +2,7 @@ namespace CleaniqueCoders\Profile\Tests\Stubs; -use CleaniqueCoders\Profile\Traits\HasProfile; +use CleaniqueCoders\Profile\Concerns\HasProfile; use Illuminate\Foundation\Auth\User as Authenticatable; class User extends Authenticatable From af677774717806d1f4a7cecd4bdda000f344aa59 Mon Sep 17 00:00:00 2001 From: Nasrul Hazim Bin Mohamad Date: Fri, 25 Oct 2024 00:04:55 +0800 Subject: [PATCH 3/7] Clean up --- .gitignore | 38 ++++++++++++++++++++++++++++---------- .php_cs.dist.php | 40 ---------------------------------------- composer.json | 5 +---- support/helpers.php | 1 - 4 files changed, 29 insertions(+), 55 deletions(-) delete mode 100644 .php_cs.dist.php delete mode 100644 support/helpers.php diff --git a/.gitignore b/.gitignore index 9a43686..b60507f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,32 @@ -.idea -.php_cs -.php_cs.cache -.phpunit.result.cache -build +# Composer Related composer.lock -coverage -docs +/vendor + +# Frontend Assets +/node_modules + +# Logs +npm-debug.log +yarn-error.log + +# Caches +.phpunit.cache +.phpunit.result.cache +/build + +# IDE Helper +_ide_helper.php +_ide_helper_models.php +.phpstorm.meta.php + +# Editors +/.idea +/.fleet +/.vscode + +# Misc phpunit.xml phpstan.neon testbench.yaml -vendor -node_modules -.php-cs-fixer.cache +/docs +/coverage diff --git a/.php_cs.dist.php b/.php_cs.dist.php deleted file mode 100644 index 8d8a790..0000000 --- a/.php_cs.dist.php +++ /dev/null @@ -1,40 +0,0 @@ -in([ - __DIR__ . '/src', - __DIR__ . '/tests', - ]) - ->name('*.php') - ->notName('*.blade.php') - ->ignoreDotFiles(true) - ->ignoreVCS(true); - -return (new PhpCsFixer\Config()) - ->setRules([ - '@PSR12' => true, - 'array_syntax' => ['syntax' => 'short'], - 'ordered_imports' => ['sort_algorithm' => 'alpha'], - 'no_unused_imports' => true, - 'not_operator_with_successor_space' => true, - 'trailing_comma_in_multiline' => true, - 'phpdoc_scalar' => true, - 'unary_operator_spaces' => true, - 'binary_operator_spaces' => true, - 'blank_line_before_statement' => [ - 'statements' => ['break', 'continue', 'declare', 'return', 'throw', 'try'], - ], - 'phpdoc_single_line_var_spacing' => true, - 'phpdoc_var_without_name' => true, - 'class_attributes_separation' => [ - 'elements' => [ - 'method' => 'one', - ], - ], - 'method_argument_space' => [ - 'on_multiline' => 'ensure_fully_multiline', - 'keep_multiple_spaces_after_comma' => true, - ], - 'single_trait_insert_per_statement' => true, - ]) - ->setFinder($finder); diff --git a/composer.json b/composer.json index 72eb943..4ad128f 100644 --- a/composer.json +++ b/composer.json @@ -12,10 +12,7 @@ "psr-4": { "CleaniqueCoders\\Profile\\": "src/", "CleaniqueCoders\\Profile\\Database\\": "database/" - }, - "files": [ - "support/helpers.php" - ] + } }, "autoload-dev": { "psr-4": { diff --git a/support/helpers.php b/support/helpers.php deleted file mode 100644 index b3d9bbc..0000000 --- a/support/helpers.php +++ /dev/null @@ -1 +0,0 @@ - Date: Fri, 25 Oct 2024 00:15:07 +0800 Subject: [PATCH 4/7] Setup workbench --- workbench/.gitignore | 2 + workbench/app/Models/.gitkeep | 0 workbench/app/Models/User.php | 45 ++++++++++++++++ .../Providers/WorkbenchServiceProvider.php | 24 +++++++++ workbench/bootstrap/app.php | 19 +++++++ workbench/bootstrap/providers.php | 5 ++ workbench/database/factories/.gitkeep | 0 workbench/database/factories/UserFactory.php | 54 +++++++++++++++++++ workbench/database/migrations/.gitkeep | 0 workbench/database/seeders/DatabaseSeeder.php | 23 ++++++++ workbench/resources/views/.gitkeep | 0 workbench/routes/console.php | 8 +++ workbench/routes/web.php | 7 +++ 13 files changed, 187 insertions(+) create mode 100644 workbench/.gitignore create mode 100644 workbench/app/Models/.gitkeep create mode 100644 workbench/app/Models/User.php create mode 100644 workbench/app/Providers/WorkbenchServiceProvider.php create mode 100644 workbench/bootstrap/app.php create mode 100644 workbench/bootstrap/providers.php create mode 100644 workbench/database/factories/.gitkeep create mode 100644 workbench/database/factories/UserFactory.php create mode 100644 workbench/database/migrations/.gitkeep create mode 100644 workbench/database/seeders/DatabaseSeeder.php create mode 100644 workbench/resources/views/.gitkeep create mode 100644 workbench/routes/console.php create mode 100644 workbench/routes/web.php diff --git a/workbench/.gitignore b/workbench/.gitignore new file mode 100644 index 0000000..7260321 --- /dev/null +++ b/workbench/.gitignore @@ -0,0 +1,2 @@ +.env +.env.dusk diff --git a/workbench/app/Models/.gitkeep b/workbench/app/Models/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/workbench/app/Models/User.php b/workbench/app/Models/User.php new file mode 100644 index 0000000..1405251 --- /dev/null +++ b/workbench/app/Models/User.php @@ -0,0 +1,45 @@ + + */ + protected $fillable = [ + 'name', + 'email', + 'password', + ]; + + /** + * The attributes that should be hidden for serialization. + * + * @var array + */ + protected $hidden = [ + 'password', + 'remember_token', + ]; + + /** + * The attributes that should be cast. + * + * @var array + */ + protected $casts = [ + 'email_verified_at' => 'datetime', + 'password' => 'hashed', + ]; +} diff --git a/workbench/app/Providers/WorkbenchServiceProvider.php b/workbench/app/Providers/WorkbenchServiceProvider.php new file mode 100644 index 0000000..e8cec9c --- /dev/null +++ b/workbench/app/Providers/WorkbenchServiceProvider.php @@ -0,0 +1,24 @@ +withRouting( + web: __DIR__.'/../routes/web.php', + commands: __DIR__.'/../routes/console.php', + ) + ->withMiddleware(function (Middleware $middleware) { + // + }) + ->withExceptions(function (Exceptions $exceptions) { + // + })->create(); diff --git a/workbench/bootstrap/providers.php b/workbench/bootstrap/providers.php new file mode 100644 index 0000000..3ac44ad --- /dev/null +++ b/workbench/bootstrap/providers.php @@ -0,0 +1,5 @@ + + */ +class UserFactory extends Factory +{ + /** + * The current password being used by the factory. + */ + protected static ?string $password; + + /** + * The name of the factory's corresponding model. + * + * @var class-string + */ + protected $model = User::class; + + /** + * Define the model's default state. + * + * @return array + */ + public function definition(): array + { + return [ + 'name' => fake()->name(), + 'email' => fake()->unique()->safeEmail(), + 'email_verified_at' => now(), + 'password' => static::$password ??= Hash::make('password'), + 'remember_token' => Str::random(10), + ]; + } + + /** + * Indicate that the model's email address should be unverified. + */ + public function unverified(): static + { + return $this->state(fn (array $attributes) => [ + 'email_verified_at' => null, + ]); + } +} diff --git a/workbench/database/migrations/.gitkeep b/workbench/database/migrations/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/workbench/database/seeders/DatabaseSeeder.php b/workbench/database/seeders/DatabaseSeeder.php new file mode 100644 index 0000000..ce9bd15 --- /dev/null +++ b/workbench/database/seeders/DatabaseSeeder.php @@ -0,0 +1,23 @@ +create(); + + UserFactory::new()->create([ + 'name' => 'Test User', + 'email' => 'test@example.com', + ]); + } +} diff --git a/workbench/resources/views/.gitkeep b/workbench/resources/views/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/workbench/routes/console.php b/workbench/routes/console.php new file mode 100644 index 0000000..eff2ed2 --- /dev/null +++ b/workbench/routes/console.php @@ -0,0 +1,8 @@ +comment(Inspiring::quote()); +})->purpose('Display an inspiring quote')->hourly(); diff --git a/workbench/routes/web.php b/workbench/routes/web.php new file mode 100644 index 0000000..86a06c5 --- /dev/null +++ b/workbench/routes/web.php @@ -0,0 +1,7 @@ + Date: Fri, 25 Oct 2024 01:02:49 +0800 Subject: [PATCH 5/7] Migrate from PHPUnit to Pest --- composer.json | 124 +- composer.lock | 4368 ++++++++++------- database/Seeders/BankSeeder.php | 5 +- database/Seeders/CountrySeeder.php | 1 + database/Seeders/PhoneTypeSeeder.php | 1 + .../create_addresses_table.php.stub | 8 +- .../migrations/create_banks_table.php.stub | 15 +- .../create_countries_table.php.stub | 6 +- .../migrations/create_emails_table.php.stub | 5 +- .../create_phone_types_table.php.stub | 4 +- .../migrations/create_phones_table.php.stub | 8 +- .../migrations/create_websites_table.php.stub | 5 +- src/Contracts/Profile.php | 4 +- tests/AddressTest.php | 69 - tests/BankTest.php | 205 - tests/CountryTest.php | 28 - tests/EmailTest.php | 63 - tests/Feature/AddressTest.php | 35 + tests/Feature/BankTest.php | 171 + tests/Feature/ConfigTest.php | 5 + tests/Feature/CountryTest.php | 22 + tests/Feature/EmailTest.php | 29 + tests/Feature/PhoneTest.php | 79 + tests/Feature/PhoneTypeTest.php | 49 + tests/Feature/WebsiteTest.php | 30 + tests/Pest.php | 5 + tests/PhoneTest.php | 116 - tests/PhoneTypeTest.php | 72 - tests/Stubs/User.php | 11 - tests/TestCase.php | 154 +- tests/TestCaseBak.php | 141 + tests/Unit/ExampleTest.php | 5 + tests/WebsiteTest.php | 65 - workbench/app/Models/User.php | 5 +- 34 files changed, 3226 insertions(+), 2687 deletions(-) delete mode 100644 tests/AddressTest.php delete mode 100644 tests/BankTest.php delete mode 100644 tests/CountryTest.php delete mode 100644 tests/EmailTest.php create mode 100644 tests/Feature/AddressTest.php create mode 100644 tests/Feature/BankTest.php create mode 100644 tests/Feature/ConfigTest.php create mode 100644 tests/Feature/CountryTest.php create mode 100644 tests/Feature/EmailTest.php create mode 100644 tests/Feature/PhoneTest.php create mode 100644 tests/Feature/PhoneTypeTest.php create mode 100644 tests/Feature/WebsiteTest.php create mode 100644 tests/Pest.php delete mode 100644 tests/PhoneTest.php delete mode 100644 tests/PhoneTypeTest.php delete mode 100644 tests/Stubs/User.php create mode 100644 tests/TestCaseBak.php create mode 100644 tests/Unit/ExampleTest.php delete mode 100644 tests/WebsiteTest.php diff --git a/composer.json b/composer.json index 4ad128f..774a6d9 100644 --- a/composer.json +++ b/composer.json @@ -1,54 +1,74 @@ { - "name": "cleaniquecoders/profile", - "description": "Common Profile Information", - "license": "MIT", - "authors": [ - { - "name": "Nasrul Hazim", - "email": "nasrulhazim.m@gmail.com" - } - ], - "autoload": { - "psr-4": { - "CleaniqueCoders\\Profile\\": "src/", - "CleaniqueCoders\\Profile\\Database\\": "database/" - } - }, - "autoload-dev": { - "psr-4": { - "CleaniqueCoders\\Profile\\Tests\\": "tests/" - } - }, - "require": { - "php": "^8.1 | ^8.2 | ^8.3", - "illuminate/support": "^9.0 | ^10.0 | ^11.0", - "illuminate/auth": "^9.0 | ^10.0 | ^11.0", - "cleaniquecoders/blueprint-macro": "^5.0", - "spatie/laravel-package-tools": "^1.16", - "cleaniquecoders/traitify": "^1.0" - }, - "require-dev": { - "orchestra/testbench": "7.*|8.*", - "pestphp/pest": "^2.0", - "phpstan/phpstan-phpunit": "^1.2", - "laravel/pint": "^1.6" - }, - "extra": { - "laravel": { - "providers": [ - "CleaniqueCoders\\Profile\\ProfileServiceProvider" - ] - } - }, - "config": { - "allow-plugins": { - "pestphp/pest-plugin": true - } - }, - "scripts": { - "test": "vendor/bin/pest", - "format": "vendor/bin/pint" - }, - "minimum-stability": "dev", - "prefer-stable": true + "name": "cleaniquecoders/profile", + "description": "Common Profile Information", + "license": "MIT", + "authors": [ + { + "name": "Nasrul Hazim", + "email": "nasrulhazim.m@gmail.com" + } + ], + "autoload": { + "psr-4": { + "CleaniqueCoders\\Profile\\": "src/", + "CleaniqueCoders\\Profile\\Database\\": "database/" + } + }, + "autoload-dev": { + "psr-4": { + "CleaniqueCoders\\Profile\\Tests\\": "tests/", + "Workbench\\App\\": "workbench/app/", + "Workbench\\Database\\Factories\\": "workbench/database/factories/", + "Workbench\\Database\\Seeders\\": "workbench/database/seeders/" + } + }, + "require": { + "php": "^8.1 | ^8.2 | ^8.3", + "illuminate/support": "^9.0 | ^10.0 | ^11.0", + "illuminate/auth": "^9.0 | ^10.0 | ^11.0", + "cleaniquecoders/blueprint-macro": "^5.0", + "spatie/laravel-package-tools": "^1.16", + "cleaniquecoders/traitify": "^1.0" + }, + "require-dev": { + "orchestra/testbench": "^9.5", + "pestphp/pest": "^3.0", + "phpstan/phpstan-phpunit": "^1.2", + "laravel/pint": "^1.6", + "pestphp/pest-plugin-laravel": "^3.0" + }, + "extra": { + "laravel": { + "providers": [ + "CleaniqueCoders\\Profile\\ProfileServiceProvider" + ] + } + }, + "config": { + "allow-plugins": { + "pestphp/pest-plugin": true + } + }, + "scripts": { + "test": "vendor/bin/pest", + "format": "vendor/bin/pint", + "post-autoload-dump": [ + "@clear", + "@prepare" + ], + "clear": "@php vendor/bin/testbench package:purge-skeleton --ansi", + "prepare": "@php vendor/bin/testbench package:discover --ansi", + "build": "@php vendor/bin/testbench workbench:build --ansi", + "serve": [ + "Composer\\Config::disableProcessTimeout", + "@build", + "@php vendor/bin/testbench serve --ansi" + ], + "lint": [ + "@php vendor/bin/pint --ansi", + "@php vendor/bin/phpstan analyse --verbose --ansi" + ] + }, + "minimum-stability": "dev", + "prefer-stable": true } diff --git a/composer.lock b/composer.lock index de1cd2d..70a2bae 100644 --- a/composer.lock +++ b/composer.lock @@ -4,29 +4,29 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "97426101a777240ad2aead366034d7fb", + "content-hash": "7f8c26faad379b241f857b9a3c908546", "packages": [ { "name": "brick/math", - "version": "0.11.0", + "version": "0.12.1", "source": { "type": "git", "url": "https://github.com/brick/math.git", - "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478" + "reference": "f510c0a40911935b77b86859eb5223d58d660df1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/0ad82ce168c82ba30d1c01ec86116ab52f589478", - "reference": "0ad82ce168c82ba30d1c01ec86116ab52f589478", + "url": "https://api.github.com/repos/brick/math/zipball/f510c0a40911935b77b86859eb5223d58d660df1", + "reference": "f510c0a40911935b77b86859eb5223d58d660df1", "shasum": "" }, "require": { - "php": "^8.0" + "php": "^8.1" }, "require-dev": { "php-coveralls/php-coveralls": "^2.2", - "phpunit/phpunit": "^9.0", - "vimeo/psalm": "5.0.0" + "phpunit/phpunit": "^10.1", + "vimeo/psalm": "5.16.0" }, "type": "library", "autoload": { @@ -46,12 +46,17 @@ "arithmetic", "bigdecimal", "bignum", + "bignumber", "brick", - "math" + "decimal", + "integer", + "math", + "mathematics", + "rational" ], "support": { "issues": "https://github.com/brick/math/issues", - "source": "https://github.com/brick/math/tree/0.11.0" + "source": "https://github.com/brick/math/tree/0.12.1" }, "funding": [ { @@ -59,7 +64,7 @@ "type": "github" } ], - "time": "2023-01-15T23:15:59+00:00" + "time": "2023-11-29T23:19:16+00:00" }, { "name": "carbonphp/carbon-doctrine-types", @@ -132,31 +137,31 @@ }, { "name": "cleaniquecoders/blueprint-macro", - "version": "5.1.0", + "version": "5.2.0", "source": { "type": "git", "url": "https://github.com/cleaniquecoders/blueprint-macro.git", - "reference": "6d5d671d7af04f4806f99bbe3f103a6002a3d8ce" + "reference": "8b996ecfc6927e41a5addadbc108265f3d513404" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/cleaniquecoders/blueprint-macro/zipball/6d5d671d7af04f4806f99bbe3f103a6002a3d8ce", - "reference": "6d5d671d7af04f4806f99bbe3f103a6002a3d8ce", + "url": "https://api.github.com/repos/cleaniquecoders/blueprint-macro/zipball/8b996ecfc6927e41a5addadbc108265f3d513404", + "reference": "8b996ecfc6927e41a5addadbc108265f3d513404", "shasum": "" }, "require": { "doctrine/dbal": "^3.0", - "illuminate/auth": "^10.0", - "illuminate/filesystem": "^10.0", - "illuminate/support": "^10.0", - "php": "^8.1" + "illuminate/auth": "^10.0 | ^11.0", + "illuminate/filesystem": "^10.0 | ^11.0", + "illuminate/support": "^10.0 | ^11.0", + "php": "^8.1 | ^8.2 | ^8.3" }, "require-dev": { "laravel/pint": "^1.0", "mockery/mockery": "^1.1", - "orchestra/testbench": "8.*", + "orchestra/testbench": "8.* | 9.*", "phpstan/phpstan-phpunit": "^1.0", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^10.0 | ^11.0" }, "type": "library", "extra": { @@ -184,7 +189,7 @@ "description": "Laravel Blueprint Macro", "support": { "issues": "https://github.com/cleaniquecoders/blueprint-macro/issues", - "source": "https://github.com/cleaniquecoders/blueprint-macro/tree/5.1.0" + "source": "https://github.com/cleaniquecoders/blueprint-macro/tree/5.2.0" }, "funding": [ { @@ -192,7 +197,7 @@ "type": "github" } ], - "time": "2023-02-25T00:45:37+00:00" + "time": "2024-03-21T04:11:18+00:00" }, { "name": "cleaniquecoders/traitify", @@ -274,16 +279,16 @@ }, { "name": "dflydev/dot-access-data", - "version": "v3.0.2", + "version": "v3.0.3", "source": { "type": "git", "url": "https://github.com/dflydev/dflydev-dot-access-data.git", - "reference": "f41715465d65213d644d3141a6a93081be5d3549" + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/f41715465d65213d644d3141a6a93081be5d3549", - "reference": "f41715465d65213d644d3141a6a93081be5d3549", + "url": "https://api.github.com/repos/dflydev/dflydev-dot-access-data/zipball/a23a2bf4f31d3518f3ecb38660c95715dfead60f", + "reference": "a23a2bf4f31d3518f3ecb38660c95715dfead60f", "shasum": "" }, "require": { @@ -343,9 +348,9 @@ ], "support": { "issues": "https://github.com/dflydev/dflydev-dot-access-data/issues", - "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.2" + "source": "https://github.com/dflydev/dflydev-dot-access-data/tree/v3.0.3" }, - "time": "2022-10-27T11:44:00+00:00" + "time": "2024-07-08T12:26:09+00:00" }, { "name": "doctrine/cache", @@ -442,16 +447,16 @@ }, { "name": "doctrine/dbal", - "version": "3.8.3", + "version": "3.9.3", "source": { "type": "git", "url": "https://github.com/doctrine/dbal.git", - "reference": "db922ba9436b7b18a23d1653a0b41ff2369ca41c" + "reference": "61446f07fcb522414d6cfd8b1c3e5f9e18c579ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/dbal/zipball/db922ba9436b7b18a23d1653a0b41ff2369ca41c", - "reference": "db922ba9436b7b18a23d1653a0b41ff2369ca41c", + "url": "https://api.github.com/repos/doctrine/dbal/zipball/61446f07fcb522414d6cfd8b1c3e5f9e18c579ba", + "reference": "61446f07fcb522414d6cfd8b1c3e5f9e18c579ba", "shasum": "" }, "require": { @@ -467,12 +472,12 @@ "doctrine/coding-standard": "12.0.0", "fig/log-test": "^1", "jetbrains/phpstorm-stubs": "2023.1", - "phpstan/phpstan": "1.10.58", - "phpstan/phpstan-strict-rules": "^1.5", - "phpunit/phpunit": "9.6.16", + "phpstan/phpstan": "1.12.6", + "phpstan/phpstan-strict-rules": "^1.6", + "phpunit/phpunit": "9.6.20", "psalm/plugin-phpunit": "0.18.4", "slevomat/coding-standard": "8.13.1", - "squizlabs/php_codesniffer": "3.9.0", + "squizlabs/php_codesniffer": "3.10.2", "symfony/cache": "^5.4|^6.0|^7.0", "symfony/console": "^4.4|^5.4|^6.0|^7.0", "vimeo/psalm": "4.30.0" @@ -535,7 +540,7 @@ ], "support": { "issues": "https://github.com/doctrine/dbal/issues", - "source": "https://github.com/doctrine/dbal/tree/3.8.3" + "source": "https://github.com/doctrine/dbal/tree/3.9.3" }, "funding": [ { @@ -551,7 +556,7 @@ "type": "tidelift" } ], - "time": "2024-03-03T15:55:06+00:00" + "time": "2024-10-10T17:56:43+00:00" }, { "name": "doctrine/deprecations", @@ -602,16 +607,16 @@ }, { "name": "doctrine/event-manager", - "version": "2.0.0", + "version": "2.0.1", "source": { "type": "git", "url": "https://github.com/doctrine/event-manager.git", - "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32" + "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/event-manager/zipball/750671534e0241a7c50ea5b43f67e23eb5c96f32", - "reference": "750671534e0241a7c50ea5b43f67e23eb5c96f32", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/b680156fa328f1dfd874fd48c7026c41570b9c6e", + "reference": "b680156fa328f1dfd874fd48c7026c41570b9c6e", "shasum": "" }, "require": { @@ -621,10 +626,10 @@ "doctrine/common": "<2.9" }, "require-dev": { - "doctrine/coding-standard": "^10", + "doctrine/coding-standard": "^12", "phpstan/phpstan": "^1.8.8", - "phpunit/phpunit": "^9.5", - "vimeo/psalm": "^4.28" + "phpunit/phpunit": "^10.5", + "vimeo/psalm": "^5.24" }, "type": "library", "autoload": { @@ -673,7 +678,7 @@ ], "support": { "issues": "https://github.com/doctrine/event-manager/issues", - "source": "https://github.com/doctrine/event-manager/tree/2.0.0" + "source": "https://github.com/doctrine/event-manager/tree/2.0.1" }, "funding": [ { @@ -689,7 +694,7 @@ "type": "tidelift" } ], - "time": "2022-10-12T20:59:15+00:00" + "time": "2024-05-22T20:47:39+00:00" }, { "name": "doctrine/inflector", @@ -861,16 +866,16 @@ }, { "name": "dragonmantank/cron-expression", - "version": "v3.3.3", + "version": "v3.4.0", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a" + "reference": "8c784d071debd117328803d86b2097615b457500" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", - "reference": "adfb1f505deb6384dc8b39804c5065dd3c8c8c0a", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/8c784d071debd117328803d86b2097615b457500", + "reference": "8c784d071debd117328803d86b2097615b457500", "shasum": "" }, "require": { @@ -883,10 +888,14 @@ "require-dev": { "phpstan/extension-installer": "^1.0", "phpstan/phpstan": "^1.0", - "phpstan/phpstan-webmozart-assert": "^1.0", "phpunit/phpunit": "^7.0|^8.0|^9.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.x-dev" + } + }, "autoload": { "psr-4": { "Cron\\": "src/Cron/" @@ -910,7 +919,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.3" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.4.0" }, "funding": [ { @@ -918,7 +927,7 @@ "type": "github" } ], - "time": "2023-08-10T19:36:49+00:00" + "time": "2024-10-09T13:47:03+00:00" }, { "name": "egulias/email-validator", @@ -1060,24 +1069,24 @@ }, { "name": "graham-campbell/result-type", - "version": "v1.1.2", + "version": "v1.1.3", "source": { "type": "git", "url": "https://github.com/GrahamCampbell/Result-Type.git", - "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862" + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/fbd48bce38f73f8a4ec8583362e732e4095e5862", - "reference": "fbd48bce38f73f8a4ec8583362e732e4095e5862", + "url": "https://api.github.com/repos/GrahamCampbell/Result-Type/zipball/3ba905c11371512af9d9bdd27d99b782216b6945", + "reference": "3ba905c11371512af9d9bdd27d99b782216b6945", "shasum": "" }, "require": { "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.2" + "phpoption/phpoption": "^1.9.3" }, "require-dev": { - "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" }, "type": "library", "autoload": { @@ -1106,7 +1115,7 @@ ], "support": { "issues": "https://github.com/GrahamCampbell/Result-Type/issues", - "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.2" + "source": "https://github.com/GrahamCampbell/Result-Type/tree/v1.1.3" }, "funding": [ { @@ -1118,30 +1127,45 @@ "type": "tidelift" } ], - "time": "2023-11-12T22:16:48+00:00" + "time": "2024-07-20T21:45:45+00:00" }, { - "name": "guzzlehttp/uri-template", - "version": "v1.0.3", + "name": "guzzlehttp/guzzle", + "version": "7.9.2", "source": { "type": "git", - "url": "https://github.com/guzzle/uri-template.git", - "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" + "url": "https://github.com/guzzle/guzzle.git", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", - "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/d281ed313b989f213357e3be1a179f02196ac99b", + "reference": "d281ed313b989f213357e3be1a179f02196ac99b", "shasum": "" }, "require": { + "ext-json": "*", + "guzzlehttp/promises": "^1.5.3 || ^2.0.3", + "guzzlehttp/psr7": "^2.7.0", "php": "^7.2.5 || ^8.0", - "symfony/polyfill-php80": "^1.24" + "psr/http-client": "^1.0", + "symfony/deprecation-contracts": "^2.2 || ^3.0" + }, + "provide": { + "psr/http-client-implementation": "1.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.36 || ^9.6.15", - "uri-template/tests": "1.0.0" + "ext-curl": "*", + "guzzle/client-integration-tests": "3.0.2", + "php-http/message-factory": "^1.1", + "phpunit/phpunit": "^8.5.39 || ^9.6.20", + "psr/log": "^1.1 || ^2.0 || ^3.0" + }, + "suggest": { + "ext-curl": "Required for CURL handler support", + "ext-intl": "Required for Internationalized Domain Name (IDN) support", + "psr/log": "Required for using the Log middleware" }, "type": "library", "extra": { @@ -1151,8 +1175,11 @@ } }, "autoload": { + "files": [ + "src/functions_include.php" + ], "psr-4": { - "GuzzleHttp\\UriTemplate\\": "src" + "GuzzleHttp\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1170,6 +1197,11 @@ "email": "mtdowling@gmail.com", "homepage": "https://github.com/mtdowling" }, + { + "name": "Jeremy Lindblom", + "email": "jeremeamia@gmail.com", + "homepage": "https://github.com/jeremeamia" + }, { "name": "George Mponos", "email": "gmponos@gmail.com", @@ -1179,16 +1211,33 @@ "name": "Tobias Nyholm", "email": "tobias.nyholm@gmail.com", "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" } ], - "description": "A polyfill class for uri_template of PHP", + "description": "Guzzle is a PHP HTTP client library", "keywords": [ - "guzzlehttp", - "uri-template" + "client", + "curl", + "framework", + "http", + "http client", + "psr-18", + "psr-7", + "rest", + "web service" ], "support": { - "issues": "https://github.com/guzzle/uri-template/issues", - "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" + "issues": "https://github.com/guzzle/guzzle/issues", + "source": "https://github.com/guzzle/guzzle/tree/7.9.2" }, "funding": [ { @@ -1200,195 +1249,43 @@ "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/guzzle", "type": "tidelift" } ], - "time": "2023-12-03T19:50:20+00:00" + "time": "2024-07-24T11:22:20+00:00" }, { - "name": "laravel/framework", - "version": "v10.48.3", + "name": "guzzlehttp/promises", + "version": "2.0.4", "source": { "type": "git", - "url": "https://github.com/laravel/framework.git", - "reference": "5791c052b41c6b593556adc687076bfbdd13c501" + "url": "https://github.com/guzzle/promises.git", + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/5791c052b41c6b593556adc687076bfbdd13c501", - "reference": "5791c052b41c6b593556adc687076bfbdd13c501", + "url": "https://api.github.com/repos/guzzle/promises/zipball/f9c436286ab2892c7db7be8c8da4ef61ccf7b455", + "reference": "f9c436286ab2892c7db7be8c8da4ef61ccf7b455", "shasum": "" }, "require": { - "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", - "composer-runtime-api": "^2.2", - "doctrine/inflector": "^2.0.5", - "dragonmantank/cron-expression": "^3.3.2", - "egulias/email-validator": "^3.2.1|^4.0", - "ext-ctype": "*", - "ext-filter": "*", - "ext-hash": "*", - "ext-mbstring": "*", - "ext-openssl": "*", - "ext-session": "*", - "ext-tokenizer": "*", - "fruitcake/php-cors": "^1.2", - "guzzlehttp/uri-template": "^1.0", - "laravel/prompts": "^0.1.9", - "laravel/serializable-closure": "^1.3", - "league/commonmark": "^2.2.1", - "league/flysystem": "^3.8.0", - "monolog/monolog": "^3.0", - "nesbot/carbon": "^2.67", - "nunomaduro/termwind": "^1.13", - "php": "^8.1", - "psr/container": "^1.1.1|^2.0.1", - "psr/log": "^1.0|^2.0|^3.0", - "psr/simple-cache": "^1.0|^2.0|^3.0", - "ramsey/uuid": "^4.7", - "symfony/console": "^6.2", - "symfony/error-handler": "^6.2", - "symfony/finder": "^6.2", - "symfony/http-foundation": "^6.4", - "symfony/http-kernel": "^6.2", - "symfony/mailer": "^6.2", - "symfony/mime": "^6.2", - "symfony/process": "^6.2", - "symfony/routing": "^6.2", - "symfony/uid": "^6.2", - "symfony/var-dumper": "^6.2", - "tijsverkoyen/css-to-inline-styles": "^2.2.5", - "vlucas/phpdotenv": "^5.4.1", - "voku/portable-ascii": "^2.0" - }, - "conflict": { - "carbonphp/carbon-doctrine-types": ">=3.0", - "doctrine/dbal": ">=4.0", - "mockery/mockery": "1.6.8", - "phpunit/phpunit": ">=11.0.0", - "tightenco/collect": "<5.5.33" - }, - "provide": { - "psr/container-implementation": "1.1|2.0", - "psr/simple-cache-implementation": "1.0|2.0|3.0" - }, - "replace": { - "illuminate/auth": "self.version", - "illuminate/broadcasting": "self.version", - "illuminate/bus": "self.version", - "illuminate/cache": "self.version", - "illuminate/collections": "self.version", - "illuminate/conditionable": "self.version", - "illuminate/config": "self.version", - "illuminate/console": "self.version", - "illuminate/container": "self.version", - "illuminate/contracts": "self.version", - "illuminate/cookie": "self.version", - "illuminate/database": "self.version", - "illuminate/encryption": "self.version", - "illuminate/events": "self.version", - "illuminate/filesystem": "self.version", - "illuminate/hashing": "self.version", - "illuminate/http": "self.version", - "illuminate/log": "self.version", - "illuminate/macroable": "self.version", - "illuminate/mail": "self.version", - "illuminate/notifications": "self.version", - "illuminate/pagination": "self.version", - "illuminate/pipeline": "self.version", - "illuminate/process": "self.version", - "illuminate/queue": "self.version", - "illuminate/redis": "self.version", - "illuminate/routing": "self.version", - "illuminate/session": "self.version", - "illuminate/support": "self.version", - "illuminate/testing": "self.version", - "illuminate/translation": "self.version", - "illuminate/validation": "self.version", - "illuminate/view": "self.version" + "php": "^7.2.5 || ^8.0" }, "require-dev": { - "ably/ably-php": "^1.0", - "aws/aws-sdk-php": "^3.235.5", - "doctrine/dbal": "^3.5.1", - "ext-gmp": "*", - "fakerphp/faker": "^1.21", - "guzzlehttp/guzzle": "^7.5", - "league/flysystem-aws-s3-v3": "^3.0", - "league/flysystem-ftp": "^3.0", - "league/flysystem-path-prefixing": "^3.3", - "league/flysystem-read-only": "^3.3", - "league/flysystem-sftp-v3": "^3.0", - "mockery/mockery": "^1.5.1", - "nyholm/psr7": "^1.2", - "orchestra/testbench-core": "^8.18", - "pda/pheanstalk": "^4.0", - "phpstan/phpstan": "^1.4.7", - "phpunit/phpunit": "^10.0.7", - "predis/predis": "^2.0.2", - "symfony/cache": "^6.2", - "symfony/http-client": "^6.2.4", - "symfony/psr-http-message-bridge": "^2.0" - }, - "suggest": { - "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", - "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", - "brianium/paratest": "Required to run tests in parallel (^6.0).", - "doctrine/dbal": "Required to rename columns and drop SQLite columns (^3.5.1).", - "ext-apcu": "Required to use the APC cache driver.", - "ext-fileinfo": "Required to use the Filesystem class.", - "ext-ftp": "Required to use the Flysystem FTP driver.", - "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", - "ext-memcached": "Required to use the memcache cache driver.", - "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", - "ext-pdo": "Required to use all database features.", - "ext-posix": "Required to use all features of the queue worker.", - "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0).", - "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", - "filp/whoops": "Required for friendly error pages in development (^2.14.3).", - "guzzlehttp/guzzle": "Required to use the HTTP Client and the ping methods on schedules (^7.5).", - "laravel/tinker": "Required to use the tinker console command (^2.0).", - "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", - "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", - "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).", - "league/flysystem-read-only": "Required to use read-only disks (^3.3)", - "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", - "mockery/mockery": "Required to use mocking (^1.5.1).", - "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", - "pda/pheanstalk": "Required to use the beanstalk queue driver (^4.0).", - "phpunit/phpunit": "Required to use assertions and run tests (^9.5.8|^10.0.7).", - "predis/predis": "Required to use the predis connector (^2.0.2).", - "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", - "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", - "symfony/cache": "Required to PSR-6 cache bridge (^6.2).", - "symfony/filesystem": "Required to enable support for relative symbolic links (^6.2).", - "symfony/http-client": "Required to enable support for the Symfony API mail transports (^6.2).", - "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^6.2).", - "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^6.2).", - "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^2.0)." + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "type": "library", "extra": { - "branch-alias": { - "dev-master": "10.x-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/Illuminate/Collections/helpers.php", - "src/Illuminate/Events/functions.php", - "src/Illuminate/Filesystem/functions.php", - "src/Illuminate/Foundation/helpers.php", - "src/Illuminate/Support/helpers.php" - ], "psr-4": { - "Illuminate\\": "src/Illuminate/", - "Illuminate\\Support\\": [ - "src/Illuminate/Macroable/", - "src/Illuminate/Collections/", - "src/Illuminate/Conditionable/" - ] + "GuzzleHttp\\Promise\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -1397,101 +1294,543 @@ ], "authors": [ { - "name": "Taylor Otwell", - "email": "taylor@laravel.com" + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" } ], - "description": "The Laravel Framework.", - "homepage": "https://laravel.com", + "description": "Guzzle promises library", "keywords": [ - "framework", - "laravel" + "promise" ], "support": { - "issues": "https://github.com/laravel/framework/issues", - "source": "https://github.com/laravel/framework" + "issues": "https://github.com/guzzle/promises/issues", + "source": "https://github.com/guzzle/promises/tree/2.0.4" }, - "time": "2024-03-15T10:17:07+00:00" + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/promises", + "type": "tidelift" + } + ], + "time": "2024-10-17T10:06:22+00:00" }, { - "name": "laravel/prompts", - "version": "v0.1.16", + "name": "guzzlehttp/psr7", + "version": "2.7.0", "source": { "type": "git", - "url": "https://github.com/laravel/prompts.git", - "reference": "ca6872ab6aec3ab61db3a61f83a6caf764ec7781" + "url": "https://github.com/guzzle/psr7.git", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/prompts/zipball/ca6872ab6aec3ab61db3a61f83a6caf764ec7781", - "reference": "ca6872ab6aec3ab61db3a61f83a6caf764ec7781", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/a70f5c95fb43bc83f07c9c948baa0dc1829bf201", + "reference": "a70f5c95fb43bc83f07c9c948baa0dc1829bf201", "shasum": "" }, "require": { - "ext-mbstring": "*", - "illuminate/collections": "^10.0|^11.0", - "php": "^8.1", - "symfony/console": "^6.2|^7.0" + "php": "^7.2.5 || ^8.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0", + "ralouphie/getallheaders": "^3.0" }, - "conflict": { - "illuminate/console": ">=10.17.0 <10.25.0", - "laravel/framework": ">=10.17.0 <10.25.0" + "provide": { + "psr/http-factory-implementation": "1.0", + "psr/http-message-implementation": "1.0" }, "require-dev": { - "mockery/mockery": "^1.5", - "pestphp/pest": "^2.3", - "phpstan/phpstan": "^1.11", - "phpstan/phpstan-mockery": "^1.1" + "bamarni/composer-bin-plugin": "^1.8.2", + "http-interop/http-factory-tests": "0.9.0", + "phpunit/phpunit": "^8.5.39 || ^9.6.20" }, "suggest": { - "ext-pcntl": "Required for the spinner to be animated." + "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" }, "type": "library", "extra": { - "branch-alias": { - "dev-main": "0.1.x-dev" + "bamarni-bin": { + "bin-links": true, + "forward-command": false } }, "autoload": { - "files": [ - "src/helpers.php" - ], "psr-4": { - "Laravel\\Prompts\\": "src/" + "GuzzleHttp\\Psr7\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://github.com/sagikazarmark" + }, + { + "name": "Tobias Schultze", + "email": "webmaster@tubo-world.de", + "homepage": "https://github.com/Tobion" + }, + { + "name": "Márk Sági-Kazár", + "email": "mark.sagikazar@gmail.com", + "homepage": "https://sagikazarmark.hu" + } + ], + "description": "PSR-7 message implementation that also provides common utility methods", + "keywords": [ + "http", + "message", + "psr-7", + "request", + "response", + "stream", + "uri", + "url" + ], + "support": { + "issues": "https://github.com/guzzle/psr7/issues", + "source": "https://github.com/guzzle/psr7/tree/2.7.0" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", + "type": "tidelift" + } + ], + "time": "2024-07-18T11:15:46+00:00" + }, + { + "name": "guzzlehttp/uri-template", + "version": "v1.0.3", + "source": { + "type": "git", + "url": "https://github.com/guzzle/uri-template.git", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/guzzle/uri-template/zipball/ecea8feef63bd4fef1f037ecb288386999ecc11c", + "reference": "ecea8feef63bd4fef1f037ecb288386999ecc11c", + "shasum": "" + }, + "require": { + "php": "^7.2.5 || ^8.0", + "symfony/polyfill-php80": "^1.24" + }, + "require-dev": { + "bamarni/composer-bin-plugin": "^1.8.2", + "phpunit/phpunit": "^8.5.36 || ^9.6.15", + "uri-template/tests": "1.0.0" + }, + "type": "library", + "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + } + }, + "autoload": { + "psr-4": { + "GuzzleHttp\\UriTemplate\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Graham Campbell", + "email": "hello@gjcampbell.co.uk", + "homepage": "https://github.com/GrahamCampbell" + }, + { + "name": "Michael Dowling", + "email": "mtdowling@gmail.com", + "homepage": "https://github.com/mtdowling" + }, + { + "name": "George Mponos", + "email": "gmponos@gmail.com", + "homepage": "https://github.com/gmponos" + }, + { + "name": "Tobias Nyholm", + "email": "tobias.nyholm@gmail.com", + "homepage": "https://github.com/Nyholm" + } + ], + "description": "A polyfill class for uri_template of PHP", + "keywords": [ + "guzzlehttp", + "uri-template" + ], + "support": { + "issues": "https://github.com/guzzle/uri-template/issues", + "source": "https://github.com/guzzle/uri-template/tree/v1.0.3" + }, + "funding": [ + { + "url": "https://github.com/GrahamCampbell", + "type": "github" + }, + { + "url": "https://github.com/Nyholm", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/uri-template", + "type": "tidelift" + } + ], + "time": "2023-12-03T19:50:20+00:00" + }, + { + "name": "laravel/framework", + "version": "v11.29.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/framework.git", + "reference": "425054512c362835ba9c0307561973c8eeac7385" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/framework/zipball/425054512c362835ba9c0307561973c8eeac7385", + "reference": "425054512c362835ba9c0307561973c8eeac7385", + "shasum": "" + }, + "require": { + "brick/math": "^0.9.3|^0.10.2|^0.11|^0.12", + "composer-runtime-api": "^2.2", + "doctrine/inflector": "^2.0.5", + "dragonmantank/cron-expression": "^3.3.2", + "egulias/email-validator": "^3.2.1|^4.0", + "ext-ctype": "*", + "ext-filter": "*", + "ext-hash": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "ext-session": "*", + "ext-tokenizer": "*", + "fruitcake/php-cors": "^1.3", + "guzzlehttp/guzzle": "^7.8", + "guzzlehttp/uri-template": "^1.0", + "laravel/prompts": "^0.1.18|^0.2.0|^0.3.0", + "laravel/serializable-closure": "^1.3", + "league/commonmark": "^2.2.1", + "league/flysystem": "^3.8.0", + "monolog/monolog": "^3.0", + "nesbot/carbon": "^2.72.2|^3.0", + "nunomaduro/termwind": "^2.0", + "php": "^8.2", + "psr/container": "^1.1.1|^2.0.1", + "psr/log": "^1.0|^2.0|^3.0", + "psr/simple-cache": "^1.0|^2.0|^3.0", + "ramsey/uuid": "^4.7", + "symfony/console": "^7.0", + "symfony/error-handler": "^7.0", + "symfony/finder": "^7.0", + "symfony/http-foundation": "^7.0", + "symfony/http-kernel": "^7.0", + "symfony/mailer": "^7.0", + "symfony/mime": "^7.0", + "symfony/polyfill-php83": "^1.28", + "symfony/process": "^7.0", + "symfony/routing": "^7.0", + "symfony/uid": "^7.0", + "symfony/var-dumper": "^7.0", + "tijsverkoyen/css-to-inline-styles": "^2.2.5", + "vlucas/phpdotenv": "^5.4.1", + "voku/portable-ascii": "^2.0" + }, + "conflict": { + "mockery/mockery": "1.6.8", + "tightenco/collect": "<5.5.33" + }, + "provide": { + "psr/container-implementation": "1.1|2.0", + "psr/log-implementation": "1.0|2.0|3.0", + "psr/simple-cache-implementation": "1.0|2.0|3.0" + }, + "replace": { + "illuminate/auth": "self.version", + "illuminate/broadcasting": "self.version", + "illuminate/bus": "self.version", + "illuminate/cache": "self.version", + "illuminate/collections": "self.version", + "illuminate/concurrency": "self.version", + "illuminate/conditionable": "self.version", + "illuminate/config": "self.version", + "illuminate/console": "self.version", + "illuminate/container": "self.version", + "illuminate/contracts": "self.version", + "illuminate/cookie": "self.version", + "illuminate/database": "self.version", + "illuminate/encryption": "self.version", + "illuminate/events": "self.version", + "illuminate/filesystem": "self.version", + "illuminate/hashing": "self.version", + "illuminate/http": "self.version", + "illuminate/log": "self.version", + "illuminate/macroable": "self.version", + "illuminate/mail": "self.version", + "illuminate/notifications": "self.version", + "illuminate/pagination": "self.version", + "illuminate/pipeline": "self.version", + "illuminate/process": "self.version", + "illuminate/queue": "self.version", + "illuminate/redis": "self.version", + "illuminate/routing": "self.version", + "illuminate/session": "self.version", + "illuminate/support": "self.version", + "illuminate/testing": "self.version", + "illuminate/translation": "self.version", + "illuminate/validation": "self.version", + "illuminate/view": "self.version", + "spatie/once": "*" + }, + "require-dev": { + "ably/ably-php": "^1.0", + "aws/aws-sdk-php": "^3.235.5", + "ext-gmp": "*", + "fakerphp/faker": "^1.23", + "league/flysystem-aws-s3-v3": "^3.0", + "league/flysystem-ftp": "^3.0", + "league/flysystem-path-prefixing": "^3.3", + "league/flysystem-read-only": "^3.3", + "league/flysystem-sftp-v3": "^3.0", + "mockery/mockery": "^1.6", + "nyholm/psr7": "^1.2", + "orchestra/testbench-core": "^9.5", + "pda/pheanstalk": "^5.0", + "phpstan/phpstan": "^1.11.5", + "phpunit/phpunit": "^10.5|^11.0", + "predis/predis": "^2.0.2", + "resend/resend-php": "^0.10.0", + "symfony/cache": "^7.0", + "symfony/http-client": "^7.0", + "symfony/psr-http-message-bridge": "^7.0" + }, + "suggest": { + "ably/ably-php": "Required to use the Ably broadcast driver (^1.0).", + "aws/aws-sdk-php": "Required to use the SQS queue driver, DynamoDb failed job storage, and SES mail driver (^3.235.5).", + "brianium/paratest": "Required to run tests in parallel (^7.0|^8.0).", + "ext-apcu": "Required to use the APC cache driver.", + "ext-fileinfo": "Required to use the Filesystem class.", + "ext-ftp": "Required to use the Flysystem FTP driver.", + "ext-gd": "Required to use Illuminate\\Http\\Testing\\FileFactory::image().", + "ext-memcached": "Required to use the memcache cache driver.", + "ext-pcntl": "Required to use all features of the queue worker and console signal trapping.", + "ext-pdo": "Required to use all database features.", + "ext-posix": "Required to use all features of the queue worker.", + "ext-redis": "Required to use the Redis cache and queue drivers (^4.0|^5.0|^6.0).", + "fakerphp/faker": "Required to use the eloquent factory builder (^1.9.1).", + "filp/whoops": "Required for friendly error pages in development (^2.14.3).", + "laravel/tinker": "Required to use the tinker console command (^2.0).", + "league/flysystem-aws-s3-v3": "Required to use the Flysystem S3 driver (^3.0).", + "league/flysystem-ftp": "Required to use the Flysystem FTP driver (^3.0).", + "league/flysystem-path-prefixing": "Required to use the scoped driver (^3.3).", + "league/flysystem-read-only": "Required to use read-only disks (^3.3)", + "league/flysystem-sftp-v3": "Required to use the Flysystem SFTP driver (^3.0).", + "mockery/mockery": "Required to use mocking (^1.6).", + "nyholm/psr7": "Required to use PSR-7 bridging features (^1.2).", + "pda/pheanstalk": "Required to use the beanstalk queue driver (^5.0).", + "phpunit/phpunit": "Required to use assertions and run tests (^10.5|^11.0).", + "predis/predis": "Required to use the predis connector (^2.0.2).", + "psr/http-message": "Required to allow Storage::put to accept a StreamInterface (^1.0).", + "pusher/pusher-php-server": "Required to use the Pusher broadcast driver (^6.0|^7.0).", + "resend/resend-php": "Required to enable support for the Resend mail transport (^0.10.0).", + "symfony/cache": "Required to PSR-6 cache bridge (^7.0).", + "symfony/filesystem": "Required to enable support for relative symbolic links (^7.0).", + "symfony/http-client": "Required to enable support for the Symfony API mail transports (^7.0).", + "symfony/mailgun-mailer": "Required to enable support for the Mailgun mail transport (^7.0).", + "symfony/postmark-mailer": "Required to enable support for the Postmark mail transport (^7.0).", + "symfony/psr-http-message-bridge": "Required to use PSR-7 bridging features (^7.0)." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "11.x-dev" + } + }, + "autoload": { + "files": [ + "src/Illuminate/Collections/helpers.php", + "src/Illuminate/Events/functions.php", + "src/Illuminate/Filesystem/functions.php", + "src/Illuminate/Foundation/helpers.php", + "src/Illuminate/Log/functions.php", + "src/Illuminate/Support/functions.php", + "src/Illuminate/Support/helpers.php" + ], + "psr-4": { + "Illuminate\\": "src/Illuminate/", + "Illuminate\\Support\\": [ + "src/Illuminate/Macroable/", + "src/Illuminate/Collections/", + "src/Illuminate/Conditionable/" + ] + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + } + ], + "description": "The Laravel Framework.", + "homepage": "https://laravel.com", + "keywords": [ + "framework", + "laravel" + ], + "support": { + "issues": "https://github.com/laravel/framework/issues", + "source": "https://github.com/laravel/framework" + }, + "time": "2024-10-22T14:13:31+00:00" + }, + { + "name": "laravel/prompts", + "version": "v0.3.1", + "source": { + "type": "git", + "url": "https://github.com/laravel/prompts.git", + "reference": "0f3848a445562dac376b27968f753c65e7e1036e" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/prompts/zipball/0f3848a445562dac376b27968f753c65e7e1036e", + "reference": "0f3848a445562dac376b27968f753c65e7e1036e", + "shasum": "" + }, + "require": { + "composer-runtime-api": "^2.2", + "ext-mbstring": "*", + "php": "^8.1", + "symfony/console": "^6.2|^7.0" + }, + "conflict": { + "illuminate/console": ">=10.17.0 <10.25.0", + "laravel/framework": ">=10.17.0 <10.25.0" + }, + "require-dev": { + "illuminate/collections": "^10.0|^11.0", + "mockery/mockery": "^1.5", + "pestphp/pest": "^2.3", + "phpstan/phpstan": "^1.11", + "phpstan/phpstan-mockery": "^1.1" + }, + "suggest": { + "ext-pcntl": "Required for the spinner to be animated." + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-main": "0.3.x-dev" + } + }, + "autoload": { + "files": [ + "src/helpers.php" + ], + "psr-4": { + "Laravel\\Prompts\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Add beautiful and user-friendly forms to your command-line applications.", "support": { "issues": "https://github.com/laravel/prompts/issues", - "source": "https://github.com/laravel/prompts/tree/v0.1.16" + "source": "https://github.com/laravel/prompts/tree/v0.3.1" }, - "time": "2024-02-21T19:25:27+00:00" + "time": "2024-10-09T19:42:26+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.3.3", + "version": "v1.3.5", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "3dbf8a8e914634c48d389c1234552666b3d43754" + "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/3dbf8a8e914634c48d389c1234552666b3d43754", - "reference": "3dbf8a8e914634c48d389c1234552666b3d43754", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", + "reference": "1dc4a3dbfa2b7628a3114e43e32120cce7cdda9c", "shasum": "" }, "require": { "php": "^7.3|^8.0" }, "require-dev": { - "nesbot/carbon": "^2.61", + "illuminate/support": "^8.0|^9.0|^10.0|^11.0", + "nesbot/carbon": "^2.61|^3.0", "pestphp/pest": "^1.21.3", "phpstan/phpstan": "^1.8.2", - "symfony/var-dumper": "^5.4.11" + "symfony/var-dumper": "^5.4.11|^6.2.0|^7.0.0" }, "type": "library", "extra": { @@ -1528,20 +1867,20 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2023-11-08T14:08:06+00:00" + "time": "2024-09-23T13:33:08+00:00" }, { "name": "league/commonmark", - "version": "2.4.2", + "version": "2.5.3", "source": { "type": "git", "url": "https://github.com/thephpleague/commonmark.git", - "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf" + "reference": "b650144166dfa7703e62a22e493b853b58d874b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/91c24291965bd6d7c46c46a12ba7492f83b1cadf", - "reference": "91c24291965bd6d7c46c46a12ba7492f83b1cadf", + "url": "https://api.github.com/repos/thephpleague/commonmark/zipball/b650144166dfa7703e62a22e493b853b58d874b0", + "reference": "b650144166dfa7703e62a22e493b853b58d874b0", "shasum": "" }, "require": { @@ -1554,8 +1893,8 @@ }, "require-dev": { "cebe/markdown": "^1.0", - "commonmark/cmark": "0.30.3", - "commonmark/commonmark.js": "0.30.0", + "commonmark/cmark": "0.31.1", + "commonmark/commonmark.js": "0.31.1", "composer/package-versions-deprecated": "^1.8", "embed/embed": "^4.4", "erusev/parsedown": "^1.0", @@ -1577,7 +1916,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "2.5-dev" + "dev-main": "2.6-dev" } }, "autoload": { @@ -1634,7 +1973,7 @@ "type": "tidelift" } ], - "time": "2024-02-02T11:59:32+00:00" + "time": "2024-08-16T11:46:16+00:00" }, { "name": "league/config", @@ -1720,16 +2059,16 @@ }, { "name": "league/flysystem", - "version": "3.25.1", + "version": "3.29.1", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "abbd664eb4381102c559d358420989f835208f18" + "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/abbd664eb4381102c559d358420989f835208f18", - "reference": "abbd664eb4381102c559d358420989f835208f18", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/edc1bb7c86fab0776c3287dbd19b5fa278347319", + "reference": "edc1bb7c86fab0776c3287dbd19b5fa278347319", "shasum": "" }, "require": { @@ -1753,10 +2092,13 @@ "composer/semver": "^3.0", "ext-fileinfo": "*", "ext-ftp": "*", + "ext-mongodb": "^1.3", "ext-zip": "*", "friendsofphp/php-cs-fixer": "^3.5", "google/cloud-storage": "^1.23", + "guzzlehttp/psr7": "^2.6", "microsoft/azure-storage-blob": "^1.1", + "mongodb/mongodb": "^1.2", "phpseclib/phpseclib": "^3.0.36", "phpstan/phpstan": "^1.10", "phpunit/phpunit": "^9.5.11|^10.0", @@ -1794,32 +2136,22 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/3.25.1" + "source": "https://github.com/thephpleague/flysystem/tree/3.29.1" }, - "funding": [ - { - "url": "https://ecologi.com/frankdejonge", - "type": "custom" - }, - { - "url": "https://github.com/frankdejonge", - "type": "github" - } - ], - "time": "2024-03-16T12:53:19+00:00" + "time": "2024-10-08T08:58:34+00:00" }, { "name": "league/flysystem-local", - "version": "3.25.1", + "version": "3.29.0", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem-local.git", - "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92" + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/61a6a90d6e999e4ddd9ce5adb356de0939060b92", - "reference": "61a6a90d6e999e4ddd9ce5adb356de0939060b92", + "url": "https://api.github.com/repos/thephpleague/flysystem-local/zipball/e0e8d52ce4b2ed154148453d321e97c8e931bd27", + "reference": "e0e8d52ce4b2ed154148453d321e97c8e931bd27", "shasum": "" }, "require": { @@ -1853,32 +2185,22 @@ "local" ], "support": { - "source": "https://github.com/thephpleague/flysystem-local/tree/3.25.1" + "source": "https://github.com/thephpleague/flysystem-local/tree/3.29.0" }, - "funding": [ - { - "url": "https://ecologi.com/frankdejonge", - "type": "custom" - }, - { - "url": "https://github.com/frankdejonge", - "type": "github" - } - ], - "time": "2024-03-15T19:58:44+00:00" + "time": "2024-08-09T21:24:39+00:00" }, { "name": "league/mime-type-detection", - "version": "1.15.0", + "version": "1.16.0", "source": { "type": "git", "url": "https://github.com/thephpleague/mime-type-detection.git", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301" + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", - "reference": "ce0f4d1e8a6f4eb0ddff33f57c69c50fd09f4301", + "url": "https://api.github.com/repos/thephpleague/mime-type-detection/zipball/2d6702ff215bf922936ccc1ad31007edc76451b9", + "reference": "2d6702ff215bf922936ccc1ad31007edc76451b9", "shasum": "" }, "require": { @@ -1909,7 +2231,7 @@ "description": "Mime-type detection for Flysystem", "support": { "issues": "https://github.com/thephpleague/mime-type-detection/issues", - "source": "https://github.com/thephpleague/mime-type-detection/tree/1.15.0" + "source": "https://github.com/thephpleague/mime-type-detection/tree/1.16.0" }, "funding": [ { @@ -1921,20 +2243,20 @@ "type": "tidelift" } ], - "time": "2024-01-28T23:22:08+00:00" + "time": "2024-09-21T08:32:55+00:00" }, { "name": "monolog/monolog", - "version": "3.5.0", + "version": "3.7.0", "source": { "type": "git", "url": "https://github.com/Seldaek/monolog.git", - "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448" + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/c915e2634718dbc8a4a15c61b0e62e7a44e14448", - "reference": "c915e2634718dbc8a4a15c61b0e62e7a44e14448", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8", + "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8", "shasum": "" }, "require": { @@ -1957,7 +2279,7 @@ "phpstan/phpstan": "^1.9", "phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-strict-rules": "^1.4", - "phpunit/phpunit": "^10.1", + "phpunit/phpunit": "^10.5.17", "predis/predis": "^1.1 || ^2", "ruflin/elastica": "^7", "symfony/mailer": "^5.4 || ^6", @@ -2010,7 +2332,7 @@ ], "support": { "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/3.5.0" + "source": "https://github.com/Seldaek/monolog/tree/3.7.0" }, "funding": [ { @@ -2022,46 +2344,45 @@ "type": "tidelift" } ], - "time": "2023-10-27T15:32:31+00:00" + "time": "2024-06-28T09:40:51+00:00" }, { "name": "nesbot/carbon", - "version": "2.72.3", + "version": "3.8.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83" + "reference": "bbd3eef89af8ba66a3aa7952b5439168fbcc529f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/0c6fd108360c562f6e4fd1dedb8233b423e91c83", - "reference": "0c6fd108360c562f6e4fd1dedb8233b423e91c83", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/bbd3eef89af8ba66a3aa7952b5439168fbcc529f", + "reference": "bbd3eef89af8ba66a3aa7952b5439168fbcc529f", "shasum": "" }, "require": { "carbonphp/carbon-doctrine-types": "*", "ext-json": "*", - "php": "^7.1.8 || ^8.0", + "php": "^8.1", "psr/clock": "^1.0", + "symfony/clock": "^6.3 || ^7.0", "symfony/polyfill-mbstring": "^1.0", - "symfony/polyfill-php80": "^1.16", - "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" + "symfony/translation": "^4.4.18 || ^5.2.1|| ^6.0 || ^7.0" }, "provide": { "psr/clock-implementation": "1.0" }, "require-dev": { - "doctrine/dbal": "^2.0 || ^3.1.4 || ^4.0", - "doctrine/orm": "^2.7 || ^3.0", - "friendsofphp/php-cs-fixer": "^3.0", - "kylekatarnls/multi-tester": "^2.0", - "ondrejmirtes/better-reflection": "*", - "phpmd/phpmd": "^2.9", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "^0.12.99 || ^1.7.14", - "phpunit/php-file-iterator": "^2.0.5 || ^3.0.6", - "phpunit/phpunit": "^7.5.20 || ^8.5.26 || ^9.5.20", - "squizlabs/php_codesniffer": "^3.4" + "doctrine/dbal": "^3.6.3 || ^4.0", + "doctrine/orm": "^2.15.2 || ^3.0", + "friendsofphp/php-cs-fixer": "^3.57.2", + "kylekatarnls/multi-tester": "^2.5.3", + "ondrejmirtes/better-reflection": "^6.25.0.4", + "phpmd/phpmd": "^2.15.0", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan": "^1.11.2", + "phpunit/phpunit": "^10.5.20", + "squizlabs/php_codesniffer": "^3.9.0" }, "bin": [ "bin/carbon" @@ -2069,8 +2390,8 @@ "type": "library", "extra": { "branch-alias": { - "dev-3.x": "3.x-dev", - "dev-master": "2.x-dev" + "dev-master": "3.x-dev", + "dev-2.x": "2.x-dev" }, "laravel": { "providers": [ @@ -2129,28 +2450,28 @@ "type": "tidelift" } ], - "time": "2024-01-25T10:35:09+00:00" + "time": "2024-08-19T06:22:39+00:00" }, { "name": "nette/schema", - "version": "v1.3.0", + "version": "v1.3.2", "source": { "type": "git", "url": "https://github.com/nette/schema.git", - "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188" + "reference": "da801d52f0354f70a638673c4a0f04e16529431d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/schema/zipball/a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", - "reference": "a6d3a6d1f545f01ef38e60f375d1cf1f4de98188", + "url": "https://api.github.com/repos/nette/schema/zipball/da801d52f0354f70a638673c4a0f04e16529431d", + "reference": "da801d52f0354f70a638673c4a0f04e16529431d", "shasum": "" }, "require": { "nette/utils": "^4.0", - "php": "8.1 - 8.3" + "php": "8.1 - 8.4" }, "require-dev": { - "nette/tester": "^2.4", + "nette/tester": "^2.5.2", "phpstan/phpstan-nette": "^1.0", "tracy/tracy": "^2.8" }, @@ -2189,26 +2510,26 @@ ], "support": { "issues": "https://github.com/nette/schema/issues", - "source": "https://github.com/nette/schema/tree/v1.3.0" + "source": "https://github.com/nette/schema/tree/v1.3.2" }, - "time": "2023-12-11T11:54:22+00:00" + "time": "2024-10-06T23:10:23+00:00" }, { "name": "nette/utils", - "version": "v4.0.4", + "version": "v4.0.5", "source": { "type": "git", "url": "https://github.com/nette/utils.git", - "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218" + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nette/utils/zipball/d3ad0aa3b9f934602cb3e3902ebccf10be34d218", - "reference": "d3ad0aa3b9f934602cb3e3902ebccf10be34d218", + "url": "https://api.github.com/repos/nette/utils/zipball/736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", + "reference": "736c567e257dbe0fcf6ce81b4d6dbe05c6899f96", "shasum": "" }, "require": { - "php": ">=8.0 <8.4" + "php": "8.0 - 8.4" }, "conflict": { "nette/finder": "<3", @@ -2275,39 +2596,37 @@ ], "support": { "issues": "https://github.com/nette/utils/issues", - "source": "https://github.com/nette/utils/tree/v4.0.4" + "source": "https://github.com/nette/utils/tree/v4.0.5" }, - "time": "2024-01-17T16:50:36+00:00" + "time": "2024-08-07T15:39:19+00:00" }, { "name": "nunomaduro/termwind", - "version": "v1.15.1", + "version": "v2.2.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/termwind.git", - "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc" + "reference": "42c84e4e8090766bbd6445d06cd6e57650626ea3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/8ab0b32c8caa4a2e09700ea32925441385e4a5dc", - "reference": "8ab0b32c8caa4a2e09700ea32925441385e4a5dc", + "url": "https://api.github.com/repos/nunomaduro/termwind/zipball/42c84e4e8090766bbd6445d06cd6e57650626ea3", + "reference": "42c84e4e8090766bbd6445d06cd6e57650626ea3", "shasum": "" }, "require": { "ext-mbstring": "*", - "php": "^8.0", - "symfony/console": "^5.3.0|^6.0.0" + "php": "^8.2", + "symfony/console": "^7.1.5" }, "require-dev": { - "ergebnis/phpstan-rules": "^1.0.", - "illuminate/console": "^8.0|^9.0", - "illuminate/support": "^8.0|^9.0", - "laravel/pint": "^1.0.0", - "pestphp/pest": "^1.21.0", - "pestphp/pest-plugin-mock": "^1.0", - "phpstan/phpstan": "^1.4.6", - "phpstan/phpstan-strict-rules": "^1.1.0", - "symfony/var-dumper": "^5.2.7|^6.0.0", + "illuminate/console": "^11.28.0", + "laravel/pint": "^1.18.1", + "mockery/mockery": "^1.6.12", + "pestphp/pest": "^2.36.0", + "phpstan/phpstan": "^1.12.6", + "phpstan/phpstan-strict-rules": "^1.6.1", + "symfony/var-dumper": "^7.1.5", "thecodingmachine/phpstan-strict-rules": "^1.0.0" }, "type": "library", @@ -2316,6 +2635,9 @@ "providers": [ "Termwind\\Laravel\\TermwindServiceProvider" ] + }, + "branch-alias": { + "dev-2.x": "2.x-dev" } }, "autoload": { @@ -2347,7 +2669,7 @@ ], "support": { "issues": "https://github.com/nunomaduro/termwind/issues", - "source": "https://github.com/nunomaduro/termwind/tree/v1.15.1" + "source": "https://github.com/nunomaduro/termwind/tree/v2.2.0" }, "funding": [ { @@ -2363,20 +2685,20 @@ "type": "github" } ], - "time": "2023-02-08T01:06:31+00:00" + "time": "2024-10-15T16:15:16+00:00" }, { "name": "phpoption/phpoption", - "version": "1.9.2", + "version": "1.9.3", "source": { "type": "git", "url": "https://github.com/schmittjoh/php-option.git", - "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820" + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/80735db690fe4fc5c76dfa7f9b770634285fa820", - "reference": "80735db690fe4fc5c76dfa7f9b770634285fa820", + "url": "https://api.github.com/repos/schmittjoh/php-option/zipball/e3fac8b24f56113f7cb96af14958c0dd16330f54", + "reference": "e3fac8b24f56113f7cb96af14958c0dd16330f54", "shasum": "" }, "require": { @@ -2384,13 +2706,13 @@ }, "require-dev": { "bamarni/composer-bin-plugin": "^1.8.2", - "phpunit/phpunit": "^8.5.34 || ^9.6.13 || ^10.4.2" + "phpunit/phpunit": "^8.5.39 || ^9.6.20 || ^10.5.28" }, "type": "library", "extra": { "bamarni-bin": { "bin-links": true, - "forward-command": true + "forward-command": false }, "branch-alias": { "dev-master": "1.9-dev" @@ -2426,7 +2748,7 @@ ], "support": { "issues": "https://github.com/schmittjoh/php-option/issues", - "source": "https://github.com/schmittjoh/php-option/tree/1.9.2" + "source": "https://github.com/schmittjoh/php-option/tree/1.9.3" }, "funding": [ { @@ -2438,7 +2760,7 @@ "type": "tidelift" } ], - "time": "2023-11-12T21:59:55+00:00" + "time": "2024-07-20T21:41:07+00:00" }, { "name": "psr/cache", @@ -2450,12 +2772,162 @@ }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", - "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "url": "https://api.github.com/repos/php-fig/cache/zipball/aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "reference": "aa5030cfa5405eccfdcb1083ce040c2cb8d253bf", + "shasum": "" + }, + "require": { + "php": ">=8.0.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Cache\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for caching libraries", + "keywords": [ + "cache", + "psr", + "psr-6" + ], + "support": { + "source": "https://github.com/php-fig/cache/tree/3.0.0" + }, + "time": "2021-02-03T23:26:27+00:00" + }, + { + "name": "psr/clock", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/clock.git", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "shasum": "" + }, + "require": { + "php": "^7.0 || ^8.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Psr\\Clock\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common interface for reading the clock.", + "homepage": "https://github.com/php-fig/clock", + "keywords": [ + "clock", + "now", + "psr", + "psr-20", + "time" + ], + "support": { + "issues": "https://github.com/php-fig/clock/issues", + "source": "https://github.com/php-fig/clock/tree/1.0.0" + }, + "time": "2022-11-25T14:36:26+00:00" + }, + { + "name": "psr/container", + "version": "2.0.2", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "shasum": "" + }, + "require": { + "php": ">=7.4.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/2.0.2" + }, + "time": "2021-11-05T16:47:00+00:00" + }, + { + "name": "psr/event-dispatcher", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/event-dispatcher.git", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", + "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", "shasum": "" }, "require": { - "php": ">=8.0.0" + "php": ">=7.2.0" }, "type": "library", "extra": { @@ -2465,7 +2937,7 @@ }, "autoload": { "psr-4": { - "Psr\\Cache\\": "src/" + "Psr\\EventDispatcher\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2475,41 +2947,48 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "homepage": "http://www.php-fig.org/" } ], - "description": "Common interface for caching libraries", + "description": "Standard interfaces for event handling.", "keywords": [ - "cache", + "events", "psr", - "psr-6" + "psr-14" ], "support": { - "source": "https://github.com/php-fig/cache/tree/3.0.0" + "issues": "https://github.com/php-fig/event-dispatcher/issues", + "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" }, - "time": "2021-02-03T23:26:27+00:00" + "time": "2019-01-08T18:20:26+00:00" }, { - "name": "psr/clock", - "version": "1.0.0", + "name": "psr/http-client", + "version": "1.0.3", "source": { "type": "git", - "url": "https://github.com/php-fig/clock.git", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d" + "url": "https://github.com/php-fig/http-client.git", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/clock/zipball/e41a24703d4560fd0acb709162f73b8adfc3aa0d", - "reference": "e41a24703d4560fd0acb709162f73b8adfc3aa0d", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90", + "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90", "shasum": "" }, "require": { - "php": "^7.0 || ^8.0" + "php": "^7.0 || ^8.0", + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, "autoload": { "psr-4": { - "Psr\\Clock\\": "src/" + "Psr\\Http\\Client\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2522,47 +3001,46 @@ "homepage": "https://www.php-fig.org/" } ], - "description": "Common interface for reading the clock.", - "homepage": "https://github.com/php-fig/clock", + "description": "Common interface for HTTP clients", + "homepage": "https://github.com/php-fig/http-client", "keywords": [ - "clock", - "now", + "http", + "http-client", "psr", - "psr-20", - "time" + "psr-18" ], "support": { - "issues": "https://github.com/php-fig/clock/issues", - "source": "https://github.com/php-fig/clock/tree/1.0.0" + "source": "https://github.com/php-fig/http-client" }, - "time": "2022-11-25T14:36:26+00:00" + "time": "2023-09-23T14:17:50+00:00" }, { - "name": "psr/container", - "version": "2.0.2", + "name": "psr/http-factory", + "version": "1.1.0", "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963" + "url": "https://github.com/php-fig/http-factory.git", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/c71ecc56dfe541dbd90c5360474fbc405f8d5963", - "reference": "c71ecc56dfe541dbd90c5360474fbc405f8d5963", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a", + "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a", "shasum": "" }, "require": { - "php": ">=7.4.0" + "php": ">=7.1", + "psr/http-message": "^1.0 || ^2.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-master": "1.0.x-dev" } }, "autoload": { "psr-4": { - "Psr\\Container\\": "src/" + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2575,47 +3053,48 @@ "homepage": "https://www.php-fig.org/" } ], - "description": "Common Container Interface (PHP FIG PSR-11)", - "homepage": "https://github.com/php-fig/container", + "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories", "keywords": [ - "PSR-11", - "container", - "container-interface", - "container-interop", - "psr" + "factory", + "http", + "message", + "psr", + "psr-17", + "psr-7", + "request", + "response" ], "support": { - "issues": "https://github.com/php-fig/container/issues", - "source": "https://github.com/php-fig/container/tree/2.0.2" + "source": "https://github.com/php-fig/http-factory" }, - "time": "2021-11-05T16:47:00+00:00" + "time": "2024-04-15T12:06:14+00:00" }, { - "name": "psr/event-dispatcher", - "version": "1.0.0", + "name": "psr/http-message", + "version": "2.0", "source": { "type": "git", - "url": "https://github.com/php-fig/event-dispatcher.git", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0" + "url": "https://github.com/php-fig/http-message.git", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/event-dispatcher/zipball/dbefd12671e8a14ec7f180cab83036ed26714bb0", - "reference": "dbefd12671e8a14ec7f180cab83036ed26714bb0", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", + "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", "shasum": "" }, "require": { - "php": ">=7.2.0" + "php": "^7.2 || ^8.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.0.x-dev" + "dev-master": "2.0.x-dev" } }, "autoload": { "psr-4": { - "Psr\\EventDispatcher\\": "src/" + "Psr\\Http\\Message\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -2625,33 +3104,36 @@ "authors": [ { "name": "PHP-FIG", - "homepage": "http://www.php-fig.org/" + "homepage": "https://www.php-fig.org/" } ], - "description": "Standard interfaces for event handling.", + "description": "Common interface for HTTP messages", + "homepage": "https://github.com/php-fig/http-message", "keywords": [ - "events", + "http", + "http-message", "psr", - "psr-14" + "psr-7", + "request", + "response" ], "support": { - "issues": "https://github.com/php-fig/event-dispatcher/issues", - "source": "https://github.com/php-fig/event-dispatcher/tree/1.0.0" + "source": "https://github.com/php-fig/http-message/tree/2.0" }, - "time": "2019-01-08T18:20:26+00:00" + "time": "2023-04-04T09:54:51+00:00" }, { "name": "psr/log", - "version": "3.0.0", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/php-fig/log.git", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001" + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/fe5ea303b0887d5caefd3d431c3e61ad47037001", - "reference": "fe5ea303b0887d5caefd3d431c3e61ad47037001", + "url": "https://api.github.com/repos/php-fig/log/zipball/f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", + "reference": "f16e1d5863e37f8d8c2a01719f5b34baa2b714d3", "shasum": "" }, "require": { @@ -2686,9 +3168,9 @@ "psr-3" ], "support": { - "source": "https://github.com/php-fig/log/tree/3.0.0" + "source": "https://github.com/php-fig/log/tree/3.0.2" }, - "time": "2021-07-14T16:46:02+00:00" + "time": "2024-09-11T13:17:53+00:00" }, { "name": "psr/simple-cache", @@ -2741,6 +3223,50 @@ }, "time": "2021-10-29T13:26:27+00:00" }, + { + "name": "ralouphie/getallheaders", + "version": "3.0.3", + "source": { + "type": "git", + "url": "https://github.com/ralouphie/getallheaders.git", + "reference": "120b605dfeb996808c31b6477290a714d356e822" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "reference": "120b605dfeb996808c31b6477290a714d356e822", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^5 || ^6.5" + }, + "type": "library", + "autoload": { + "files": [ + "src/getallheaders.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Ralph Khattar", + "email": "ralph.khattar@gmail.com" + } + ], + "description": "A polyfill for getallheaders.", + "support": { + "issues": "https://github.com/ralouphie/getallheaders/issues", + "source": "https://github.com/ralouphie/getallheaders/tree/develop" + }, + "time": "2019-03-08T08:55:37+00:00" + }, { "name": "ramsey/collection", "version": "2.0.0", @@ -2832,20 +3358,20 @@ }, { "name": "ramsey/uuid", - "version": "4.7.5", + "version": "4.7.6", "source": { "type": "git", "url": "https://github.com/ramsey/uuid.git", - "reference": "5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e" + "reference": "91039bc1faa45ba123c4328958e620d382ec7088" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e", - "reference": "5f0df49ae5ad6efb7afa69e6bfab4e5b1e080d8e", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/91039bc1faa45ba123c4328958e620d382ec7088", + "reference": "91039bc1faa45ba123c4328958e620d382ec7088", "shasum": "" }, "require": { - "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11", + "brick/math": "^0.8.8 || ^0.9 || ^0.10 || ^0.11 || ^0.12", "ext-json": "*", "php": "^8.0", "ramsey/collection": "^1.2 || ^2.0" @@ -2908,7 +3434,7 @@ ], "support": { "issues": "https://github.com/ramsey/uuid/issues", - "source": "https://github.com/ramsey/uuid/tree/4.7.5" + "source": "https://github.com/ramsey/uuid/tree/4.7.6" }, "funding": [ { @@ -2920,7 +3446,7 @@ "type": "tidelift" } ], - "time": "2023-11-08T05:53:05+00:00" + "time": "2024-04-27T21:32:50+00:00" }, { "name": "spatie/laravel-package-tools", @@ -2982,49 +3508,122 @@ ], "time": "2024-08-27T18:56:10+00:00" }, + { + "name": "symfony/clock", + "version": "v7.1.1", + "source": { + "type": "git", + "url": "https://github.com/symfony/clock.git", + "reference": "3dfc8b084853586de51dd1441c6242c76a28cbe7" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/clock/zipball/3dfc8b084853586de51dd1441c6242c76a28cbe7", + "reference": "3dfc8b084853586de51dd1441c6242c76a28cbe7", + "shasum": "" + }, + "require": { + "php": ">=8.2", + "psr/clock": "^1.0", + "symfony/polyfill-php83": "^1.28" + }, + "provide": { + "psr/clock-implementation": "1.0" + }, + "type": "library", + "autoload": { + "files": [ + "Resources/now.php" + ], + "psr-4": { + "Symfony\\Component\\Clock\\": "" + }, + "exclude-from-classmap": [ + "/Tests/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Decouples applications from the system clock", + "homepage": "https://symfony.com", + "keywords": [ + "clock", + "psr20", + "time" + ], + "support": { + "source": "https://github.com/symfony/clock/tree/v7.1.1" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-05-31T14:57:53+00:00" + }, { "name": "symfony/console", - "version": "v6.4.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "0d9e4eb5ad413075624378f474c4167ea202de78" + "reference": "0fa539d12b3ccf068a722bbbffa07ca7079af9ee" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/0d9e4eb5ad413075624378f474c4167ea202de78", - "reference": "0d9e4eb5ad413075624378f474c4167ea202de78", + "url": "https://api.github.com/repos/symfony/console/zipball/0fa539d12b3ccf068a722bbbffa07ca7079af9ee", + "reference": "0fa539d12b3ccf068a722bbbffa07ca7079af9ee", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.0", "symfony/service-contracts": "^2.5|^3", - "symfony/string": "^5.4|^6.0|^7.0" + "symfony/string": "^6.4|^7.0" }, "conflict": { - "symfony/dependency-injection": "<5.4", - "symfony/dotenv": "<5.4", - "symfony/event-dispatcher": "<5.4", - "symfony/lock": "<5.4", - "symfony/process": "<5.4" + "symfony/dependency-injection": "<6.4", + "symfony/dotenv": "<6.4", + "symfony/event-dispatcher": "<6.4", + "symfony/lock": "<6.4", + "symfony/process": "<6.4" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", "symfony/http-foundation": "^6.4|^7.0", "symfony/http-kernel": "^6.4|^7.0", - "symfony/lock": "^5.4|^6.0|^7.0", - "symfony/messenger": "^5.4|^6.0|^7.0", - "symfony/process": "^5.4|^6.0|^7.0", - "symfony/stopwatch": "^5.4|^6.0|^7.0", - "symfony/var-dumper": "^5.4|^6.0|^7.0" + "symfony/lock": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/var-dumper": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -3058,7 +3657,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v6.4.4" + "source": "https://github.com/symfony/console/tree/v7.1.5" }, "funding": [ { @@ -3074,20 +3673,20 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:10+00:00" + "time": "2024-09-20T08:28:38+00:00" }, { "name": "symfony/css-selector", - "version": "v7.0.3", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "ec60a4edf94e63b0556b6a0888548bb400a3a3be" + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/ec60a4edf94e63b0556b6a0888548bb400a3a3be", - "reference": "ec60a4edf94e63b0556b6a0888548bb400a3a3be", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/1c7cee86c6f812896af54434f8ce29c8d94f9ff4", + "reference": "1c7cee86c6f812896af54434f8ce29c8d94f9ff4", "shasum": "" }, "require": { @@ -3123,7 +3722,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v7.0.3" + "source": "https://github.com/symfony/css-selector/tree/v7.1.1" }, "funding": [ { @@ -3139,20 +3738,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/deprecation-contracts", - "version": "v3.4.0", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/deprecation-contracts.git", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf" + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/7c3aff79d10325257a001fcf92d991f24fc967cf", - "reference": "7c3aff79d10325257a001fcf92d991f24fc967cf", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", + "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1", "shasum": "" }, "require": { @@ -3161,7 +3760,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -3190,7 +3789,7 @@ "description": "A generic function and convention to trigger deprecation notices", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/deprecation-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0" }, "funding": [ { @@ -3206,26 +3805,26 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/error-handler", - "version": "v6.4.4", + "version": "v7.1.3", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "c725219bdf2afc59423c32793d5019d2a904e13a" + "reference": "432bb369952795c61ca1def65e078c4a80dad13c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/c725219bdf2afc59423c32793d5019d2a904e13a", - "reference": "c725219bdf2afc59423c32793d5019d2a904e13a", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/432bb369952795c61ca1def65e078c4a80dad13c", + "reference": "432bb369952795c61ca1def65e078c4a80dad13c", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "psr/log": "^1|^2|^3", - "symfony/var-dumper": "^5.4|^6.0|^7.0" + "symfony/var-dumper": "^6.4|^7.0" }, "conflict": { "symfony/deprecation-contracts": "<2.5", @@ -3234,7 +3833,7 @@ "require-dev": { "symfony/deprecation-contracts": "^2.5|^3", "symfony/http-kernel": "^6.4|^7.0", - "symfony/serializer": "^5.4|^6.0|^7.0" + "symfony/serializer": "^6.4|^7.0" }, "bin": [ "Resources/bin/patch-type-declarations" @@ -3265,7 +3864,7 @@ "description": "Provides tools to manage errors and ease debugging PHP code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/error-handler/tree/v6.4.4" + "source": "https://github.com/symfony/error-handler/tree/v7.1.3" }, "funding": [ { @@ -3281,20 +3880,20 @@ "type": "tidelift" } ], - "time": "2024-02-22T20:27:10+00:00" + "time": "2024-07-26T13:02:51+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v7.0.3", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e" + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/834c28d533dd0636f910909d01b9ff45cc094b5e", - "reference": "834c28d533dd0636f910909d01b9ff45cc094b5e", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", + "reference": "9fa7f7a21beb22a39a8f3f28618b29e50d7a55a7", "shasum": "" }, "require": { @@ -3345,7 +3944,7 @@ "description": "Provides tools that allow your application components to communicate with each other by dispatching events and listening to them", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/event-dispatcher/tree/v7.0.3" + "source": "https://github.com/symfony/event-dispatcher/tree/v7.1.1" }, "funding": [ { @@ -3361,20 +3960,20 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/event-dispatcher-contracts", - "version": "v3.4.0", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher-contracts.git", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df" + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/a76aed96a42d2b521153fb382d418e30d18b59df", - "reference": "a76aed96a42d2b521153fb382d418e30d18b59df", + "url": "https://api.github.com/repos/symfony/event-dispatcher-contracts/zipball/8f93aec25d41b72493c6ddff14e916177c9efc50", + "reference": "8f93aec25d41b72493c6ddff14e916177c9efc50", "shasum": "" }, "require": { @@ -3384,7 +3983,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -3421,7 +4020,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.4.0" + "source": "https://github.com/symfony/event-dispatcher-contracts/tree/v3.5.0" }, "funding": [ { @@ -3437,27 +4036,27 @@ "type": "tidelift" } ], - "time": "2023-05-23T14:45:45+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/finder", - "version": "v6.4.0", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce" + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/11d736e97f116ac375a81f96e662911a34cd50ce", - "reference": "11d736e97f116ac375a81f96e662911a34cd50ce", + "url": "https://api.github.com/repos/symfony/finder/zipball/d95bbf319f7d052082fb7af147e0f835a695e823", + "reference": "d95bbf319f7d052082fb7af147e0f835a695e823", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "symfony/filesystem": "^6.0|^7.0" + "symfony/filesystem": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -3485,7 +4084,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v6.4.0" + "source": "https://github.com/symfony/finder/tree/v7.1.4" }, "funding": [ { @@ -3501,40 +4100,40 @@ "type": "tidelift" } ], - "time": "2023-10-31T17:30:12+00:00" + "time": "2024-08-13T14:28:19+00:00" }, { "name": "symfony/http-foundation", - "version": "v6.4.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "ebc713bc6e6f4b53f46539fc158be85dfcd77304" + "reference": "e30ef73b1e44eea7eb37ba69600a354e553f694b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/ebc713bc6e6f4b53f46539fc158be85dfcd77304", - "reference": "ebc713bc6e6f4b53f46539fc158be85dfcd77304", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/e30ef73b1e44eea7eb37ba69600a354e553f694b", + "reference": "e30ef73b1e44eea7eb37ba69600a354e553f694b", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.1", "symfony/polyfill-php83": "^1.27" }, "conflict": { - "symfony/cache": "<6.3" + "doctrine/dbal": "<3.6", + "symfony/cache": "<6.4" }, "require-dev": { - "doctrine/dbal": "^2.13.1|^3|^4", + "doctrine/dbal": "^3.6|^4", "predis/predis": "^1.1|^2.0", - "symfony/cache": "^6.3|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/expression-language": "^5.4|^6.0|^7.0", - "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4|^7.0", - "symfony/mime": "^5.4|^6.0|^7.0", - "symfony/rate-limiter": "^5.4|^6.0|^7.0" + "symfony/cache": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/mime": "^6.4|^7.0", + "symfony/rate-limiter": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -3562,7 +4161,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v6.4.4" + "source": "https://github.com/symfony/http-foundation/tree/v7.1.5" }, "funding": [ { @@ -3578,76 +4177,77 @@ "type": "tidelift" } ], - "time": "2024-02-08T15:01:18+00:00" + "time": "2024-09-20T08:28:38+00:00" }, { "name": "symfony/http-kernel", - "version": "v6.4.5", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "f6947cb939d8efee137797382cb4db1af653ef75" + "reference": "44204d96150a9df1fc57601ec933d23fefc2d65b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/f6947cb939d8efee137797382cb4db1af653ef75", - "reference": "f6947cb939d8efee137797382cb4db1af653ef75", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/44204d96150a9df1fc57601ec933d23fefc2d65b", + "reference": "44204d96150a9df1fc57601ec933d23fefc2d65b", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "psr/log": "^1|^2|^3", "symfony/deprecation-contracts": "^2.5|^3", "symfony/error-handler": "^6.4|^7.0", - "symfony/event-dispatcher": "^5.4|^6.0|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", "symfony/http-foundation": "^6.4|^7.0", "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/browser-kit": "<5.4", - "symfony/cache": "<5.4", - "symfony/config": "<6.1", - "symfony/console": "<5.4", + "symfony/browser-kit": "<6.4", + "symfony/cache": "<6.4", + "symfony/config": "<6.4", + "symfony/console": "<6.4", "symfony/dependency-injection": "<6.4", - "symfony/doctrine-bridge": "<5.4", - "symfony/form": "<5.4", - "symfony/http-client": "<5.4", + "symfony/doctrine-bridge": "<6.4", + "symfony/form": "<6.4", + "symfony/http-client": "<6.4", "symfony/http-client-contracts": "<2.5", - "symfony/mailer": "<5.4", - "symfony/messenger": "<5.4", - "symfony/translation": "<5.4", + "symfony/mailer": "<6.4", + "symfony/messenger": "<6.4", + "symfony/translation": "<6.4", "symfony/translation-contracts": "<2.5", - "symfony/twig-bridge": "<5.4", + "symfony/twig-bridge": "<6.4", "symfony/validator": "<6.4", - "symfony/var-dumper": "<6.3", - "twig/twig": "<2.13" + "symfony/var-dumper": "<6.4", + "twig/twig": "<3.0.4" }, "provide": { "psr/log-implementation": "1.0|2.0|3.0" }, "require-dev": { "psr/cache": "^1.0|^2.0|^3.0", - "symfony/browser-kit": "^5.4|^6.0|^7.0", - "symfony/clock": "^6.2|^7.0", - "symfony/config": "^6.1|^7.0", - "symfony/console": "^5.4|^6.0|^7.0", - "symfony/css-selector": "^5.4|^6.0|^7.0", + "symfony/browser-kit": "^6.4|^7.0", + "symfony/clock": "^6.4|^7.0", + "symfony/config": "^6.4|^7.0", + "symfony/console": "^6.4|^7.0", + "symfony/css-selector": "^6.4|^7.0", "symfony/dependency-injection": "^6.4|^7.0", - "symfony/dom-crawler": "^5.4|^6.0|^7.0", - "symfony/expression-language": "^5.4|^6.0|^7.0", - "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/dom-crawler": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/finder": "^6.4|^7.0", "symfony/http-client-contracts": "^2.5|^3", - "symfony/process": "^5.4|^6.0|^7.0", - "symfony/property-access": "^5.4.5|^6.0.5|^7.0", - "symfony/routing": "^5.4|^6.0|^7.0", - "symfony/serializer": "^6.4.4|^7.0.4", - "symfony/stopwatch": "^5.4|^6.0|^7.0", - "symfony/translation": "^5.4|^6.0|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/property-access": "^7.1", + "symfony/routing": "^6.4|^7.0", + "symfony/serializer": "^7.1", + "symfony/stopwatch": "^6.4|^7.0", + "symfony/translation": "^6.4|^7.0", "symfony/translation-contracts": "^2.5|^3", - "symfony/uid": "^5.4|^6.0|^7.0", + "symfony/uid": "^6.4|^7.0", "symfony/validator": "^6.4|^7.0", - "symfony/var-exporter": "^6.2|^7.0", - "twig/twig": "^2.13|^3.0.4" + "symfony/var-dumper": "^6.4|^7.0", + "symfony/var-exporter": "^6.4|^7.0", + "twig/twig": "^3.0.4" }, "type": "library", "autoload": { @@ -3675,7 +4275,7 @@ "description": "Provides a structured process for converting a Request into a Response", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-kernel/tree/v6.4.5" + "source": "https://github.com/symfony/http-kernel/tree/v7.1.5" }, "funding": [ { @@ -3691,43 +4291,43 @@ "type": "tidelift" } ], - "time": "2024-03-04T21:00:47+00:00" + "time": "2024-09-21T06:09:21+00:00" }, { "name": "symfony/mailer", - "version": "v6.4.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/mailer.git", - "reference": "791c5d31a8204cf3db0c66faab70282307f4376b" + "reference": "bbf21460c56f29810da3df3e206e38dfbb01e80b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mailer/zipball/791c5d31a8204cf3db0c66faab70282307f4376b", - "reference": "791c5d31a8204cf3db0c66faab70282307f4376b", + "url": "https://api.github.com/repos/symfony/mailer/zipball/bbf21460c56f29810da3df3e206e38dfbb01e80b", + "reference": "bbf21460c56f29810da3df3e206e38dfbb01e80b", "shasum": "" }, "require": { "egulias/email-validator": "^2.1.10|^3|^4", - "php": ">=8.1", + "php": ">=8.2", "psr/event-dispatcher": "^1", "psr/log": "^1|^2|^3", - "symfony/event-dispatcher": "^5.4|^6.0|^7.0", - "symfony/mime": "^6.2|^7.0", + "symfony/event-dispatcher": "^6.4|^7.0", + "symfony/mime": "^6.4|^7.0", "symfony/service-contracts": "^2.5|^3" }, "conflict": { "symfony/http-client-contracts": "<2.5", - "symfony/http-kernel": "<5.4", - "symfony/messenger": "<6.2", - "symfony/mime": "<6.2", - "symfony/twig-bridge": "<6.2.1" + "symfony/http-kernel": "<6.4", + "symfony/messenger": "<6.4", + "symfony/mime": "<6.4", + "symfony/twig-bridge": "<6.4" }, "require-dev": { - "symfony/console": "^5.4|^6.0|^7.0", - "symfony/http-client": "^5.4|^6.0|^7.0", - "symfony/messenger": "^6.2|^7.0", - "symfony/twig-bridge": "^6.2|^7.0" + "symfony/console": "^6.4|^7.0", + "symfony/http-client": "^6.4|^7.0", + "symfony/messenger": "^6.4|^7.0", + "symfony/twig-bridge": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -3755,7 +4355,7 @@ "description": "Helps sending emails", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/mailer/tree/v6.4.4" + "source": "https://github.com/symfony/mailer/tree/v7.1.5" }, "funding": [ { @@ -3771,25 +4371,24 @@ "type": "tidelift" } ], - "time": "2024-02-03T21:33:47+00:00" + "time": "2024-09-08T12:32:26+00:00" }, { "name": "symfony/mime", - "version": "v6.4.3", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "5017e0a9398c77090b7694be46f20eb796262a34" + "reference": "711d2e167e8ce65b05aea6b258c449671cdd38ff" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/5017e0a9398c77090b7694be46f20eb796262a34", - "reference": "5017e0a9398c77090b7694be46f20eb796262a34", + "url": "https://api.github.com/repos/symfony/mime/zipball/711d2e167e8ce65b05aea6b258c449671cdd38ff", + "reference": "711d2e167e8ce65b05aea6b258c449671cdd38ff", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.2", "symfony/polyfill-intl-idn": "^1.10", "symfony/polyfill-mbstring": "^1.0" }, @@ -3797,17 +4396,18 @@ "egulias/email-validator": "~3.0.0", "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", - "symfony/mailer": "<5.4", - "symfony/serializer": "<6.3.2" + "symfony/mailer": "<6.4", + "symfony/serializer": "<6.4.3|>7.0,<7.0.3" }, "require-dev": { "egulias/email-validator": "^2.1.10|^3.1|^4", "league/html-to-markdown": "^5.0", "phpdocumentor/reflection-docblock": "^3.0|^4.0|^5.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/property-access": "^5.4|^6.0|^7.0", - "symfony/property-info": "^5.4|^6.0|^7.0", - "symfony/serializer": "^6.3.2|^7.0" + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/property-access": "^6.4|^7.0", + "symfony/property-info": "^6.4|^7.0", + "symfony/serializer": "^6.4.3|^7.0.3" }, "type": "library", "autoload": { @@ -3839,7 +4439,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v6.4.3" + "source": "https://github.com/symfony/mime/tree/v7.1.5" }, "funding": [ { @@ -3855,24 +4455,24 @@ "type": "tidelift" } ], - "time": "2024-01-30T08:32:12+00:00" + "time": "2024-09-20T08:28:38+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4" + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/ef4d7e442ca910c4764bce785146269b30cb5fc4", - "reference": "ef4d7e442ca910c4764bce785146269b30cb5fc4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/a3cc8b044a6ea513310cbd48ef7333b384945638", + "reference": "a3cc8b044a6ea513310cbd48ef7333b384945638", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-ctype": "*" @@ -3918,7 +4518,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.31.0" }, "funding": [ { @@ -3934,24 +4534,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f" + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/32a9da87d7b3245e09ac426c83d334ae9f06f80f", - "reference": "32a9da87d7b3245e09ac426c83d334ae9f06f80f", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", + "reference": "b9123926e3b7bc2f98c02ad54f6a4b02b91a8abe", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" @@ -3996,7 +4596,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.31.0" }, "funding": [ { @@ -4012,26 +4612,25 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "a287ed7475f85bf6f61890146edbc932c0fff919" + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/a287ed7475f85bf6f61890146edbc932c0fff919", - "reference": "a287ed7475f85bf6f61890146edbc932c0fff919", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/c36586dcf89a12315939e00ec9b4474adcb1d773", + "reference": "c36586dcf89a12315939e00ec9b4474adcb1d773", "shasum": "" }, "require": { - "php": ">=7.1", - "symfony/polyfill-intl-normalizer": "^1.10", - "symfony/polyfill-php72": "^1.10" + "php": ">=7.2", + "symfony/polyfill-intl-normalizer": "^1.10" }, "suggest": { "ext-intl": "For best performance" @@ -4080,7 +4679,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.31.0" }, "funding": [ { @@ -4096,24 +4695,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "bc45c394692b948b4d383a08d7753968bed9a83d" + "reference": "3833d7255cc303546435cb650316bff708a1c75c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/bc45c394692b948b4d383a08d7753968bed9a83d", - "reference": "bc45c394692b948b4d383a08d7753968bed9a83d", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/3833d7255cc303546435cb650316bff708a1c75c", + "reference": "3833d7255cc303546435cb650316bff708a1c75c", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "suggest": { "ext-intl": "For best performance" @@ -4161,7 +4760,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.31.0" }, "funding": [ { @@ -4177,24 +4776,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec" + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9773676c8a1bb1f8d4340a62efe641cf76eda7ec", - "reference": "9773676c8a1bb1f8d4340a62efe641cf76eda7ec", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/85181ba99b2345b0ef10ce42ecac37612d9fd341", + "reference": "85181ba99b2345b0ef10ce42ecac37612d9fd341", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-mbstring": "*" @@ -4241,80 +4840,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.29.0" - }, - "funding": [ - { - "url": "https://symfony.com/sponsor", - "type": "custom" - }, - { - "url": "https://github.com/fabpot", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", - "type": "tidelift" - } - ], - "time": "2024-01-29T20:11:03+00:00" - }, - { - "name": "symfony/polyfill-php72", - "version": "v1.29.0", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/861391a8da9a04cbad2d232ddd9e4893220d6e25", - "reference": "861391a8da9a04cbad2d232ddd9e4893220d6e25", - "shasum": "" - }, - "require": { - "php": ">=7.1" - }, - "type": "library", - "extra": { - "thanks": { - "name": "symfony/polyfill", - "url": "https://github.com/symfony/polyfill" - } - }, - "autoload": { - "files": [ - "bootstrap.php" - ], - "psr-4": { - "Symfony\\Polyfill\\Php72\\": "" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Nicolas Grekas", - "email": "p@tchwork.com" - }, - { - "name": "Symfony Community", - "homepage": "https://symfony.com/contributors" - } - ], - "description": "Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions", - "homepage": "https://symfony.com", - "keywords": [ - "compatibility", - "polyfill", - "portable", - "shim" - ], - "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.31.0" }, "funding": [ { @@ -4330,24 +4856,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b" + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", - "reference": "87b68208d5c1188808dd7839ee1e6c8ec3b02f1b", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", + "reference": "60328e362d4c2c802a54fcbf04f9d3fb892b4cf8", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "type": "library", "extra": { @@ -4394,7 +4920,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.31.0" }, "funding": [ { @@ -4410,25 +4936,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-php83", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php83.git", - "reference": "86fcae159633351e5fd145d1c47de6c528f8caff" + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/86fcae159633351e5fd145d1c47de6c528f8caff", - "reference": "86fcae159633351e5fd145d1c47de6c528f8caff", + "url": "https://api.github.com/repos/symfony/polyfill-php83/zipball/2fb86d65e2d424369ad2905e83b236a8805ba491", + "reference": "2fb86d65e2d424369ad2905e83b236a8805ba491", "shasum": "" }, "require": { - "php": ">=7.1", - "symfony/polyfill-php80": "^1.14" + "php": ">=7.2" }, "type": "library", "extra": { @@ -4471,7 +4996,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php83/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-php83/tree/v1.31.0" }, "funding": [ { @@ -4487,24 +5012,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/polyfill-uuid", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-uuid.git", - "reference": "3abdd21b0ceaa3000ee950097bc3cf9efc137853" + "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/3abdd21b0ceaa3000ee950097bc3cf9efc137853", - "reference": "3abdd21b0ceaa3000ee950097bc3cf9efc137853", + "url": "https://api.github.com/repos/symfony/polyfill-uuid/zipball/21533be36c24be3f4b1669c4725c7d1d2bab4ae2", + "reference": "21533be36c24be3f4b1669c4725c7d1d2bab4ae2", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-uuid": "*" @@ -4550,7 +5075,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/polyfill-uuid/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-uuid/tree/v1.31.0" }, "funding": [ { @@ -4566,24 +5091,24 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T11:45:10+00:00" }, { "name": "symfony/process", - "version": "v6.4.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/process.git", - "reference": "710e27879e9be3395de2b98da3f52a946039f297" + "reference": "5c03ee6369281177f07f7c68252a280beccba847" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/710e27879e9be3395de2b98da3f52a946039f297", - "reference": "710e27879e9be3395de2b98da3f52a946039f297", + "url": "https://api.github.com/repos/symfony/process/zipball/5c03ee6369281177f07f7c68252a280beccba847", + "reference": "5c03ee6369281177f07f7c68252a280beccba847", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "type": "library", "autoload": { @@ -4611,7 +5136,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v6.4.4" + "source": "https://github.com/symfony/process/tree/v7.1.5" }, "funding": [ { @@ -4627,40 +5152,38 @@ "type": "tidelift" } ], - "time": "2024-02-20T12:31:00+00:00" + "time": "2024-09-19T21:48:23+00:00" }, { "name": "symfony/routing", - "version": "v6.4.5", + "version": "v7.1.4", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "7fe30068e207d9c31c0138501ab40358eb2d49a4" + "reference": "1500aee0094a3ce1c92626ed8cf3c2037e86f5a7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/7fe30068e207d9c31c0138501ab40358eb2d49a4", - "reference": "7fe30068e207d9c31c0138501ab40358eb2d49a4", + "url": "https://api.github.com/repos/symfony/routing/zipball/1500aee0094a3ce1c92626ed8cf3c2037e86f5a7", + "reference": "1500aee0094a3ce1c92626ed8cf3c2037e86f5a7", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { - "doctrine/annotations": "<1.12", - "symfony/config": "<6.2", - "symfony/dependency-injection": "<5.4", - "symfony/yaml": "<5.4" + "symfony/config": "<6.4", + "symfony/dependency-injection": "<6.4", + "symfony/yaml": "<6.4" }, "require-dev": { - "doctrine/annotations": "^1.12|^2", "psr/log": "^1|^2|^3", - "symfony/config": "^6.2|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/expression-language": "^5.4|^6.0|^7.0", - "symfony/http-foundation": "^5.4|^6.0|^7.0", - "symfony/yaml": "^5.4|^6.0|^7.0" + "symfony/config": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/expression-language": "^6.4|^7.0", + "symfony/http-foundation": "^6.4|^7.0", + "symfony/yaml": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -4694,7 +5217,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v6.4.5" + "source": "https://github.com/symfony/routing/tree/v7.1.4" }, "funding": [ { @@ -4710,25 +5233,26 @@ "type": "tidelift" } ], - "time": "2024-02-27T12:33:30+00:00" + "time": "2024-08-29T08:16:25+00:00" }, { "name": "symfony/service-contracts", - "version": "v3.4.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/service-contracts.git", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0" + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/fe07cbc8d837f60caf7018068e350cc5163681a0", - "reference": "fe07cbc8d837f60caf7018068e350cc5163681a0", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", + "reference": "bd1d9e59a81d8fa4acdcea3f617c581f7475a80f", "shasum": "" }, "require": { "php": ">=8.1", - "psr/container": "^1.1|^2.0" + "psr/container": "^1.1|^2.0", + "symfony/deprecation-contracts": "^2.5|^3" }, "conflict": { "ext-psr": "<1.1|>=2" @@ -4736,7 +5260,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -4776,7 +5300,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/service-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/service-contracts/tree/v3.5.0" }, "funding": [ { @@ -4792,20 +5316,20 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/string", - "version": "v7.0.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b" + "reference": "d66f9c343fa894ec2037cc928381df90a7ad4306" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/f5832521b998b0bec40bee688ad5de98d4cf111b", - "reference": "f5832521b998b0bec40bee688ad5de98d4cf111b", + "url": "https://api.github.com/repos/symfony/string/zipball/d66f9c343fa894ec2037cc928381df90a7ad4306", + "reference": "d66f9c343fa894ec2037cc928381df90a7ad4306", "shasum": "" }, "require": { @@ -4819,6 +5343,7 @@ "symfony/translation-contracts": "<2.5" }, "require-dev": { + "symfony/emoji": "^7.1", "symfony/error-handler": "^6.4|^7.0", "symfony/http-client": "^6.4|^7.0", "symfony/intl": "^6.4|^7.0", @@ -4862,7 +5387,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v7.0.4" + "source": "https://github.com/symfony/string/tree/v7.1.5" }, "funding": [ { @@ -4878,37 +5403,36 @@ "type": "tidelift" } ], - "time": "2024-02-01T13:17:36+00:00" + "time": "2024-09-20T08:28:38+00:00" }, { "name": "symfony/translation", - "version": "v6.4.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "bce6a5a78e94566641b2594d17e48b0da3184a8e" + "reference": "235535e3f84f3dfbdbde0208ede6ca75c3a489ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/bce6a5a78e94566641b2594d17e48b0da3184a8e", - "reference": "bce6a5a78e94566641b2594d17e48b0da3184a8e", + "url": "https://api.github.com/repos/symfony/translation/zipball/235535e3f84f3dfbdbde0208ede6ca75c3a489ea", + "reference": "235535e3f84f3dfbdbde0208ede6ca75c3a489ea", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.0", "symfony/translation-contracts": "^2.5|^3.0" }, "conflict": { - "symfony/config": "<5.4", - "symfony/console": "<5.4", - "symfony/dependency-injection": "<5.4", + "symfony/config": "<6.4", + "symfony/console": "<6.4", + "symfony/dependency-injection": "<6.4", "symfony/http-client-contracts": "<2.5", - "symfony/http-kernel": "<5.4", + "symfony/http-kernel": "<6.4", "symfony/service-contracts": "<2.5", - "symfony/twig-bundle": "<5.4", - "symfony/yaml": "<5.4" + "symfony/twig-bundle": "<6.4", + "symfony/yaml": "<6.4" }, "provide": { "symfony/translation-implementation": "2.3|3.0" @@ -4916,17 +5440,17 @@ "require-dev": { "nikic/php-parser": "^4.18|^5.0", "psr/log": "^1|^2|^3", - "symfony/config": "^5.4|^6.0|^7.0", - "symfony/console": "^5.4|^6.0|^7.0", - "symfony/dependency-injection": "^5.4|^6.0|^7.0", - "symfony/finder": "^5.4|^6.0|^7.0", + "symfony/config": "^6.4|^7.0", + "symfony/console": "^6.4|^7.0", + "symfony/dependency-injection": "^6.4|^7.0", + "symfony/finder": "^6.4|^7.0", "symfony/http-client-contracts": "^2.5|^3.0", - "symfony/http-kernel": "^5.4|^6.0|^7.0", - "symfony/intl": "^5.4|^6.0|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/intl": "^6.4|^7.0", "symfony/polyfill-intl-icu": "^1.21", - "symfony/routing": "^5.4|^6.0|^7.0", + "symfony/routing": "^6.4|^7.0", "symfony/service-contracts": "^2.5|^3", - "symfony/yaml": "^5.4|^6.0|^7.0" + "symfony/yaml": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -4957,7 +5481,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v6.4.4" + "source": "https://github.com/symfony/translation/tree/v7.1.5" }, "funding": [ { @@ -4973,20 +5497,20 @@ "type": "tidelift" } ], - "time": "2024-02-20T13:16:58+00:00" + "time": "2024-09-16T06:30:38+00:00" }, { "name": "symfony/translation-contracts", - "version": "v3.4.1", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/symfony/translation-contracts.git", - "reference": "06450585bf65e978026bda220cdebca3f867fde7" + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/06450585bf65e978026bda220cdebca3f867fde7", - "reference": "06450585bf65e978026bda220cdebca3f867fde7", + "url": "https://api.github.com/repos/symfony/translation-contracts/zipball/b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", + "reference": "b9d2189887bb6b2e0367a9fc7136c5239ab9b05a", "shasum": "" }, "require": { @@ -4995,7 +5519,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "3.4-dev" + "dev-main": "3.5-dev" }, "thanks": { "name": "symfony/contracts", @@ -5035,7 +5559,7 @@ "standards" ], "support": { - "source": "https://github.com/symfony/translation-contracts/tree/v3.4.1" + "source": "https://github.com/symfony/translation-contracts/tree/v3.5.0" }, "funding": [ { @@ -5051,28 +5575,28 @@ "type": "tidelift" } ], - "time": "2023-12-26T14:02:43+00:00" + "time": "2024-04-18T09:32:20+00:00" }, { "name": "symfony/uid", - "version": "v6.4.3", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/uid.git", - "reference": "1d31267211cc3a2fff32bcfc7c1818dac41b6fc0" + "reference": "8c7bb8acb933964055215d89f9a9871df0239317" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/uid/zipball/1d31267211cc3a2fff32bcfc7c1818dac41b6fc0", - "reference": "1d31267211cc3a2fff32bcfc7c1818dac41b6fc0", + "url": "https://api.github.com/repos/symfony/uid/zipball/8c7bb8acb933964055215d89f9a9871df0239317", + "reference": "8c7bb8acb933964055215d89f9a9871df0239317", "shasum": "" }, "require": { - "php": ">=8.1", + "php": ">=8.2", "symfony/polyfill-uuid": "^1.15" }, "require-dev": { - "symfony/console": "^5.4|^6.0|^7.0" + "symfony/console": "^6.4|^7.0" }, "type": "library", "autoload": { @@ -5109,7 +5633,7 @@ "uuid" ], "support": { - "source": "https://github.com/symfony/uid/tree/v6.4.3" + "source": "https://github.com/symfony/uid/tree/v7.1.5" }, "funding": [ { @@ -5125,38 +5649,36 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-09-17T09:16:35+00:00" }, { "name": "symfony/var-dumper", - "version": "v6.4.4", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "b439823f04c98b84d4366c79507e9da6230944b1" + "reference": "e20e03889539fd4e4211e14d2179226c513c010d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/b439823f04c98b84d4366c79507e9da6230944b1", - "reference": "b439823f04c98b84d4366c79507e9da6230944b1", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/e20e03889539fd4e4211e14d2179226c513c010d", + "reference": "e20e03889539fd4e4211e14d2179226c513c010d", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.2", "symfony/polyfill-mbstring": "~1.0" }, "conflict": { - "symfony/console": "<5.4" + "symfony/console": "<6.4" }, "require-dev": { "ext-iconv": "*", - "symfony/console": "^5.4|^6.0|^7.0", - "symfony/error-handler": "^6.3|^7.0", - "symfony/http-kernel": "^5.4|^6.0|^7.0", - "symfony/process": "^5.4|^6.0|^7.0", - "symfony/uid": "^5.4|^6.0|^7.0", - "twig/twig": "^2.13|^3.0.4" + "symfony/console": "^6.4|^7.0", + "symfony/http-kernel": "^6.4|^7.0", + "symfony/process": "^6.4|^7.0", + "symfony/uid": "^6.4|^7.0", + "twig/twig": "^3.0.4" }, "bin": [ "Resources/bin/var-dump-server" @@ -5194,7 +5716,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v6.4.4" + "source": "https://github.com/symfony/var-dumper/tree/v7.1.5" }, "funding": [ { @@ -5210,7 +5732,7 @@ "type": "tidelift" } ], - "time": "2024-02-15T11:23:52+00:00" + "time": "2024-09-16T10:07:02+00:00" }, { "name": "tijsverkoyen/css-to-inline-styles", @@ -5267,23 +5789,23 @@ }, { "name": "vlucas/phpdotenv", - "version": "v5.6.0", + "version": "v5.6.1", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4" + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", - "reference": "2cf9fb6054c2bb1d59d1f3817706ecdb9d2934c4", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/a59a13791077fe3d44f90e7133eb68e7d22eaff2", + "reference": "a59a13791077fe3d44f90e7133eb68e7d22eaff2", "shasum": "" }, "require": { "ext-pcre": "*", - "graham-campbell/result-type": "^1.1.2", + "graham-campbell/result-type": "^1.1.3", "php": "^7.2.5 || ^8.0", - "phpoption/phpoption": "^1.9.2", + "phpoption/phpoption": "^1.9.3", "symfony/polyfill-ctype": "^1.24", "symfony/polyfill-mbstring": "^1.24", "symfony/polyfill-php80": "^1.24" @@ -5300,7 +5822,7 @@ "extra": { "bamarni-bin": { "bin-links": true, - "forward-command": true + "forward-command": false }, "branch-alias": { "dev-master": "5.6-dev" @@ -5335,7 +5857,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.0" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.6.1" }, "funding": [ { @@ -5347,7 +5869,7 @@ "type": "tidelift" } ], - "time": "2023-11-12T22:43:29+00:00" + "time": "2024-07-20T21:52:34+00:00" }, { "name": "voku/portable-ascii", @@ -5485,16 +6007,16 @@ "packages-dev": [ { "name": "brianium/paratest", - "version": "v7.4.3", + "version": "v7.6.0", "source": { "type": "git", "url": "https://github.com/paratestphp/paratest.git", - "reference": "64fcfd0e28a6b8078a19dbf9127be2ee645b92ec" + "reference": "68ff89a8de47d086588e391a516d2a5b5fde6254" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paratestphp/paratest/zipball/64fcfd0e28a6b8078a19dbf9127be2ee645b92ec", - "reference": "64fcfd0e28a6b8078a19dbf9127be2ee645b92ec", + "url": "https://api.github.com/repos/paratestphp/paratest/zipball/68ff89a8de47d086588e391a516d2a5b5fde6254", + "reference": "68ff89a8de47d086588e391a516d2a5b5fde6254", "shasum": "" }, "require": { @@ -5502,31 +6024,30 @@ "ext-pcre": "*", "ext-reflection": "*", "ext-simplexml": "*", - "fidry/cpu-core-counter": "^1.1.0", - "jean85/pretty-package-versions": "^2.0.5", - "php": "~8.2.0 || ~8.3.0", - "phpunit/php-code-coverage": "^10.1.11 || ^11.0.0", - "phpunit/php-file-iterator": "^4.1.0 || ^5.0.0", - "phpunit/php-timer": "^6.0.0 || ^7.0.0", - "phpunit/phpunit": "^10.5.9 || ^11.0.3", - "sebastian/environment": "^6.0.1 || ^7.0.0", - "symfony/console": "^6.4.3 || ^7.0.3", - "symfony/process": "^6.4.3 || ^7.0.3" + "fidry/cpu-core-counter": "^1.2.0", + "jean85/pretty-package-versions": "^2.0.6", + "php": "~8.2.0 || ~8.3.0 || ~8.4.0", + "phpunit/php-code-coverage": "^11.0.7", + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-timer": "^7.0.1", + "phpunit/phpunit": "^11.4.1", + "sebastian/environment": "^7.2.0", + "symfony/console": "^6.4.11 || ^7.1.5", + "symfony/process": "^6.4.8 || ^7.1.5" }, "require-dev": { "doctrine/coding-standard": "^12.0.0", "ext-pcov": "*", "ext-posix": "*", - "phpstan/phpstan": "^1.10.58", - "phpstan/phpstan-deprecation-rules": "^1.1.4", - "phpstan/phpstan-phpunit": "^1.3.15", - "phpstan/phpstan-strict-rules": "^1.5.2", - "squizlabs/php_codesniffer": "^3.9.0", - "symfony/filesystem": "^6.4.3 || ^7.0.3" + "phpstan/phpstan": "^1.12.6", + "phpstan/phpstan-deprecation-rules": "^1.2.1", + "phpstan/phpstan-phpunit": "^1.4.0", + "phpstan/phpstan-strict-rules": "^1.6.1", + "squizlabs/php_codesniffer": "^3.10.3", + "symfony/filesystem": "^6.4.9 || ^7.1.5" }, "bin": [ "bin/paratest", - "bin/paratest.bat", "bin/paratest_for_phpstorm" ], "type": "library", @@ -5563,7 +6084,7 @@ ], "support": { "issues": "https://github.com/paratestphp/paratest/issues", - "source": "https://github.com/paratestphp/paratest/tree/v7.4.3" + "source": "https://github.com/paratestphp/paratest/tree/v7.6.0" }, "funding": [ { @@ -5575,28 +6096,28 @@ "type": "paypal" } ], - "time": "2024-02-20T07:24:02+00:00" + "time": "2024-10-15T12:38:31+00:00" }, { "name": "composer/semver", - "version": "3.4.0", + "version": "3.4.3", "source": { "type": "git", "url": "https://github.com/composer/semver.git", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32" + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/35e8d0af4486141bc745f23a29cc2091eb624a32", - "reference": "35e8d0af4486141bc745f23a29cc2091eb624a32", + "url": "https://api.github.com/repos/composer/semver/zipball/4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", + "reference": "4313d26ada5e0c4edfbd1dc481a92ff7bff91f12", "shasum": "" }, "require": { "php": "^5.3.2 || ^7.0 || ^8.0" }, "require-dev": { - "phpstan/phpstan": "^1.4", - "symfony/phpunit-bridge": "^4.2 || ^5" + "phpstan/phpstan": "^1.11", + "symfony/phpunit-bridge": "^3 || ^7" }, "type": "library", "extra": { @@ -5640,7 +6161,7 @@ "support": { "irc": "ircs://irc.libera.chat:6697/composer", "issues": "https://github.com/composer/semver/issues", - "source": "https://github.com/composer/semver/tree/3.4.0" + "source": "https://github.com/composer/semver/tree/3.4.3" }, "funding": [ { @@ -5656,7 +6177,7 @@ "type": "tidelift" } ], - "time": "2023-08-31T09:50:34+00:00" + "time": "2024-09-19T14:15:21+00:00" }, { "name": "fakerphp/faker", @@ -5723,16 +6244,16 @@ }, { "name": "fidry/cpu-core-counter", - "version": "1.1.0", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/theofidry/cpu-core-counter.git", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42" + "reference": "8520451a140d3f46ac33042715115e290cf5785f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/f92996c4d5c1a696a6a970e20f7c4216200fcc42", - "reference": "f92996c4d5c1a696a6a970e20f7c4216200fcc42", + "url": "https://api.github.com/repos/theofidry/cpu-core-counter/zipball/8520451a140d3f46ac33042715115e290cf5785f", + "reference": "8520451a140d3f46ac33042715115e290cf5785f", "shasum": "" }, "require": { @@ -5772,7 +6293,7 @@ ], "support": { "issues": "https://github.com/theofidry/cpu-core-counter/issues", - "source": "https://github.com/theofidry/cpu-core-counter/tree/1.1.0" + "source": "https://github.com/theofidry/cpu-core-counter/tree/1.2.0" }, "funding": [ { @@ -5780,30 +6301,30 @@ "type": "github" } ], - "time": "2024-02-07T09:43:46+00:00" + "time": "2024-08-06T10:04:20+00:00" }, { "name": "filp/whoops", - "version": "2.15.4", + "version": "2.16.0", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546" + "reference": "befcdc0e5dce67252aa6322d82424be928214fa2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/a139776fa3f5985a50b509f2a02ff0f709d2a546", - "reference": "a139776fa3f5985a50b509f2a02ff0f709d2a546", + "url": "https://api.github.com/repos/filp/whoops/zipball/befcdc0e5dce67252aa6322d82424be928214fa2", + "reference": "befcdc0e5dce67252aa6322d82424be928214fa2", "shasum": "" }, "require": { - "php": "^5.5.9 || ^7.0 || ^8.0", + "php": "^7.1 || ^8.0", "psr/log": "^1.0.1 || ^2.0 || ^3.0" }, "require-dev": { - "mockery/mockery": "^0.9 || ^1.0", - "phpunit/phpunit": "^4.8.36 || ^5.7.27 || ^6.5.14 || ^7.5.20 || ^8.5.8 || ^9.3.3", - "symfony/var-dumper": "^2.6 || ^3.0 || ^4.0 || ^5.0" + "mockery/mockery": "^1.0", + "phpunit/phpunit": "^7.5.20 || ^8.5.8 || ^9.3.3", + "symfony/var-dumper": "^4.0 || ^5.0" }, "suggest": { "symfony/var-dumper": "Pretty print complex values better with var-dumper available", @@ -5843,7 +6364,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.15.4" + "source": "https://github.com/filp/whoops/tree/2.16.0" }, "funding": [ { @@ -5851,123 +6372,7 @@ "type": "github" } ], - "time": "2023-11-03T12:00:00+00:00" - }, - { - "name": "guzzlehttp/psr7", - "version": "2.6.2", - "source": { - "type": "git", - "url": "https://github.com/guzzle/psr7.git", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221", - "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221", - "shasum": "" - }, - "require": { - "php": "^7.2.5 || ^8.0", - "psr/http-factory": "^1.0", - "psr/http-message": "^1.1 || ^2.0", - "ralouphie/getallheaders": "^3.0" - }, - "provide": { - "psr/http-factory-implementation": "1.0", - "psr/http-message-implementation": "1.0" - }, - "require-dev": { - "bamarni/composer-bin-plugin": "^1.8.2", - "http-interop/http-factory-tests": "^0.9", - "phpunit/phpunit": "^8.5.36 || ^9.6.15" - }, - "suggest": { - "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" - }, - "type": "library", - "extra": { - "bamarni-bin": { - "bin-links": true, - "forward-command": false - } - }, - "autoload": { - "psr-4": { - "GuzzleHttp\\Psr7\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Graham Campbell", - "email": "hello@gjcampbell.co.uk", - "homepage": "https://github.com/GrahamCampbell" - }, - { - "name": "Michael Dowling", - "email": "mtdowling@gmail.com", - "homepage": "https://github.com/mtdowling" - }, - { - "name": "George Mponos", - "email": "gmponos@gmail.com", - "homepage": "https://github.com/gmponos" - }, - { - "name": "Tobias Nyholm", - "email": "tobias.nyholm@gmail.com", - "homepage": "https://github.com/Nyholm" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://github.com/sagikazarmark" - }, - { - "name": "Tobias Schultze", - "email": "webmaster@tubo-world.de", - "homepage": "https://github.com/Tobion" - }, - { - "name": "Márk Sági-Kazár", - "email": "mark.sagikazar@gmail.com", - "homepage": "https://sagikazarmark.hu" - } - ], - "description": "PSR-7 message implementation that also provides common utility methods", - "keywords": [ - "http", - "message", - "psr-7", - "request", - "response", - "stream", - "uri", - "url" - ], - "support": { - "issues": "https://github.com/guzzle/psr7/issues", - "source": "https://github.com/guzzle/psr7/tree/2.6.2" - }, - "funding": [ - { - "url": "https://github.com/GrahamCampbell", - "type": "github" - }, - { - "url": "https://github.com/Nyholm", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/guzzlehttp/psr7", - "type": "tidelift" - } - ], - "time": "2023-12-03T20:05:35+00:00" + "time": "2024-09-25T12:00:00+00:00" }, { "name": "hamcrest/hamcrest-php", @@ -6039,21 +6444,93 @@ "php": "^7.1|^8.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.2", - "jean85/composer-provided-replaced-stub-package": "^1.0", - "phpstan/phpstan": "^1.4", - "phpunit/phpunit": "^7.5|^8.5|^9.4", - "vimeo/psalm": "^4.3" + "friendsofphp/php-cs-fixer": "^3.2", + "jean85/composer-provided-replaced-stub-package": "^1.0", + "phpstan/phpstan": "^1.4", + "phpunit/phpunit": "^7.5|^8.5|^9.4", + "vimeo/psalm": "^4.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Jean85\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Alessandro Lai", + "email": "alessandro.lai85@gmail.com" + } + ], + "description": "A library to get pretty versions strings of installed dependencies", + "keywords": [ + "composer", + "package", + "release", + "versions" + ], + "support": { + "issues": "https://github.com/Jean85/pretty-package-versions/issues", + "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.6" + }, + "time": "2024-03-08T09:58:59+00:00" + }, + { + "name": "laravel/pail", + "version": "v1.2.0", + "source": { + "type": "git", + "url": "https://github.com/laravel/pail.git", + "reference": "085a2306b520c3896afa361c25704e5fa3c27bf0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/laravel/pail/zipball/085a2306b520c3896afa361c25704e5fa3c27bf0", + "reference": "085a2306b520c3896afa361c25704e5fa3c27bf0", + "shasum": "" + }, + "require": { + "ext-mbstring": "*", + "illuminate/console": "^10.24|^11.0", + "illuminate/contracts": "^10.24|^11.0", + "illuminate/log": "^10.24|^11.0", + "illuminate/process": "^10.24|^11.0", + "illuminate/support": "^10.24|^11.0", + "nunomaduro/termwind": "^1.15|^2.0", + "php": "^8.2", + "symfony/console": "^6.0|^7.0" + }, + "require-dev": { + "laravel/pint": "^1.13", + "orchestra/testbench": "^8.12|^9.0", + "pestphp/pest": "^2.20", + "pestphp/pest-plugin-type-coverage": "^2.3", + "phpstan/phpstan": "^1.10", + "symfony/var-dumper": "^6.3|^7.0" }, "type": "library", "extra": { "branch-alias": { - "dev-master": "1.x-dev" + "dev-main": "1.x-dev" + }, + "laravel": { + "providers": [ + "Laravel\\Pail\\PailServiceProvider" + ] } }, "autoload": { "psr-4": { - "Jean85\\": "src/" + "Laravel\\Pail\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", @@ -6062,35 +6539,40 @@ ], "authors": [ { - "name": "Alessandro Lai", - "email": "alessandro.lai85@gmail.com" + "name": "Taylor Otwell", + "email": "taylor@laravel.com" + }, + { + "name": "Nuno Maduro", + "email": "enunomaduro@gmail.com" } ], - "description": "A library to get pretty versions strings of installed dependencies", + "description": "Easily delve into your Laravel application's log files directly from the command line.", + "homepage": "https://github.com/laravel/pail", "keywords": [ - "composer", - "package", - "release", - "versions" + "laravel", + "logs", + "php", + "tail" ], "support": { - "issues": "https://github.com/Jean85/pretty-package-versions/issues", - "source": "https://github.com/Jean85/pretty-package-versions/tree/2.0.6" + "issues": "https://github.com/laravel/pail/issues", + "source": "https://github.com/laravel/pail" }, - "time": "2024-03-08T09:58:59+00:00" + "time": "2024-10-21T13:59:30+00:00" }, { "name": "laravel/pint", - "version": "v1.14.0", + "version": "v1.18.1", "source": { "type": "git", "url": "https://github.com/laravel/pint.git", - "reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e" + "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/pint/zipball/6b127276e3f263f7bb17d5077e9e0269e61b2a0e", - "reference": "6b127276e3f263f7bb17d5077e9e0269e61b2a0e", + "url": "https://api.github.com/repos/laravel/pint/zipball/35c00c05ec43e6b46d295efc0f4386ceb30d50d9", + "reference": "35c00c05ec43e6b46d295efc0f4386ceb30d50d9", "shasum": "" }, "require": { @@ -6101,13 +6583,13 @@ "php": "^8.1.0" }, "require-dev": { - "friendsofphp/php-cs-fixer": "^3.49.0", - "illuminate/view": "^10.43.0", - "larastan/larastan": "^2.8.1", - "laravel-zero/framework": "^10.3.0", - "mockery/mockery": "^1.6.7", + "friendsofphp/php-cs-fixer": "^3.64.0", + "illuminate/view": "^10.48.20", + "larastan/larastan": "^2.9.8", + "laravel-zero/framework": "^10.4.0", + "mockery/mockery": "^1.6.12", "nunomaduro/termwind": "^1.15.1", - "pestphp/pest": "^2.33.6" + "pestphp/pest": "^2.35.1" }, "bin": [ "builds/pint" @@ -6143,20 +6625,20 @@ "issues": "https://github.com/laravel/pint/issues", "source": "https://github.com/laravel/pint" }, - "time": "2024-02-20T17:38:05+00:00" + "time": "2024-09-24T17:22:50+00:00" }, { "name": "laravel/tinker", - "version": "v2.9.0", + "version": "v2.10.0", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe" + "reference": "ba4d51eb56de7711b3a37d63aa0643e99a339ae5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/502e0fe3f0415d06d5db1f83a472f0f3b754bafe", - "reference": "502e0fe3f0415d06d5db1f83a472f0f3b754bafe", + "url": "https://api.github.com/repos/laravel/tinker/zipball/ba4d51eb56de7711b3a37d63aa0643e99a339ae5", + "reference": "ba4d51eb56de7711b3a37d63aa0643e99a339ae5", "shasum": "" }, "require": { @@ -6207,22 +6689,22 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.9.0" + "source": "https://github.com/laravel/tinker/tree/v2.10.0" }, - "time": "2024-01-04T16:10:04+00:00" + "time": "2024-09-23T13:32:56+00:00" }, { "name": "mockery/mockery", - "version": "1.6.10", + "version": "1.6.12", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "47065d1be1fa05def58dc14c03cf831d3884ef0b" + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/47065d1be1fa05def58dc14c03cf831d3884ef0b", - "reference": "47065d1be1fa05def58dc14c03cf831d3884ef0b", + "url": "https://api.github.com/repos/mockery/mockery/zipball/1f4efdd7d3beafe9807b08156dfcb176d18f1699", + "reference": "1f4efdd7d3beafe9807b08156dfcb176d18f1699", "shasum": "" }, "require": { @@ -6292,20 +6774,20 @@ "security": "https://github.com/mockery/mockery/security/advisories", "source": "https://github.com/mockery/mockery" }, - "time": "2024-03-19T16:15:45+00:00" + "time": "2024-05-16T03:13:13+00:00" }, { "name": "myclabs/deep-copy", - "version": "1.11.1", + "version": "1.12.0", "source": { "type": "git", "url": "https://github.com/myclabs/DeepCopy.git", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c" + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", - "reference": "7284c22080590fb39f2ffa3e9057f10a4ddd0e0c", + "url": "https://api.github.com/repos/myclabs/DeepCopy/zipball/3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", + "reference": "3a6b9a42cd8f8771bd4295d13e1423fa7f3d942c", "shasum": "" }, "require": { @@ -6313,11 +6795,12 @@ }, "conflict": { "doctrine/collections": "<1.6.8", - "doctrine/common": "<2.13.3 || >=3,<3.2.2" + "doctrine/common": "<2.13.3 || >=3 <3.2.2" }, "require-dev": { "doctrine/collections": "^1.6.8", "doctrine/common": "^2.13.3 || ^3.2.2", + "phpspec/prophecy": "^1.10", "phpunit/phpunit": "^7.5.20 || ^8.5.23 || ^9.5.13" }, "type": "library", @@ -6343,7 +6826,7 @@ ], "support": { "issues": "https://github.com/myclabs/DeepCopy/issues", - "source": "https://github.com/myclabs/DeepCopy/tree/1.11.1" + "source": "https://github.com/myclabs/DeepCopy/tree/1.12.0" }, "funding": [ { @@ -6351,20 +6834,20 @@ "type": "tidelift" } ], - "time": "2023-03-08T13:26:56+00:00" + "time": "2024-06-12T14:39:25+00:00" }, { "name": "nikic/php-parser", - "version": "v5.0.2", + "version": "v5.3.1", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13" + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/139676794dc1e9231bf7bcd123cfc0c99182cb13", - "reference": "139676794dc1e9231bf7bcd123cfc0c99182cb13", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/8eea230464783aa9671db8eea6f8c6ac5285794b", + "reference": "8eea230464783aa9671db8eea6f8c6ac5285794b", "shasum": "" }, "require": { @@ -6375,7 +6858,7 @@ }, "require-dev": { "ircmaxell/php-yacc": "^0.0.7", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0" + "phpunit/phpunit": "^9.0" }, "bin": [ "bin/php-parse" @@ -6407,46 +6890,44 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v5.0.2" + "source": "https://github.com/nikic/PHP-Parser/tree/v5.3.1" }, - "time": "2024-03-05T20:51:40+00:00" + "time": "2024-10-08T18:51:32+00:00" }, { "name": "nunomaduro/collision", - "version": "v7.10.0", + "version": "v8.5.0", "source": { "type": "git", "url": "https://github.com/nunomaduro/collision.git", - "reference": "49ec67fa7b002712da8526678abd651c09f375b2" + "reference": "f5c101b929c958e849a633283adff296ed5f38f5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nunomaduro/collision/zipball/49ec67fa7b002712da8526678abd651c09f375b2", - "reference": "49ec67fa7b002712da8526678abd651c09f375b2", + "url": "https://api.github.com/repos/nunomaduro/collision/zipball/f5c101b929c958e849a633283adff296ed5f38f5", + "reference": "f5c101b929c958e849a633283adff296ed5f38f5", "shasum": "" }, "require": { - "filp/whoops": "^2.15.3", - "nunomaduro/termwind": "^1.15.1", - "php": "^8.1.0", - "symfony/console": "^6.3.4" + "filp/whoops": "^2.16.0", + "nunomaduro/termwind": "^2.1.0", + "php": "^8.2.0", + "symfony/console": "^7.1.5" }, "conflict": { - "laravel/framework": ">=11.0.0" + "laravel/framework": "<11.0.0 || >=12.0.0", + "phpunit/phpunit": "<10.5.1 || >=12.0.0" }, "require-dev": { - "brianium/paratest": "^7.3.0", - "laravel/framework": "^10.28.0", - "laravel/pint": "^1.13.3", - "laravel/sail": "^1.25.0", - "laravel/sanctum": "^3.3.1", - "laravel/tinker": "^2.8.2", - "nunomaduro/larastan": "^2.6.4", - "orchestra/testbench-core": "^8.13.0", - "pestphp/pest": "^2.23.2", - "phpunit/phpunit": "^10.4.1", - "sebastian/environment": "^6.0.1", - "spatie/laravel-ignition": "^2.3.1" + "larastan/larastan": "^2.9.8", + "laravel/framework": "^11.28.0", + "laravel/pint": "^1.18.1", + "laravel/sail": "^1.36.0", + "laravel/sanctum": "^4.0.3", + "laravel/tinker": "^2.10.0", + "orchestra/testbench-core": "^9.5.3", + "pestphp/pest": "^2.36.0 || ^3.4.0", + "sebastian/environment": "^6.1.0 || ^7.2.0" }, "type": "library", "extra": { @@ -6454,6 +6935,9 @@ "providers": [ "NunoMaduro\\Collision\\Adapters\\Laravel\\CollisionServiceProvider" ] + }, + "branch-alias": { + "dev-8.x": "8.x-dev" } }, "autoload": { @@ -6505,42 +6989,42 @@ "type": "patreon" } ], - "time": "2023-10-11T15:45:01+00:00" + "time": "2024-10-15T16:06:32+00:00" }, { "name": "orchestra/canvas", - "version": "v8.11.7", + "version": "v9.1.3", "source": { "type": "git", "url": "https://github.com/orchestral/canvas.git", - "reference": "e4a0157f522222725f1559bde0da1091a91542fb" + "reference": "dbe51d918c4614f9c5ac9b7b7d3baac2360daf5d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/canvas/zipball/e4a0157f522222725f1559bde0da1091a91542fb", - "reference": "e4a0157f522222725f1559bde0da1091a91542fb", + "url": "https://api.github.com/repos/orchestral/canvas/zipball/dbe51d918c4614f9c5ac9b7b7d3baac2360daf5d", + "reference": "dbe51d918c4614f9c5ac9b7b7d3baac2360daf5d", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", "composer/semver": "^3.0", - "illuminate/console": "^10.39", - "illuminate/database": "^10.39", - "illuminate/filesystem": "^10.39", - "illuminate/support": "^10.39", - "orchestra/canvas-core": "^8.10.2", - "orchestra/testbench-core": "^8.19", - "php": "^8.1", + "illuminate/console": "^11.26", + "illuminate/database": "^11.26", + "illuminate/filesystem": "^11.26", + "illuminate/support": "^11.26", + "orchestra/canvas-core": "^9.0", + "orchestra/testbench-core": "^9.2", + "php": "^8.2", "symfony/polyfill-php83": "^1.28", - "symfony/yaml": "^6.2" + "symfony/yaml": "^7.0" }, "require-dev": { - "laravel/framework": "^10.39", - "laravel/pint": "^1.6", - "mockery/mockery": "^1.5.1", - "phpstan/phpstan": "^1.10.5", - "phpunit/phpunit": "^10.1", - "spatie/laravel-ray": "^1.32.4" + "laravel/framework": "^11.26", + "laravel/pint": "^1.17", + "mockery/mockery": "^1.6", + "phpstan/phpstan": "^1.11", + "phpunit/phpunit": "^11.0", + "spatie/laravel-ray": "^1.35" }, "bin": [ "canvas" @@ -6578,44 +7062,40 @@ "description": "Code Generators for Laravel Applications and Packages", "support": { "issues": "https://github.com/orchestral/canvas/issues", - "source": "https://github.com/orchestral/canvas/tree/v8.11.7" + "source": "https://github.com/orchestral/canvas/tree/v9.1.3" }, - "time": "2024-02-07T10:29:23+00:00" + "time": "2024-10-02T01:00:54+00:00" }, { "name": "orchestra/canvas-core", - "version": "v8.10.2", + "version": "v9.0.0", "source": { "type": "git", "url": "https://github.com/orchestral/canvas-core.git", - "reference": "3af8fb6b1ebd85903ba5d0e6df1c81aedacfedfc" + "reference": "3a29eecf324fe02e3e5628e422314b5cd1a80e48" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/canvas-core/zipball/3af8fb6b1ebd85903ba5d0e6df1c81aedacfedfc", - "reference": "3af8fb6b1ebd85903ba5d0e6df1c81aedacfedfc", + "url": "https://api.github.com/repos/orchestral/canvas-core/zipball/3a29eecf324fe02e3e5628e422314b5cd1a80e48", + "reference": "3a29eecf324fe02e3e5628e422314b5cd1a80e48", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", "composer/semver": "^3.0", - "illuminate/console": "^10.38.1", - "illuminate/filesystem": "^10.38.1", - "php": "^8.1", + "illuminate/console": "^11.0", + "illuminate/filesystem": "^11.0", + "php": "^8.2", "symfony/polyfill-php83": "^1.28" }, - "conflict": { - "orchestra/canvas": "<8.11.0", - "orchestra/testbench-core": "<8.2.0" - }, "require-dev": { - "laravel/framework": "^10.38.1", + "laravel/framework": "^11.0", "laravel/pint": "^1.6", "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.19", + "orchestra/testbench-core": "^9.0", "phpstan/phpstan": "^1.10.6", "phpunit/phpunit": "^10.1", - "symfony/yaml": "^6.2" + "symfony/yaml": "^7.0" }, "type": "library", "extra": { @@ -6650,35 +7130,35 @@ "description": "Code Generators Builder for Laravel Applications and Packages", "support": { "issues": "https://github.com/orchestral/canvas/issues", - "source": "https://github.com/orchestral/canvas-core/tree/v8.10.2" + "source": "https://github.com/orchestral/canvas-core/tree/v9.0.0" }, - "time": "2023-12-28T01:27:59+00:00" + "time": "2024-03-06T10:00:21+00:00" }, { "name": "orchestra/testbench", - "version": "v8.22.1", + "version": "v9.5.2", "source": { "type": "git", "url": "https://github.com/orchestral/testbench.git", - "reference": "2ab5afb6b4dbcc8ad132e60db4e6eb5f1069cb6d" + "reference": "bc404d840ffbb722bf0bbb042251ef83223482f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench/zipball/2ab5afb6b4dbcc8ad132e60db4e6eb5f1069cb6d", - "reference": "2ab5afb6b4dbcc8ad132e60db4e6eb5f1069cb6d", + "url": "https://api.github.com/repos/orchestral/testbench/zipball/bc404d840ffbb722bf0bbb042251ef83223482f9", + "reference": "bc404d840ffbb722bf0bbb042251ef83223482f9", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", - "fakerphp/faker": "^1.21", - "laravel/framework": "^10.40", - "mockery/mockery": "^1.5.1", - "orchestra/testbench-core": "^8.23.4", - "orchestra/workbench": "^1.4 || ^8.4", - "php": "^8.1", - "phpunit/phpunit": "^9.6 || ^10.1", - "symfony/process": "^6.2", - "symfony/yaml": "^6.2", + "fakerphp/faker": "^1.23", + "laravel/framework": "^11.11", + "mockery/mockery": "^1.6", + "orchestra/testbench-core": "^9.5.3", + "orchestra/workbench": "^9.6", + "php": "^8.2", + "phpunit/phpunit": "^10.5 || ^11.0.1", + "symfony/process": "^7.0", + "symfony/yaml": "^7.0", "vlucas/phpdotenv": "^5.4.1" }, "type": "library", @@ -6705,61 +7185,59 @@ ], "support": { "issues": "https://github.com/orchestral/testbench/issues", - "source": "https://github.com/orchestral/testbench/tree/v8.22.1" + "source": "https://github.com/orchestral/testbench/tree/v9.5.2" }, - "time": "2024-03-19T12:59:06+00:00" + "time": "2024-10-06T13:07:57+00:00" }, { "name": "orchestra/testbench-core", - "version": "v8.23.4", + "version": "v9.5.4", "source": { "type": "git", "url": "https://github.com/orchestral/testbench-core.git", - "reference": "a863b355bf73609121c1d2d08b3ffb8b27ecb8d0" + "reference": "9eb99ee55935da2178a471fd7d338c18164a7fbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/a863b355bf73609121c1d2d08b3ffb8b27ecb8d0", - "reference": "a863b355bf73609121c1d2d08b3ffb8b27ecb8d0", + "url": "https://api.github.com/repos/orchestral/testbench-core/zipball/9eb99ee55935da2178a471fd7d338c18164a7fbe", + "reference": "9eb99ee55935da2178a471fd7d338c18164a7fbe", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", - "php": "^8.1", + "php": "^8.2", "symfony/polyfill-php83": "^1.28" }, "conflict": { - "brianium/paratest": "<6.4.0 || >=7.0.0 <7.1.4 || >=8.0.0", - "laravel/framework": "<10.48.2 || >=11.0.0", - "nunomaduro/collision": "<6.4.0 || >=7.0.0 <7.4.0 || >=8.0.0", - "orchestra/testbench-dusk": "<8.21.0 || >=9.0.0", - "orchestra/workbench": "<1.0.0", - "phpunit/phpunit": "<9.6.0 || >=10.6.0" + "brianium/paratest": "<7.3.0 || >=8.0.0", + "laravel/framework": "<11.11.0 || >=12.0.0", + "laravel/serializable-closure": "<1.3.0 || >=2.0.0", + "nunomaduro/collision": "<8.0.0 || >=9.0.0", + "phpunit/phpunit": "<10.5.0 || 11.0.0 || >=11.5.0" }, "require-dev": { - "fakerphp/faker": "^1.21", - "laravel/framework": "^10.48.2", - "laravel/pint": "^1.6", - "mockery/mockery": "^1.5.1", - "phpstan/phpstan": "^1.10.7", - "phpunit/phpunit": "^10.1", - "spatie/laravel-ray": "^1.32.4", - "symfony/process": "^6.2", - "symfony/yaml": "^6.2", + "fakerphp/faker": "^1.23", + "laravel/framework": "^11.11", + "laravel/pint": "^1.17", + "mockery/mockery": "^1.6", + "phpstan/phpstan": "^1.11", + "phpunit/phpunit": "^10.5 || ^11.0.1", + "spatie/laravel-ray": "^1.35", + "symfony/process": "^7.0", + "symfony/yaml": "^7.0", "vlucas/phpdotenv": "^5.4.1" }, "suggest": { - "brianium/paratest": "Allow using parallel testing (^6.4 || ^7.1.4).", + "brianium/paratest": "Allow using parallel tresting (^7.3).", "ext-pcntl": "Required to use all features of the console signal trapping.", - "fakerphp/faker": "Allow using Faker for testing (^1.21).", - "laravel/framework": "Required for testing (^10.48.2).", - "mockery/mockery": "Allow using Mockery for testing (^1.5.1).", - "nunomaduro/collision": "Allow using Laravel style tests output and parallel testing (^6.4 || ^7.4).", - "orchestra/testbench-browser-kit": "Allow using legacy Laravel BrowserKit for testing (^8.0).", - "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^8.0).", - "phpunit/phpunit": "Allow using PHPUnit for testing (^9.6 || ^10.1).", - "symfony/process": "Required to use Orchestra\\Testbench\\remote function (^6.2).", - "symfony/yaml": "Required for Testbench CLI (^6.2).", + "fakerphp/faker": "Allow using Faker for testing (^1.23).", + "laravel/framework": "Required for testing (^11.11).", + "mockery/mockery": "Allow using Mockery for testing (^1.6).", + "nunomaduro/collision": "Allow using Laravel style tests output and parallel testing (^8.0).", + "orchestra/testbench-dusk": "Allow using Laravel Dusk for testing (^9.0).", + "phpunit/phpunit": "Allow using PHPUnit for testing (^10.5 || ^11.0).", + "symfony/process": "Required to use Orchestra\\Testbench\\remote function (^7.0).", + "symfony/yaml": "Required for Testbench CLI (^7.0).", "vlucas/phpdotenv": "Required for Testbench CLI (^5.4.1)." }, "bin": [ @@ -6799,50 +7277,48 @@ "issues": "https://github.com/orchestral/testbench/issues", "source": "https://github.com/orchestral/testbench-core" }, - "time": "2024-03-19T11:18:56+00:00" + "time": "2024-10-24T03:25:02+00:00" }, { "name": "orchestra/workbench", - "version": "v8.4.0", + "version": "v9.7.0", "source": { "type": "git", "url": "https://github.com/orchestral/workbench.git", - "reference": "7db7009377fd1afe25c783e9092af911cd04b3a9" + "reference": "1744d07bfeee488270039b3b21605f528c3b696d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/orchestral/workbench/zipball/7db7009377fd1afe25c783e9092af911cd04b3a9", - "reference": "7db7009377fd1afe25c783e9092af911cd04b3a9", + "url": "https://api.github.com/repos/orchestral/workbench/zipball/1744d07bfeee488270039b3b21605f528c3b696d", + "reference": "1744d07bfeee488270039b3b21605f528c3b696d", "shasum": "" }, "require": { "composer-runtime-api": "^2.2", - "fakerphp/faker": "^1.21", - "laravel/framework": "^10.38.1", - "laravel/tinker": "^2.8.2", - "orchestra/canvas": "^8.11.4", - "orchestra/testbench-core": "^8.22", - "php": "^8.1", - "spatie/laravel-ray": "^1.32.4", - "symfony/polyfill-php83": "^1.28", - "symfony/yaml": "^6.2" + "fakerphp/faker": "^1.23", + "laravel/framework": "^11.11", + "laravel/pail": "^1.2", + "laravel/tinker": "^2.9", + "nunomaduro/collision": "^8.0", + "orchestra/canvas": "^9.1", + "orchestra/testbench-core": "^9.5.3", + "php": "^8.2", + "spatie/laravel-ray": "^1.35", + "symfony/polyfill-php83": "^1.31", + "symfony/polyfill-php84": "^1.31", + "symfony/yaml": "^7.0.3" }, "require-dev": { - "laravel/pint": "^1.4", - "mockery/mockery": "^1.5.1", - "phpstan/phpstan": "^1.10.7", - "phpunit/phpunit": "^10.1", - "symfony/process": "^6.2" + "laravel/pint": "^1.17", + "mockery/mockery": "^1.6.10", + "phpstan/phpstan": "^1.11", + "phpunit/phpunit": "^10.5.35 || ^11.3.6", + "symfony/process": "^7.0.3" }, "suggest": { "ext-pcntl": "Required to use all features of the console signal trapping." }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "0.5.x-dev" - } - }, "autoload": { "psr-4": { "Orchestra\\Workbench\\": "src/" @@ -6867,42 +7343,44 @@ ], "support": { "issues": "https://github.com/orchestral/workbench/issues", - "source": "https://github.com/orchestral/workbench/tree/v8.4.0" + "source": "https://github.com/orchestral/workbench/tree/v9.7.0" }, - "time": "2024-03-13T06:02:29+00:00" + "time": "2024-10-24T06:22:45+00:00" }, { "name": "pestphp/pest", - "version": "v2.34.4", + "version": "v3.5.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest.git", - "reference": "6a1161ead830294ef8e21fab83c0bd118b0df7cc" + "reference": "eaeb133c77f3f5382620f0307c3b45b34961bcfc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest/zipball/6a1161ead830294ef8e21fab83c0bd118b0df7cc", - "reference": "6a1161ead830294ef8e21fab83c0bd118b0df7cc", + "url": "https://api.github.com/repos/pestphp/pest/zipball/eaeb133c77f3f5382620f0307c3b45b34961bcfc", + "reference": "eaeb133c77f3f5382620f0307c3b45b34961bcfc", "shasum": "" }, "require": { - "brianium/paratest": "^7.3.1", - "nunomaduro/collision": "^7.10.0|^8.1.1", - "nunomaduro/termwind": "^1.15.1|^2.0.1", - "pestphp/pest-plugin": "^2.1.1", - "pestphp/pest-plugin-arch": "^2.7.0", - "php": "^8.1.0", - "phpunit/phpunit": "^10.5.13" + "brianium/paratest": "^7.6.0", + "nunomaduro/collision": "^8.5.0", + "nunomaduro/termwind": "^2.2.0", + "pestphp/pest-plugin": "^3.0.0", + "pestphp/pest-plugin-arch": "^3.0.0", + "pestphp/pest-plugin-mutate": "^3.0.5", + "php": "^8.2.0", + "phpunit/phpunit": "^11.4.2" }, "conflict": { - "phpunit/phpunit": ">10.5.13", - "sebastian/exporter": "<5.1.0", + "filp/whoops": "<2.16.0", + "phpunit/phpunit": ">11.4.2", + "sebastian/exporter": "<6.0.0", "webmozart/assert": "<1.11.0" }, "require-dev": { - "pestphp/pest-dev-tools": "^2.16.0", - "pestphp/pest-plugin-type-coverage": "^2.8.1", - "symfony/process": "^6.4.0|^7.0.4" + "pestphp/pest-dev-tools": "^3.3.0", + "pestphp/pest-plugin-type-coverage": "^3.1.0", + "symfony/process": "^7.1.5" }, "bin": [ "bin/pest" @@ -6911,6 +7389,8 @@ "extra": { "pest": { "plugins": [ + "Pest\\Mutate\\Plugins\\Mutate", + "Pest\\Plugins\\Configuration", "Pest\\Plugins\\Bail", "Pest\\Plugins\\Cache", "Pest\\Plugins\\Coverage", @@ -6965,7 +7445,7 @@ ], "support": { "issues": "https://github.com/pestphp/pest/issues", - "source": "https://github.com/pestphp/pest/tree/v2.34.4" + "source": "https://github.com/pestphp/pest/tree/v3.5.0" }, "funding": [ { @@ -6977,34 +7457,34 @@ "type": "github" } ], - "time": "2024-03-14T19:44:18+00:00" + "time": "2024-10-22T14:33:27+00:00" }, { "name": "pestphp/pest-plugin", - "version": "v2.1.1", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest-plugin.git", - "reference": "e05d2859e08c2567ee38ce8b005d044e72648c0b" + "reference": "e79b26c65bc11c41093b10150c1341cc5cdbea83" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin/zipball/e05d2859e08c2567ee38ce8b005d044e72648c0b", - "reference": "e05d2859e08c2567ee38ce8b005d044e72648c0b", + "url": "https://api.github.com/repos/pestphp/pest-plugin/zipball/e79b26c65bc11c41093b10150c1341cc5cdbea83", + "reference": "e79b26c65bc11c41093b10150c1341cc5cdbea83", "shasum": "" }, "require": { "composer-plugin-api": "^2.0.0", "composer-runtime-api": "^2.2.2", - "php": "^8.1" + "php": "^8.2" }, "conflict": { - "pestphp/pest": "<2.2.3" + "pestphp/pest": "<3.0.0" }, "require-dev": { - "composer/composer": "^2.5.8", - "pestphp/pest": "^2.16.0", - "pestphp/pest-dev-tools": "^2.16.0" + "composer/composer": "^2.7.9", + "pestphp/pest": "^3.0.0", + "pestphp/pest-dev-tools": "^3.0.0" }, "type": "composer-plugin", "extra": { @@ -7031,7 +7511,7 @@ "unit" ], "support": { - "source": "https://github.com/pestphp/pest-plugin/tree/v2.1.1" + "source": "https://github.com/pestphp/pest-plugin/tree/v3.0.0" }, "funding": [ { @@ -7047,31 +7527,30 @@ "type": "patreon" } ], - "time": "2023-08-22T08:40:06+00:00" + "time": "2024-09-08T23:21:41+00:00" }, { "name": "pestphp/pest-plugin-arch", - "version": "v2.7.0", + "version": "v3.0.0", "source": { "type": "git", "url": "https://github.com/pestphp/pest-plugin-arch.git", - "reference": "d23b2d7498475354522c3818c42ef355dca3fcda" + "reference": "0a27e55a270cfe73d8cb70551b91002ee2cb64b0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/d23b2d7498475354522c3818c42ef355dca3fcda", - "reference": "d23b2d7498475354522c3818c42ef355dca3fcda", + "url": "https://api.github.com/repos/pestphp/pest-plugin-arch/zipball/0a27e55a270cfe73d8cb70551b91002ee2cb64b0", + "reference": "0a27e55a270cfe73d8cb70551b91002ee2cb64b0", "shasum": "" }, "require": { - "nunomaduro/collision": "^7.10.0|^8.1.0", - "pestphp/pest-plugin": "^2.1.1", - "php": "^8.1", + "pestphp/pest-plugin": "^3.0.0", + "php": "^8.2", "ta-tikoma/phpunit-architecture-test": "^0.8.4" }, "require-dev": { - "pestphp/pest": "^2.33.0", - "pestphp/pest-dev-tools": "^2.16.0" + "pestphp/pest": "^3.0.0", + "pestphp/pest-dev-tools": "^3.0.0" }, "type": "library", "extra": { @@ -7106,19 +7585,165 @@ "unit" ], "support": { - "source": "https://github.com/pestphp/pest-plugin-arch/tree/v2.7.0" + "source": "https://github.com/pestphp/pest-plugin-arch/tree/v3.0.0" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + } + ], + "time": "2024-09-08T23:23:55+00:00" + }, + { + "name": "pestphp/pest-plugin-laravel", + "version": "v3.0.0", + "source": { + "type": "git", + "url": "https://github.com/pestphp/pest-plugin-laravel.git", + "reference": "7dd98c0c3b3542970ec21fce80ec5c88916ac469" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pestphp/pest-plugin-laravel/zipball/7dd98c0c3b3542970ec21fce80ec5c88916ac469", + "reference": "7dd98c0c3b3542970ec21fce80ec5c88916ac469", + "shasum": "" + }, + "require": { + "laravel/framework": "^11.22.0", + "pestphp/pest": "^3.0.0", + "php": "^8.2.0" + }, + "require-dev": { + "laravel/dusk": "^8.2.5", + "orchestra/testbench": "^9.4.0", + "pestphp/pest-dev-tools": "^3.0.0" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Pest\\Laravel\\PestServiceProvider" + ] + }, + "pest": { + "plugins": [ + "Pest\\Laravel\\Plugin" + ] + } + }, + "autoload": { + "files": [ + "src/Autoload.php" + ], + "psr-4": { + "Pest\\Laravel\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "The Pest Laravel Plugin", + "keywords": [ + "framework", + "laravel", + "pest", + "php", + "test", + "testing", + "unit" + ], + "support": { + "source": "https://github.com/pestphp/pest-plugin-laravel/tree/v3.0.0" + }, + "funding": [ + { + "url": "https://www.paypal.com/paypalme/enunomaduro", + "type": "custom" + }, + { + "url": "https://github.com/nunomaduro", + "type": "github" + } + ], + "time": "2024-09-08T23:32:52+00:00" + }, + { + "name": "pestphp/pest-plugin-mutate", + "version": "v3.0.5", + "source": { + "type": "git", + "url": "https://github.com/pestphp/pest-plugin-mutate.git", + "reference": "e10dbdc98c9e2f3890095b4fe2144f63a5717e08" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/pestphp/pest-plugin-mutate/zipball/e10dbdc98c9e2f3890095b4fe2144f63a5717e08", + "reference": "e10dbdc98c9e2f3890095b4fe2144f63a5717e08", + "shasum": "" + }, + "require": { + "nikic/php-parser": "^5.2.0", + "pestphp/pest-plugin": "^3.0.0", + "php": "^8.2", + "psr/simple-cache": "^3.0.0" + }, + "require-dev": { + "pestphp/pest": "^3.0.8", + "pestphp/pest-dev-tools": "^3.0.0", + "pestphp/pest-plugin-type-coverage": "^3.0.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Pest\\Mutate\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Sandro Gehri", + "email": "sandrogehri@gmail.com" + } + ], + "description": "Mutates your code to find untested cases", + "keywords": [ + "framework", + "mutate", + "mutation", + "pest", + "php", + "plugin", + "test", + "testing", + "unit" + ], + "support": { + "source": "https://github.com/pestphp/pest-plugin-mutate/tree/v3.0.5" }, "funding": [ { "url": "https://www.paypal.com/paypalme/enunomaduro", "type": "custom" }, + { + "url": "https://github.com/gehrisandro", + "type": "github" + }, { "url": "https://github.com/nunomaduro", "type": "github" } ], - "time": "2024-01-26T09:46:42+00:00" + "time": "2024-09-22T07:54:40+00:00" }, { "name": "phar-io/manifest", @@ -7174,69 +7799,197 @@ "role": "Developer" } ], - "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "description": "Component for reading phar.io manifest information from a PHP Archive (PHAR)", + "support": { + "issues": "https://github.com/phar-io/manifest/issues", + "source": "https://github.com/phar-io/manifest/tree/2.0.4" + }, + "funding": [ + { + "url": "https://github.com/theseer", + "type": "github" + } + ], + "time": "2024-03-03T12:33:53+00:00" + }, + { + "name": "phar-io/version", + "version": "3.2.1", + "source": { + "type": "git", + "url": "https://github.com/phar-io/version.git", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "shasum": "" + }, + "require": { + "php": "^7.2 || ^8.0" + }, + "type": "library", + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ + { + "name": "Arne Blankerts", + "email": "arne@blankerts.de", + "role": "Developer" + }, + { + "name": "Sebastian Heuer", + "email": "sebastian@phpeople.de", + "role": "Developer" + }, + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "Developer" + } + ], + "description": "Library for handling version information and constraints", + "support": { + "issues": "https://github.com/phar-io/version/issues", + "source": "https://github.com/phar-io/version/tree/3.2.1" + }, + "time": "2022-02-21T01:04:05+00:00" + }, + { + "name": "php-di/invoker", + "version": "2.3.4", + "source": { + "type": "git", + "url": "https://github.com/PHP-DI/Invoker.git", + "reference": "33234b32dafa8eb69202f950a1fc92055ed76a86" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/33234b32dafa8eb69202f950a1fc92055ed76a86", + "reference": "33234b32dafa8eb69202f950a1fc92055ed76a86", + "shasum": "" + }, + "require": { + "php": ">=7.3", + "psr/container": "^1.0|^2.0" + }, + "require-dev": { + "athletic/athletic": "~0.1.8", + "mnapoli/hard-mode": "~0.3.0", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Invoker\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Generic and extensible callable invoker", + "homepage": "https://github.com/PHP-DI/Invoker", + "keywords": [ + "callable", + "dependency", + "dependency-injection", + "injection", + "invoke", + "invoker" + ], "support": { - "issues": "https://github.com/phar-io/manifest/issues", - "source": "https://github.com/phar-io/manifest/tree/2.0.4" + "issues": "https://github.com/PHP-DI/Invoker/issues", + "source": "https://github.com/PHP-DI/Invoker/tree/2.3.4" }, "funding": [ { - "url": "https://github.com/theseer", + "url": "https://github.com/mnapoli", "type": "github" } ], - "time": "2024-03-03T12:33:53+00:00" + "time": "2023-09-08T09:24:21+00:00" }, { - "name": "phar-io/version", - "version": "3.2.1", + "name": "php-di/php-di", + "version": "7.0.7", "source": { "type": "git", - "url": "https://github.com/phar-io/version.git", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74" + "url": "https://github.com/PHP-DI/PHP-DI.git", + "reference": "e87435e3c0e8f22977adc5af0d5cdcc467e15cf1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phar-io/version/zipball/4f7fd7836c6f332bb2933569e566a0d6c4cbed74", - "reference": "4f7fd7836c6f332bb2933569e566a0d6c4cbed74", + "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/e87435e3c0e8f22977adc5af0d5cdcc467e15cf1", + "reference": "e87435e3c0e8f22977adc5af0d5cdcc467e15cf1", "shasum": "" }, "require": { - "php": "^7.2 || ^8.0" + "laravel/serializable-closure": "^1.0", + "php": ">=8.0", + "php-di/invoker": "^2.0", + "psr/container": "^1.1 || ^2.0" + }, + "provide": { + "psr/container-implementation": "^1.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3", + "friendsofphp/proxy-manager-lts": "^1", + "mnapoli/phpunit-easymock": "^1.3", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^4.6" + }, + "suggest": { + "friendsofphp/proxy-manager-lts": "Install it if you want to use lazy injection (version ^1)" }, "type": "library", "autoload": { - "classmap": [ - "src/" - ] + "files": [ + "src/functions.php" + ], + "psr-4": { + "DI\\": "src/" + } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "BSD-3-Clause" + "MIT" ], - "authors": [ - { - "name": "Arne Blankerts", - "email": "arne@blankerts.de", - "role": "Developer" - }, + "description": "The dependency injection container for humans", + "homepage": "https://php-di.org/", + "keywords": [ + "PSR-11", + "container", + "container-interop", + "dependency injection", + "di", + "ioc", + "psr11" + ], + "support": { + "issues": "https://github.com/PHP-DI/PHP-DI/issues", + "source": "https://github.com/PHP-DI/PHP-DI/tree/7.0.7" + }, + "funding": [ { - "name": "Sebastian Heuer", - "email": "sebastian@phpeople.de", - "role": "Developer" + "url": "https://github.com/mnapoli", + "type": "github" }, { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "Developer" + "url": "https://tidelift.com/funding/github/packagist/php-di/php-di", + "type": "tidelift" } ], - "description": "Library for handling version information and constraints", - "support": { - "issues": "https://github.com/phar-io/version/issues", - "source": "https://github.com/phar-io/version/tree/3.2.1" - }, - "time": "2022-02-21T01:04:05+00:00" + "time": "2024-07-21T15:55:45+00:00" }, { "name": "phpdocumentor/reflection-common", @@ -7293,28 +8046,35 @@ }, { "name": "phpdocumentor/reflection-docblock", - "version": "5.3.0", + "version": "5.4.1", "source": { "type": "git", "url": "https://github.com/phpDocumentor/ReflectionDocBlock.git", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170" + "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/622548b623e81ca6d78b721c5e029f4ce664f170", - "reference": "622548b623e81ca6d78b721c5e029f4ce664f170", + "url": "https://api.github.com/repos/phpDocumentor/ReflectionDocBlock/zipball/9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c", + "reference": "9d07b3f7fdcf5efec5d1609cba3c19c5ea2bdc9c", "shasum": "" }, "require": { + "doctrine/deprecations": "^1.1", "ext-filter": "*", - "php": "^7.2 || ^8.0", + "php": "^7.4 || ^8.0", "phpdocumentor/reflection-common": "^2.2", - "phpdocumentor/type-resolver": "^1.3", + "phpdocumentor/type-resolver": "^1.7", + "phpstan/phpdoc-parser": "^1.7", "webmozart/assert": "^1.9.1" }, "require-dev": { - "mockery/mockery": "~1.3.2", - "psalm/phar": "^4.8" + "mockery/mockery": "~1.3.5", + "phpstan/extension-installer": "^1.1", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-mockery": "^1.1", + "phpstan/phpstan-webmozart-assert": "^1.2", + "phpunit/phpunit": "^9.5", + "vimeo/psalm": "^5.13" }, "type": "library", "extra": { @@ -7338,15 +8098,15 @@ }, { "name": "Jaap van Otterdijk", - "email": "account@ijaap.nl" + "email": "opensource@ijaap.nl" } ], "description": "With this component, a library can provide support for annotations via DocBlocks or otherwise retrieve information that is embedded in a DocBlock.", "support": { "issues": "https://github.com/phpDocumentor/ReflectionDocBlock/issues", - "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.3.0" + "source": "https://github.com/phpDocumentor/ReflectionDocBlock/tree/5.4.1" }, - "time": "2021-10-19T17:43:47+00:00" + "time": "2024-05-21T05:55:05+00:00" }, { "name": "phpdocumentor/type-resolver", @@ -7408,16 +8168,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.26.0", + "version": "1.33.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "231e3186624c03d7e7c890ec662b81e6b0405227" + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/231e3186624c03d7e7c890ec662b81e6b0405227", - "reference": "231e3186624c03d7e7c890ec662b81e6b0405227", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/82a311fd3690fb2bf7b64d5c98f912b3dd746140", + "reference": "82a311fd3690fb2bf7b64d5c98f912b3dd746140", "shasum": "" }, "require": { @@ -7449,22 +8209,22 @@ "description": "PHPDoc parser with support for nullable, intersection and generic types", "support": { "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.26.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.33.0" }, - "time": "2024-02-23T16:05:55+00:00" + "time": "2024-10-13T11:25:22+00:00" }, { "name": "phpstan/phpstan", - "version": "1.10.63", + "version": "1.12.7", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan.git", - "reference": "ad12836d9ca227301f5fb9960979574ed8628339" + "reference": "dc2b9976bd8b0f84ec9b0e50cc35378551de7af0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan/zipball/ad12836d9ca227301f5fb9960979574ed8628339", - "reference": "ad12836d9ca227301f5fb9960979574ed8628339", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/dc2b9976bd8b0f84ec9b0e50cc35378551de7af0", + "reference": "dc2b9976bd8b0f84ec9b0e50cc35378551de7af0", "shasum": "" }, "require": { @@ -7507,31 +8267,27 @@ { "url": "https://github.com/phpstan", "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", - "type": "tidelift" } ], - "time": "2024-03-18T16:53:53+00:00" + "time": "2024-10-18T11:12:07+00:00" }, { "name": "phpstan/phpstan-phpunit", - "version": "1.3.16", + "version": "1.4.0", "source": { "type": "git", "url": "https://github.com/phpstan/phpstan-phpunit.git", - "reference": "d5242a59d035e46774f2e634b374bc39ff62cb95" + "reference": "f3ea021866f4263f07ca3636bf22c64be9610c11" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/d5242a59d035e46774f2e634b374bc39ff62cb95", - "reference": "d5242a59d035e46774f2e634b374bc39ff62cb95", + "url": "https://api.github.com/repos/phpstan/phpstan-phpunit/zipball/f3ea021866f4263f07ca3636bf22c64be9610c11", + "reference": "f3ea021866f4263f07ca3636bf22c64be9610c11", "shasum": "" }, "require": { "php": "^7.2 || ^8.0", - "phpstan/phpstan": "^1.10" + "phpstan/phpstan": "^1.11" }, "conflict": { "phpunit/phpunit": "<7.0" @@ -7563,41 +8319,41 @@ "description": "PHPUnit extensions and rules for PHPStan", "support": { "issues": "https://github.com/phpstan/phpstan-phpunit/issues", - "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.3.16" + "source": "https://github.com/phpstan/phpstan-phpunit/tree/1.4.0" }, - "time": "2024-02-23T09:51:20+00:00" + "time": "2024-04-20T06:39:00+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "10.1.14", + "version": "11.0.7", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b" + "reference": "f7f08030e8811582cc459871d28d6f5a1a4d35ca" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", - "reference": "e3f51450ebffe8e0efdf7346ae966a656f7d5e5b", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/f7f08030e8811582cc459871d28d6f5a1a4d35ca", + "reference": "f7f08030e8811582cc459871d28d6f5a1a4d35ca", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-text-template": "^3.0", - "sebastian/code-unit-reverse-lookup": "^3.0", - "sebastian/complexity": "^3.0", - "sebastian/environment": "^6.0", - "sebastian/lines-of-code": "^2.0", - "sebastian/version": "^4.0", - "theseer/tokenizer": "^1.2.0" + "nikic/php-parser": "^5.3.1", + "php": ">=8.2", + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-text-template": "^4.0.1", + "sebastian/code-unit-reverse-lookup": "^4.0.1", + "sebastian/complexity": "^4.0.1", + "sebastian/environment": "^7.2.0", + "sebastian/lines-of-code": "^3.0.1", + "sebastian/version": "^5.0.2", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^10.1" + "phpunit/phpunit": "^11.4.1" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -7606,7 +8362,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "10.1-dev" + "dev-main": "11.0.x-dev" } }, "autoload": { @@ -7635,7 +8391,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/10.1.14" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/11.0.7" }, "funding": [ { @@ -7643,32 +8399,32 @@ "type": "github" } ], - "time": "2024-03-12T15:33:41+00:00" + "time": "2024-10-09T06:21:38+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "4.1.0", + "version": "5.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c" + "reference": "118cfaaa8bc5aef3287bf315b6060b1174754af6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/a95037b6d9e608ba092da1b23931e537cadc3c3c", - "reference": "a95037b6d9e608ba092da1b23931e537cadc3c3c", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/118cfaaa8bc5aef3287bf315b6060b1174754af6", + "reference": "118cfaaa8bc5aef3287bf315b6060b1174754af6", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -7696,7 +8452,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/4.1.0" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/5.1.0" }, "funding": [ { @@ -7704,28 +8460,28 @@ "type": "github" } ], - "time": "2023-08-31T06:24:48+00:00" + "time": "2024-08-27T05:02:59+00:00" }, { "name": "phpunit/php-invoker", - "version": "4.0.0", + "version": "5.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7" + "reference": "c1ca3814734c07492b3d4c5f794f4b0995333da2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", - "reference": "f5e568ba02fa5ba0ddd0f618391d5a9ea50b06d7", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/c1ca3814734c07492b3d4c5f794f4b0995333da2", + "reference": "c1ca3814734c07492b3d4c5f794f4b0995333da2", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "suggest": { "ext-pcntl": "*" @@ -7733,7 +8489,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -7759,7 +8515,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/4.0.0" + "security": "https://github.com/sebastianbergmann/php-invoker/security/policy", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/5.0.1" }, "funding": [ { @@ -7767,32 +8524,32 @@ "type": "github" } ], - "time": "2023-02-03T06:56:09+00:00" + "time": "2024-07-03T05:07:44+00:00" }, { "name": "phpunit/php-text-template", - "version": "3.0.1", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748" + "reference": "3e0404dc6b300e6bf56415467ebcb3fe4f33e964" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/0c7b06ff49e3d5072f057eb1fa59258bf287a748", - "reference": "0c7b06ff49e3d5072f057eb1fa59258bf287a748", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/3e0404dc6b300e6bf56415467ebcb3fe4f33e964", + "reference": "3e0404dc6b300e6bf56415467ebcb3fe4f33e964", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -7819,7 +8576,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/3.0.1" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/4.0.1" }, "funding": [ { @@ -7827,32 +8584,32 @@ "type": "github" } ], - "time": "2023-08-31T14:07:24+00:00" + "time": "2024-07-03T05:08:43+00:00" }, { "name": "phpunit/php-timer", - "version": "6.0.0", + "version": "7.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d" + "reference": "3b415def83fbcb41f991d9ebf16ae4ad8b7837b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e2a2d67966e740530f4a3343fe2e030ffdc1161d", - "reference": "e2a2d67966e740530f4a3343fe2e030ffdc1161d", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/3b415def83fbcb41f991d9ebf16ae4ad8b7837b3", + "reference": "3b415def83fbcb41f991d9ebf16ae4ad8b7837b3", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-main": "7.0-dev" } }, "autoload": { @@ -7878,7 +8635,8 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/6.0.0" + "security": "https://github.com/sebastianbergmann/php-timer/security/policy", + "source": "https://github.com/sebastianbergmann/php-timer/tree/7.0.1" }, "funding": [ { @@ -7886,20 +8644,20 @@ "type": "github" } ], - "time": "2023-02-03T06:57:52+00:00" + "time": "2024-07-03T05:09:35+00:00" }, { "name": "phpunit/phpunit", - "version": "10.5.13", + "version": "11.4.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "20a63fc1c6db29b15da3bd02d4b6cf59900088a7" + "reference": "1863643c3f04ad03dcb9c6996c294784cdda4805" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/20a63fc1c6db29b15da3bd02d4b6cf59900088a7", - "reference": "20a63fc1c6db29b15da3bd02d4b6cf59900088a7", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/1863643c3f04ad03dcb9c6996c294784cdda4805", + "reference": "1863643c3f04ad03dcb9c6996c294784cdda4805", "shasum": "" }, "require": { @@ -7908,260 +8666,98 @@ "ext-libxml": "*", "ext-mbstring": "*", "ext-xml": "*", - "ext-xmlwriter": "*", - "myclabs/deep-copy": "^1.10.1", - "phar-io/manifest": "^2.0.3", - "phar-io/version": "^3.0.2", - "php": ">=8.1", - "phpunit/php-code-coverage": "^10.1.5", - "phpunit/php-file-iterator": "^4.0", - "phpunit/php-invoker": "^4.0", - "phpunit/php-text-template": "^3.0", - "phpunit/php-timer": "^6.0", - "sebastian/cli-parser": "^2.0", - "sebastian/code-unit": "^2.0", - "sebastian/comparator": "^5.0", - "sebastian/diff": "^5.0", - "sebastian/environment": "^6.0", - "sebastian/exporter": "^5.1", - "sebastian/global-state": "^6.0.1", - "sebastian/object-enumerator": "^5.0", - "sebastian/recursion-context": "^5.0", - "sebastian/type": "^4.0", - "sebastian/version": "^4.0" - }, - "suggest": { - "ext-soap": "To be able to generate mocks based on WSDL files" - }, - "bin": [ - "phpunit" - ], - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "10.5-dev" - } - }, - "autoload": { - "files": [ - "src/Framework/Assert/Functions.php" - ], - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "The PHP Unit Testing framework.", - "homepage": "https://phpunit.de/", - "keywords": [ - "phpunit", - "testing", - "xunit" - ], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/10.5.13" - }, - "funding": [ - { - "url": "https://phpunit.de/sponsors.html", - "type": "custom" - }, - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", - "type": "tidelift" - } - ], - "time": "2024-03-12T15:37:41+00:00" - }, - { - "name": "pimple/pimple", - "version": "v3.5.0", - "source": { - "type": "git", - "url": "https://github.com/silexphp/Pimple.git", - "reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/silexphp/Pimple/zipball/a94b3a4db7fb774b3d78dad2315ddc07629e1bed", - "reference": "a94b3a4db7fb774b3d78dad2315ddc07629e1bed", - "shasum": "" - }, - "require": { - "php": ">=7.2.5", - "psr/container": "^1.1 || ^2.0" - }, - "require-dev": { - "symfony/phpunit-bridge": "^5.4@dev" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.4.x-dev" - } - }, - "autoload": { - "psr-0": { - "Pimple": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Fabien Potencier", - "email": "fabien@symfony.com" - } - ], - "description": "Pimple, a simple Dependency Injection Container", - "homepage": "https://pimple.symfony.com", - "keywords": [ - "container", - "dependency injection" - ], - "support": { - "source": "https://github.com/silexphp/Pimple/tree/v3.5.0" - }, - "time": "2021-10-28T11:13:42+00:00" - }, - { - "name": "psr/http-factory", - "version": "1.0.2", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-factory.git", - "reference": "e616d01114759c4c489f93b099585439f795fe35" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/e616d01114759c4c489f93b099585439f795fe35", - "reference": "e616d01114759c4c489f93b099585439f795fe35", - "shasum": "" - }, - "require": { - "php": ">=7.0.0", - "psr/http-message": "^1.0 || ^2.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - } - }, - "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" - } - ], - "description": "Common interfaces for PSR-7 HTTP message factories", - "keywords": [ - "factory", - "http", - "message", - "psr", - "psr-17", - "psr-7", - "request", - "response" - ], - "support": { - "source": "https://github.com/php-fig/http-factory/tree/1.0.2" - }, - "time": "2023-04-10T20:10:41+00:00" - }, - { - "name": "psr/http-message", - "version": "2.0", - "source": { - "type": "git", - "url": "https://github.com/php-fig/http-message.git", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71", - "shasum": "" + "ext-xmlwriter": "*", + "myclabs/deep-copy": "^1.12.0", + "phar-io/manifest": "^2.0.4", + "phar-io/version": "^3.2.1", + "php": ">=8.2", + "phpunit/php-code-coverage": "^11.0.7", + "phpunit/php-file-iterator": "^5.1.0", + "phpunit/php-invoker": "^5.0.1", + "phpunit/php-text-template": "^4.0.1", + "phpunit/php-timer": "^7.0.1", + "sebastian/cli-parser": "^3.0.2", + "sebastian/code-unit": "^3.0.1", + "sebastian/comparator": "^6.1.1", + "sebastian/diff": "^6.0.2", + "sebastian/environment": "^7.2.0", + "sebastian/exporter": "^6.1.3", + "sebastian/global-state": "^7.0.2", + "sebastian/object-enumerator": "^6.0.1", + "sebastian/type": "^5.1.0", + "sebastian/version": "^5.0.2" }, - "require": { - "php": "^7.2 || ^8.0" + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files" }, + "bin": [ + "phpunit" + ], "type": "library", "extra": { "branch-alias": { - "dev-master": "2.0.x-dev" + "dev-main": "11.4-dev" } }, "autoload": { - "psr-4": { - "Psr\\Http\\Message\\": "src/" - } + "files": [ + "src/Framework/Assert/Functions.php" + ], + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" } ], - "description": "Common interface for HTTP messages", - "homepage": "https://github.com/php-fig/http-message", + "description": "The PHP Unit Testing framework.", + "homepage": "https://phpunit.de/", "keywords": [ - "http", - "http-message", - "psr", - "psr-7", - "request", - "response" + "phpunit", + "testing", + "xunit" ], "support": { - "source": "https://github.com/php-fig/http-message/tree/2.0" + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "security": "https://github.com/sebastianbergmann/phpunit/security/policy", + "source": "https://github.com/sebastianbergmann/phpunit/tree/11.4.2" }, - "time": "2023-04-04T09:54:51+00:00" + "funding": [ + { + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" + } + ], + "time": "2024-10-19T13:05:19+00:00" }, { "name": "psy/psysh", - "version": "v0.12.2", + "version": "v0.12.4", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d" + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/9185c66c2165bbf4d71de78a69dccf4974f9538d", - "reference": "9185c66c2165bbf4d71de78a69dccf4974f9538d", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/2fd717afa05341b4f8152547f142cd2f130f6818", + "reference": "2fd717afa05341b4f8152547f142cd2f130f6818", "shasum": "" }, "require": { @@ -8225,71 +8821,27 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.12.2" - }, - "time": "2024-03-17T01:53:00+00:00" - }, - { - "name": "ralouphie/getallheaders", - "version": "3.0.3", - "source": { - "type": "git", - "url": "https://github.com/ralouphie/getallheaders.git", - "reference": "120b605dfeb996808c31b6477290a714d356e822" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", - "reference": "120b605dfeb996808c31b6477290a714d356e822", - "shasum": "" - }, - "require": { - "php": ">=5.6" - }, - "require-dev": { - "php-coveralls/php-coveralls": "^2.1", - "phpunit/phpunit": "^5 || ^6.5" - }, - "type": "library", - "autoload": { - "files": [ - "src/getallheaders.php" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Ralph Khattar", - "email": "ralph.khattar@gmail.com" - } - ], - "description": "A polyfill for getallheaders.", - "support": { - "issues": "https://github.com/ralouphie/getallheaders/issues", - "source": "https://github.com/ralouphie/getallheaders/tree/develop" + "source": "https://github.com/bobthecow/psysh/tree/v0.12.4" }, - "time": "2019-03-08T08:55:37+00:00" + "time": "2024-06-10T01:18:23+00:00" }, { "name": "rector/rector", - "version": "1.0.3", + "version": "1.2.8", "source": { "type": "git", "url": "https://github.com/rectorphp/rector.git", - "reference": "c59507a9090b465d65e1aceed91e5b81986e375b" + "reference": "05755bf43617449c08ee8e50fb840c85ad3b1240" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/rectorphp/rector/zipball/c59507a9090b465d65e1aceed91e5b81986e375b", - "reference": "c59507a9090b465d65e1aceed91e5b81986e375b", + "url": "https://api.github.com/repos/rectorphp/rector/zipball/05755bf43617449c08ee8e50fb840c85ad3b1240", + "reference": "05755bf43617449c08ee8e50fb840c85ad3b1240", "shasum": "" }, "require": { "php": "^7.2|^8.0", - "phpstan/phpstan": "^1.10.57" + "phpstan/phpstan": "^1.12.5" }, "conflict": { "rector/rector-doctrine": "*", @@ -8297,6 +8849,9 @@ "rector/rector-phpunit": "*", "rector/rector-symfony": "*" }, + "suggest": { + "ext-dom": "To manipulate phpunit.xml via the custom-rule command" + }, "bin": [ "bin/rector" ], @@ -8319,7 +8874,7 @@ ], "support": { "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/1.0.3" + "source": "https://github.com/rectorphp/rector/tree/1.2.8" }, "funding": [ { @@ -8327,32 +8882,32 @@ "type": "github" } ], - "time": "2024-03-14T15:04:18+00:00" + "time": "2024-10-18T11:54:27+00:00" }, { "name": "sebastian/cli-parser", - "version": "2.0.1", + "version": "3.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084" + "reference": "15c5dd40dc4f38794d383bb95465193f5e0ae180" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/c34583b87e7b7a8055bf6c450c2c77ce32a24084", - "reference": "c34583b87e7b7a8055bf6c450c2c77ce32a24084", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/15c5dd40dc4f38794d383bb95465193f5e0ae180", + "reference": "15c5dd40dc4f38794d383bb95465193f5e0ae180", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -8376,7 +8931,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/2.0.1" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/3.0.2" }, "funding": [ { @@ -8384,32 +8939,32 @@ "type": "github" } ], - "time": "2024-03-02T07:12:49+00:00" + "time": "2024-07-03T04:41:36+00:00" }, { "name": "sebastian/code-unit", - "version": "2.0.0", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit.git", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503" + "reference": "6bb7d09d6623567178cf54126afa9c2310114268" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/a81fee9eef0b7a76af11d121767abc44c104e503", - "reference": "a81fee9eef0b7a76af11d121767abc44c104e503", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/6bb7d09d6623567178cf54126afa9c2310114268", + "reference": "6bb7d09d6623567178cf54126afa9c2310114268", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -8432,7 +8987,8 @@ "homepage": "https://github.com/sebastianbergmann/code-unit", "support": { "issues": "https://github.com/sebastianbergmann/code-unit/issues", - "source": "https://github.com/sebastianbergmann/code-unit/tree/2.0.0" + "security": "https://github.com/sebastianbergmann/code-unit/security/policy", + "source": "https://github.com/sebastianbergmann/code-unit/tree/3.0.1" }, "funding": [ { @@ -8440,32 +8996,32 @@ "type": "github" } ], - "time": "2023-02-03T06:58:43+00:00" + "time": "2024-07-03T04:44:28+00:00" }, { "name": "sebastian/code-unit-reverse-lookup", - "version": "3.0.0", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d" + "reference": "183a9b2632194febd219bb9246eee421dad8d45e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", - "reference": "5e3a687f7d8ae33fb362c5c0743794bbb2420a1d", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/183a9b2632194febd219bb9246eee421dad8d45e", + "reference": "183a9b2632194febd219bb9246eee421dad8d45e", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -8487,7 +9043,8 @@ "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", "support": { "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", - "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/3.0.0" + "security": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/security/policy", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/4.0.1" }, "funding": [ { @@ -8495,36 +9052,36 @@ "type": "github" } ], - "time": "2023-02-03T06:59:15+00:00" + "time": "2024-07-03T04:45:54+00:00" }, { "name": "sebastian/comparator", - "version": "5.0.1", + "version": "6.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372" + "reference": "5ef523a49ae7a302b87b2102b72b1eda8918d686" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/2db5010a484d53ebf536087a70b4a5423c102372", - "reference": "2db5010a484d53ebf536087a70b4a5423c102372", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/5ef523a49ae7a302b87b2102b72b1eda8918d686", + "reference": "5ef523a49ae7a302b87b2102b72b1eda8918d686", "shasum": "" }, "require": { "ext-dom": "*", "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/diff": "^5.0", - "sebastian/exporter": "^5.0" + "php": ">=8.2", + "sebastian/diff": "^6.0", + "sebastian/exporter": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^10.3" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "6.1-dev" } }, "autoload": { @@ -8564,7 +9121,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/5.0.1" + "source": "https://github.com/sebastianbergmann/comparator/tree/6.1.1" }, "funding": [ { @@ -8572,33 +9129,33 @@ "type": "github" } ], - "time": "2023-08-14T13:18:12+00:00" + "time": "2024-10-18T15:00:48+00:00" }, { "name": "sebastian/complexity", - "version": "3.2.0", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "68ff824baeae169ec9f2137158ee529584553799" + "reference": "ee41d384ab1906c68852636b6de493846e13e5a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/68ff824baeae169ec9f2137158ee529584553799", - "reference": "68ff824baeae169ec9f2137158ee529584553799", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/ee41d384ab1906c68852636b6de493846e13e5a0", + "reference": "ee41d384ab1906c68852636b6de493846e13e5a0", "shasum": "" }, "require": { - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "nikic/php-parser": "^5.0", + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.2-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -8622,7 +9179,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", "security": "https://github.com/sebastianbergmann/complexity/security/policy", - "source": "https://github.com/sebastianbergmann/complexity/tree/3.2.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/4.0.1" }, "funding": [ { @@ -8630,33 +9187,33 @@ "type": "github" } ], - "time": "2023-12-21T08:37:17+00:00" + "time": "2024-07-03T04:49:50+00:00" }, { "name": "sebastian/diff", - "version": "5.1.1", + "version": "6.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e" + "reference": "b4ccd857127db5d41a5b676f24b51371d76d8544" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/c41e007b4b62af48218231d6c2275e4c9b975b2e", - "reference": "c41e007b4b62af48218231d6c2275e4c9b975b2e", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/b4ccd857127db5d41a5b676f24b51371d76d8544", + "reference": "b4ccd857127db5d41a5b676f24b51371d76d8544", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0", - "symfony/process": "^6.4" + "phpunit/phpunit": "^11.0", + "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -8689,7 +9246,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/5.1.1" + "source": "https://github.com/sebastianbergmann/diff/tree/6.0.2" }, "funding": [ { @@ -8697,27 +9254,27 @@ "type": "github" } ], - "time": "2024-03-02T07:15:17+00:00" + "time": "2024-07-03T04:53:05+00:00" }, { "name": "sebastian/environment", - "version": "6.0.1", + "version": "7.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951" + "reference": "855f3ae0ab316bbafe1ba4e16e9f3c078d24a0c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/43c751b41d74f96cbbd4e07b7aec9675651e2951", - "reference": "43c751b41d74f96cbbd4e07b7aec9675651e2951", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/855f3ae0ab316bbafe1ba4e16e9f3c078d24a0c5", + "reference": "855f3ae0ab316bbafe1ba4e16e9f3c078d24a0c5", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "suggest": { "ext-posix": "*" @@ -8725,7 +9282,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-main": "7.2-dev" } }, "autoload": { @@ -8753,7 +9310,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", "security": "https://github.com/sebastianbergmann/environment/security/policy", - "source": "https://github.com/sebastianbergmann/environment/tree/6.0.1" + "source": "https://github.com/sebastianbergmann/environment/tree/7.2.0" }, "funding": [ { @@ -8761,34 +9318,34 @@ "type": "github" } ], - "time": "2023-04-11T05:39:26+00:00" + "time": "2024-07-03T04:54:44+00:00" }, { "name": "sebastian/exporter", - "version": "5.1.2", + "version": "6.1.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "955288482d97c19a372d3f31006ab3f37da47adf" + "reference": "c414673eee9a8f9d51bbf8d61fc9e3ef1e85b20e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/955288482d97c19a372d3f31006ab3f37da47adf", - "reference": "955288482d97c19a372d3f31006ab3f37da47adf", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c414673eee9a8f9d51bbf8d61fc9e3ef1e85b20e", + "reference": "c414673eee9a8f9d51bbf8d61fc9e3ef1e85b20e", "shasum": "" }, "require": { "ext-mbstring": "*", - "php": ">=8.1", - "sebastian/recursion-context": "^5.0" + "php": ">=8.2", + "sebastian/recursion-context": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.1-dev" + "dev-main": "6.1-dev" } }, "autoload": { @@ -8831,7 +9388,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/5.1.2" + "source": "https://github.com/sebastianbergmann/exporter/tree/6.1.3" }, "funding": [ { @@ -8839,35 +9396,35 @@ "type": "github" } ], - "time": "2024-03-02T07:17:12+00:00" + "time": "2024-07-03T04:56:19+00:00" }, { "name": "sebastian/global-state", - "version": "6.0.2", + "version": "7.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9" + "reference": "3be331570a721f9a4b5917f4209773de17f747d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", - "reference": "987bafff24ecc4c9ac418cab1145b96dd6e9cbd9", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/3be331570a721f9a4b5917f4209773de17f747d7", + "reference": "3be331570a721f9a4b5917f4209773de17f747d7", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=8.2", + "sebastian/object-reflector": "^4.0", + "sebastian/recursion-context": "^6.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-main": "7.0-dev" } }, "autoload": { @@ -8893,7 +9450,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", "security": "https://github.com/sebastianbergmann/global-state/security/policy", - "source": "https://github.com/sebastianbergmann/global-state/tree/6.0.2" + "source": "https://github.com/sebastianbergmann/global-state/tree/7.0.2" }, "funding": [ { @@ -8901,33 +9458,33 @@ "type": "github" } ], - "time": "2024-03-02T07:19:19+00:00" + "time": "2024-07-03T04:57:36+00:00" }, { "name": "sebastian/lines-of-code", - "version": "2.0.2", + "version": "3.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0" + "reference": "d36ad0d782e5756913e42ad87cb2890f4ffe467a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/856e7f6a75a84e339195d48c556f23be2ebf75d0", - "reference": "856e7f6a75a84e339195d48c556f23be2ebf75d0", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/d36ad0d782e5756913e42ad87cb2890f4ffe467a", + "reference": "d36ad0d782e5756913e42ad87cb2890f4ffe467a", "shasum": "" }, "require": { - "nikic/php-parser": "^4.18 || ^5.0", - "php": ">=8.1" + "nikic/php-parser": "^5.0", + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "2.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -8951,7 +9508,7 @@ "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/2.0.2" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/3.0.1" }, "funding": [ { @@ -8959,34 +9516,34 @@ "type": "github" } ], - "time": "2023-12-21T08:38:20+00:00" + "time": "2024-07-03T04:58:38+00:00" }, { "name": "sebastian/object-enumerator", - "version": "5.0.0", + "version": "6.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906" + "reference": "f5b498e631a74204185071eb41f33f38d64608aa" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/202d0e344a580d7f7d04b3fafce6933e59dae906", - "reference": "202d0e344a580d7f7d04b3fafce6933e59dae906", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/f5b498e631a74204185071eb41f33f38d64608aa", + "reference": "f5b498e631a74204185071eb41f33f38d64608aa", "shasum": "" }, "require": { - "php": ">=8.1", - "sebastian/object-reflector": "^3.0", - "sebastian/recursion-context": "^5.0" + "php": ">=8.2", + "sebastian/object-reflector": "^4.0", + "sebastian/recursion-context": "^6.0" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -9008,7 +9565,8 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/5.0.0" + "security": "https://github.com/sebastianbergmann/object-enumerator/security/policy", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/6.0.1" }, "funding": [ { @@ -9016,32 +9574,32 @@ "type": "github" } ], - "time": "2023-02-03T07:08:32+00:00" + "time": "2024-07-03T05:00:13+00:00" }, { "name": "sebastian/object-reflector", - "version": "3.0.0", + "version": "4.0.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957" + "reference": "6e1a43b411b2ad34146dee7524cb13a068bb35f9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/24ed13d98130f0e7122df55d06c5c4942a577957", - "reference": "24ed13d98130f0e7122df55d06c5c4942a577957", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/6e1a43b411b2ad34146dee7524cb13a068bb35f9", + "reference": "6e1a43b411b2ad34146dee7524cb13a068bb35f9", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "3.0-dev" + "dev-main": "4.0-dev" } }, "autoload": { @@ -9063,7 +9621,8 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/3.0.0" + "security": "https://github.com/sebastianbergmann/object-reflector/security/policy", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/4.0.1" }, "funding": [ { @@ -9071,32 +9630,32 @@ "type": "github" } ], - "time": "2023-02-03T07:06:18+00:00" + "time": "2024-07-03T05:01:32+00:00" }, { "name": "sebastian/recursion-context", - "version": "5.0.0", + "version": "6.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712" + "reference": "694d156164372abbd149a4b85ccda2e4670c0e16" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/05909fb5bc7df4c52992396d0116aed689f93712", - "reference": "05909fb5bc7df4c52992396d0116aed689f93712", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/694d156164372abbd149a4b85ccda2e4670c0e16", + "reference": "694d156164372abbd149a4b85ccda2e4670c0e16", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-main": "6.0-dev" } }, "autoload": { @@ -9126,7 +9685,8 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/5.0.0" + "security": "https://github.com/sebastianbergmann/recursion-context/security/policy", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/6.0.2" }, "funding": [ { @@ -9134,32 +9694,32 @@ "type": "github" } ], - "time": "2023-02-03T07:05:40+00:00" + "time": "2024-07-03T05:10:34+00:00" }, { "name": "sebastian/type", - "version": "4.0.0", + "version": "5.1.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf" + "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/462699a16464c3944eefc02ebdd77882bd3925bf", - "reference": "462699a16464c3944eefc02ebdd77882bd3925bf", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/461b9c5da241511a2a0e8f240814fb23ce5c0aac", + "reference": "461b9c5da241511a2a0e8f240814fb23ce5c0aac", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "require-dev": { - "phpunit/phpunit": "^10.0" + "phpunit/phpunit": "^11.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-main": "5.1-dev" } }, "autoload": { @@ -9182,7 +9742,8 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/4.0.0" + "security": "https://github.com/sebastianbergmann/type/security/policy", + "source": "https://github.com/sebastianbergmann/type/tree/5.1.0" }, "funding": [ { @@ -9190,29 +9751,29 @@ "type": "github" } ], - "time": "2023-02-03T07:10:45+00:00" + "time": "2024-09-17T13:12:04+00:00" }, { "name": "sebastian/version", - "version": "4.0.1", + "version": "5.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/version.git", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17" + "reference": "c687e3387b99f5b03b6caa64c74b63e2936ff874" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c51fa83a5d8f43f1402e3f32a005e6262244ef17", - "reference": "c51fa83a5d8f43f1402e3f32a005e6262244ef17", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c687e3387b99f5b03b6caa64c74b63e2936ff874", + "reference": "c687e3387b99f5b03b6caa64c74b63e2936ff874", "shasum": "" }, "require": { - "php": ">=8.1" + "php": ">=8.2" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "4.0-dev" + "dev-main": "5.0-dev" } }, "autoload": { @@ -9235,7 +9796,8 @@ "homepage": "https://github.com/sebastianbergmann/version", "support": { "issues": "https://github.com/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/4.0.1" + "security": "https://github.com/sebastianbergmann/version/security/policy", + "source": "https://github.com/sebastianbergmann/version/tree/5.0.2" }, "funding": [ { @@ -9243,20 +9805,20 @@ "type": "github" } ], - "time": "2023-02-07T11:34:05+00:00" + "time": "2024-10-09T05:16:32+00:00" }, { "name": "spatie/backtrace", - "version": "1.5.3", + "version": "1.6.2", "source": { "type": "git", "url": "https://github.com/spatie/backtrace.git", - "reference": "483f76a82964a0431aa836b6ed0edde0c248e3ab" + "reference": "1a9a145b044677ae3424693f7b06479fc8c137a9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/backtrace/zipball/483f76a82964a0431aa836b6ed0edde0c248e3ab", - "reference": "483f76a82964a0431aa836b6ed0edde0c248e3ab", + "url": "https://api.github.com/repos/spatie/backtrace/zipball/1a9a145b044677ae3424693f7b06479fc8c137a9", + "reference": "1a9a145b044677ae3424693f7b06479fc8c137a9", "shasum": "" }, "require": { @@ -9264,6 +9826,7 @@ }, "require-dev": { "ext-json": "*", + "laravel/serializable-closure": "^1.3", "phpunit/phpunit": "^9.3", "spatie/phpunit-snapshot-assertions": "^4.2", "symfony/var-dumper": "^5.1" @@ -9293,7 +9856,7 @@ "spatie" ], "support": { - "source": "https://github.com/spatie/backtrace/tree/1.5.3" + "source": "https://github.com/spatie/backtrace/tree/1.6.2" }, "funding": [ { @@ -9305,20 +9868,20 @@ "type": "other" } ], - "time": "2023-06-28T12:59:17+00:00" + "time": "2024-07-22T08:21:24+00:00" }, { "name": "spatie/laravel-ray", - "version": "1.35.1", + "version": "1.37.1", "source": { "type": "git", "url": "https://github.com/spatie/laravel-ray.git", - "reference": "f504d3787d88c7e5de7a4290658f7ad9b1352f22" + "reference": "c2bedfd1172648df2c80aaceb2541d70f1d9a5b9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/f504d3787d88c7e5de7a4290658f7ad9b1352f22", - "reference": "f504d3787d88c7e5de7a4290658f7ad9b1352f22", + "url": "https://api.github.com/repos/spatie/laravel-ray/zipball/c2bedfd1172648df2c80aaceb2541d70f1d9a5b9", + "reference": "c2bedfd1172648df2c80aaceb2541d70f1d9a5b9", "shasum": "" }, "require": { @@ -9332,7 +9895,7 @@ "spatie/backtrace": "^1.0", "spatie/ray": "^1.41.1", "symfony/stopwatch": "4.2|^5.1|^6.0|^7.0", - "zbateson/mail-mime-parser": "^1.3.1|^2.0" + "zbateson/mail-mime-parser": "^1.3.1|^2.0|^3.0" }, "require-dev": { "guzzlehttp/guzzle": "^7.3", @@ -9347,7 +9910,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.29.x-dev" + "dev-main": "1.x-dev" }, "laravel": { "providers": [ @@ -9380,7 +9943,7 @@ ], "support": { "issues": "https://github.com/spatie/laravel-ray/issues", - "source": "https://github.com/spatie/laravel-ray/tree/1.35.1" + "source": "https://github.com/spatie/laravel-ray/tree/1.37.1" }, "funding": [ { @@ -9392,7 +9955,7 @@ "type": "other" } ], - "time": "2024-02-13T14:19:41+00:00" + "time": "2024-07-12T12:35:17+00:00" }, { "name": "spatie/macroable", @@ -9446,16 +10009,16 @@ }, { "name": "spatie/ray", - "version": "1.41.1", + "version": "1.41.2", "source": { "type": "git", "url": "https://github.com/spatie/ray.git", - "reference": "051a0facb1d2462fafef87ff77eb74d6f2d12944" + "reference": "c44f8cfbf82c69909b505de61d8d3f2d324e93fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/spatie/ray/zipball/051a0facb1d2462fafef87ff77eb74d6f2d12944", - "reference": "051a0facb1d2462fafef87ff77eb74d6f2d12944", + "url": "https://api.github.com/repos/spatie/ray/zipball/c44f8cfbf82c69909b505de61d8d3f2d324e93fc", + "reference": "c44f8cfbf82c69909b505de61d8d3f2d324e93fc", "shasum": "" }, "require": { @@ -9466,7 +10029,7 @@ "spatie/backtrace": "^1.1", "spatie/macroable": "^1.0|^2.0", "symfony/stopwatch": "^4.0|^5.1|^6.0|^7.0", - "symfony/var-dumper": "^4.2|^5.1|^6.0|^7.0" + "symfony/var-dumper": "^4.2|^5.1|^6.0|^7.0.3" }, "require-dev": { "illuminate/support": "6.x|^8.18|^9.0", @@ -9482,6 +10045,11 @@ "bin/remove-ray.sh" ], "type": "library", + "extra": { + "branch-alias": { + "dev-main": "1.x-dev" + } + }, "autoload": { "files": [ "src/helpers.php" @@ -9510,7 +10078,7 @@ ], "support": { "issues": "https://github.com/spatie/ray/issues", - "source": "https://github.com/spatie/ray/tree/1.41.1" + "source": "https://github.com/spatie/ray/tree/1.41.2" }, "funding": [ { @@ -9522,24 +10090,24 @@ "type": "other" } ], - "time": "2024-01-25T10:15:50+00:00" + "time": "2024-04-24T14:21:46+00:00" }, { "name": "symfony/polyfill-iconv", - "version": "v1.29.0", + "version": "v1.31.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-iconv.git", - "reference": "cd4226d140ecd3d0f13d32ed0a4a095ffe871d2f" + "reference": "48becf00c920479ca2e910c22a5a39e5d47ca956" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/cd4226d140ecd3d0f13d32ed0a4a095ffe871d2f", - "reference": "cd4226d140ecd3d0f13d32ed0a4a095ffe871d2f", + "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/48becf00c920479ca2e910c22a5a39e5d47ca956", + "reference": "48becf00c920479ca2e910c22a5a39e5d47ca956", "shasum": "" }, "require": { - "php": ">=7.1" + "php": ">=7.2" }, "provide": { "ext-iconv": "*" @@ -9586,7 +10154,83 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-iconv/tree/v1.29.0" + "source": "https://github.com/symfony/polyfill-iconv/tree/v1.31.0" + }, + "funding": [ + { + "url": "https://symfony.com/sponsor", + "type": "custom" + }, + { + "url": "https://github.com/fabpot", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/symfony/symfony", + "type": "tidelift" + } + ], + "time": "2024-09-09T11:45:10+00:00" + }, + { + "name": "symfony/polyfill-php84", + "version": "v1.31.0", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-php84.git", + "reference": "e5493eb51311ab0b1cc2243416613f06ed8f18bd" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/symfony/polyfill-php84/zipball/e5493eb51311ab0b1cc2243416613f06ed8f18bd", + "reference": "e5493eb51311ab0b1cc2243416613f06ed8f18bd", + "shasum": "" + }, + "require": { + "php": ">=7.2" + }, + "type": "library", + "extra": { + "thanks": { + "name": "symfony/polyfill", + "url": "https://github.com/symfony/polyfill" + } + }, + "autoload": { + "files": [ + "bootstrap.php" + ], + "psr-4": { + "Symfony\\Polyfill\\Php84\\": "" + }, + "classmap": [ + "Resources/stubs" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Nicolas Grekas", + "email": "p@tchwork.com" + }, + { + "name": "Symfony Community", + "homepage": "https://symfony.com/contributors" + } + ], + "description": "Symfony polyfill backporting some PHP 8.4+ features to lower PHP versions", + "homepage": "https://symfony.com", + "keywords": [ + "compatibility", + "polyfill", + "portable", + "shim" + ], + "support": { + "source": "https://github.com/symfony/polyfill-php84/tree/v1.31.0" }, "funding": [ { @@ -9602,20 +10246,20 @@ "type": "tidelift" } ], - "time": "2024-01-29T20:11:03+00:00" + "time": "2024-09-09T12:04:04+00:00" }, { "name": "symfony/stopwatch", - "version": "v7.0.3", + "version": "v7.1.1", "source": { "type": "git", "url": "https://github.com/symfony/stopwatch.git", - "reference": "983900d6fddf2b0cbaacacbbad07610854bd8112" + "reference": "5b75bb1ac2ba1b9d05c47fc4b3046a625377d23d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/stopwatch/zipball/983900d6fddf2b0cbaacacbbad07610854bd8112", - "reference": "983900d6fddf2b0cbaacacbbad07610854bd8112", + "url": "https://api.github.com/repos/symfony/stopwatch/zipball/5b75bb1ac2ba1b9d05c47fc4b3046a625377d23d", + "reference": "5b75bb1ac2ba1b9d05c47fc4b3046a625377d23d", "shasum": "" }, "require": { @@ -9648,7 +10292,7 @@ "description": "Provides a way to profile code", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/stopwatch/tree/v7.0.3" + "source": "https://github.com/symfony/stopwatch/tree/v7.1.1" }, "funding": [ { @@ -9664,32 +10308,31 @@ "type": "tidelift" } ], - "time": "2024-01-23T15:02:46+00:00" + "time": "2024-05-31T14:57:53+00:00" }, { "name": "symfony/yaml", - "version": "v6.4.3", + "version": "v7.1.5", "source": { "type": "git", "url": "https://github.com/symfony/yaml.git", - "reference": "d75715985f0f94f978e3a8fa42533e10db921b90" + "reference": "4e561c316e135e053bd758bf3b3eb291d9919de4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/yaml/zipball/d75715985f0f94f978e3a8fa42533e10db921b90", - "reference": "d75715985f0f94f978e3a8fa42533e10db921b90", + "url": "https://api.github.com/repos/symfony/yaml/zipball/4e561c316e135e053bd758bf3b3eb291d9919de4", + "reference": "4e561c316e135e053bd758bf3b3eb291d9919de4", "shasum": "" }, "require": { - "php": ">=8.1", - "symfony/deprecation-contracts": "^2.5|^3", + "php": ">=8.2", "symfony/polyfill-ctype": "^1.8" }, "conflict": { - "symfony/console": "<5.4" + "symfony/console": "<6.4" }, "require-dev": { - "symfony/console": "^5.4|^6.0|^7.0" + "symfony/console": "^6.4|^7.0" }, "bin": [ "Resources/bin/yaml-lint" @@ -9720,7 +10363,7 @@ "description": "Loads and dumps YAML files", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/yaml/tree/v6.4.3" + "source": "https://github.com/symfony/yaml/tree/v7.1.5" }, "funding": [ { @@ -9736,7 +10379,7 @@ "type": "tidelift" } ], - "time": "2024-01-23T14:51:35+00:00" + "time": "2024-09-17T12:49:58+00:00" }, { "name": "ta-tikoma/phpunit-architecture-test", @@ -9849,30 +10492,31 @@ }, { "name": "zbateson/mail-mime-parser", - "version": "2.4.0", + "version": "3.0.3", "source": { "type": "git", "url": "https://github.com/zbateson/mail-mime-parser.git", - "reference": "20b3e48eb799537683780bc8782fbbe9bc25934a" + "reference": "e0d4423fe27850c9dd301190767dbc421acc2f19" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/20b3e48eb799537683780bc8782fbbe9bc25934a", - "reference": "20b3e48eb799537683780bc8782fbbe9bc25934a", + "url": "https://api.github.com/repos/zbateson/mail-mime-parser/zipball/e0d4423fe27850c9dd301190767dbc421acc2f19", + "reference": "e0d4423fe27850c9dd301190767dbc421acc2f19", "shasum": "" }, "require": { - "guzzlehttp/psr7": "^1.7.0|^2.0", - "php": ">=7.1", - "pimple/pimple": "^3.0", - "zbateson/mb-wrapper": "^1.0.1", - "zbateson/stream-decorators": "^1.0.6" + "guzzlehttp/psr7": "^2.5", + "php": ">=8.0", + "php-di/php-di": "^6.0|^7.0", + "psr/log": "^1|^2|^3", + "zbateson/mb-wrapper": "^2.0", + "zbateson/stream-decorators": "^2.1" }, "require-dev": { "friendsofphp/php-cs-fixer": "*", - "mikey179/vfsstream": "^1.6.0", + "monolog/monolog": "^2|^3", "phpstan/phpstan": "*", - "phpunit/phpunit": "<10" + "phpunit/phpunit": "^9.6" }, "suggest": { "ext-iconv": "For best support/performance", @@ -9920,24 +10564,24 @@ "type": "github" } ], - "time": "2023-02-14T22:58:03+00:00" + "time": "2024-08-10T18:44:09+00:00" }, { "name": "zbateson/mb-wrapper", - "version": "1.2.1", + "version": "2.0.0", "source": { "type": "git", "url": "https://github.com/zbateson/mb-wrapper.git", - "reference": "09a8b77eb94af3823a9a6623dcc94f8d988da67f" + "reference": "9e4373a153585d12b6c621ac4a6bb143264d4619" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/mb-wrapper/zipball/09a8b77eb94af3823a9a6623dcc94f8d988da67f", - "reference": "09a8b77eb94af3823a9a6623dcc94f8d988da67f", + "url": "https://api.github.com/repos/zbateson/mb-wrapper/zipball/9e4373a153585d12b6c621ac4a6bb143264d4619", + "reference": "9e4373a153585d12b6c621ac4a6bb143264d4619", "shasum": "" }, "require": { - "php": ">=7.1", + "php": ">=8.0", "symfony/polyfill-iconv": "^1.9", "symfony/polyfill-mbstring": "^1.9" }, @@ -9981,7 +10625,7 @@ ], "support": { "issues": "https://github.com/zbateson/mb-wrapper/issues", - "source": "https://github.com/zbateson/mb-wrapper/tree/1.2.1" + "source": "https://github.com/zbateson/mb-wrapper/tree/2.0.0" }, "funding": [ { @@ -9989,31 +10633,31 @@ "type": "github" } ], - "time": "2024-03-18T04:31:04+00:00" + "time": "2024-03-20T01:38:07+00:00" }, { "name": "zbateson/stream-decorators", - "version": "1.2.1", + "version": "2.1.1", "source": { "type": "git", "url": "https://github.com/zbateson/stream-decorators.git", - "reference": "783b034024fda8eafa19675fb2552f8654d3a3e9" + "reference": "32a2a62fb0f26313395c996ebd658d33c3f9c4e5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/783b034024fda8eafa19675fb2552f8654d3a3e9", - "reference": "783b034024fda8eafa19675fb2552f8654d3a3e9", + "url": "https://api.github.com/repos/zbateson/stream-decorators/zipball/32a2a62fb0f26313395c996ebd658d33c3f9c4e5", + "reference": "32a2a62fb0f26313395c996ebd658d33c3f9c4e5", "shasum": "" }, "require": { - "guzzlehttp/psr7": "^1.9 | ^2.0", - "php": ">=7.2", - "zbateson/mb-wrapper": "^1.0.0" + "guzzlehttp/psr7": "^2.5", + "php": ">=8.0", + "zbateson/mb-wrapper": "^2.0" }, "require-dev": { "friendsofphp/php-cs-fixer": "*", "phpstan/phpstan": "*", - "phpunit/phpunit": "<10.0" + "phpunit/phpunit": "^9.6|^10.0" }, "type": "library", "autoload": { @@ -10044,7 +10688,7 @@ ], "support": { "issues": "https://github.com/zbateson/stream-decorators/issues", - "source": "https://github.com/zbateson/stream-decorators/tree/1.2.1" + "source": "https://github.com/zbateson/stream-decorators/tree/2.1.1" }, "funding": [ { @@ -10052,7 +10696,7 @@ "type": "github" } ], - "time": "2023-05-30T22:51:52+00:00" + "time": "2024-04-29T21:42:39+00:00" } ], "aliases": [], diff --git a/database/Seeders/BankSeeder.php b/database/Seeders/BankSeeder.php index 4b3e3bb..a9e21a2 100644 --- a/database/Seeders/BankSeeder.php +++ b/database/Seeders/BankSeeder.php @@ -2,7 +2,9 @@ namespace CleaniqueCoders\Profile\Database\Seeders; +use CleaniqueCoders\Profile\Models\Bank; use Illuminate\Database\Seeder; +use Illuminate\Support\Str; class BankSeeder extends Seeder { @@ -159,7 +161,8 @@ public function run() ]; foreach ($banks as $bank) { - \CleaniqueCoders\Profile\Models\Bank::create($bank); + $bank['uuid'] = Str::orderedUuid(); + Bank::create($bank); } } } diff --git a/database/Seeders/CountrySeeder.php b/database/Seeders/CountrySeeder.php index 1f93f97..f606d86 100644 --- a/database/Seeders/CountrySeeder.php +++ b/database/Seeders/CountrySeeder.php @@ -258,6 +258,7 @@ public function run() foreach ($countries as $code => $name) { \CleaniqueCoders\Profile\Models\Country::create([ + 'uuid' => Str::orderedUuid(), 'code' => $code, 'name' => $name, 'label' => Str::slug($name, '-'), diff --git a/database/Seeders/PhoneTypeSeeder.php b/database/Seeders/PhoneTypeSeeder.php index f77dca7..bf2eae5 100644 --- a/database/Seeders/PhoneTypeSeeder.php +++ b/database/Seeders/PhoneTypeSeeder.php @@ -16,6 +16,7 @@ public function run() foreach ($data as $datum) { \CleaniqueCoders\Profile\Models\PhoneType::create([ + 'uuid' => Str::orderedUuid(), 'name' => $datum, 'label' => Str::slug($datum, '-'), ]); diff --git a/database/migrations/create_addresses_table.php.stub b/database/migrations/create_addresses_table.php.stub index 6601a72..06d8013 100644 --- a/database/migrations/create_addresses_table.php.stub +++ b/database/migrations/create_addresses_table.php.stub @@ -1,5 +1,6 @@ increments('id'); $table->uuid('uuid')->unique(); - $table->nullableBelongsTo('countries'); + $table->foreignIdFor(Country::class)->nullable(); $table->unsignedInteger('addressable_id'); $table->string('addressable_type'); $table->text('primary')->nullable(); @@ -22,8 +23,9 @@ return new class extends Migration $table->string('postcode')->nullable(); $table->string('city')->nullable(); $table->string('state')->nullable(); - $table->is('default'); - $table->standardTime(); + $table->boolean('is_default')->default(false); + $table->softDeletes(); + $table->timestamps(); }); } diff --git a/database/migrations/create_banks_table.php.stub b/database/migrations/create_banks_table.php.stub index 0ab8198..2444e85 100644 --- a/database/migrations/create_banks_table.php.stub +++ b/database/migrations/create_banks_table.php.stub @@ -1,5 +1,6 @@ increments('id'); $table->uuid('uuid')->unique(); $table->string('name')->nullable(); - $table->code('swift_code'); - $table->code('bank_code'); - $table->standardTime(); + $table->string('swift_code', 20)->nullable()->index(); + $table->string('bank_code', 20)->nullable()->index(); + $table->softDeletes(); + $table->timestamps(); }); Schema::create('bank_accounts', function (Blueprint $table) { $table->increments('id'); $table->uuid('uuid')->unique(); - $table->belongsTo('banks'); + $table->foreignIdFor(Bank::class); $table->unsignedInteger('bankable_id'); $table->string('bankable_type'); $table->string('account_no')->nullable(); - $table->is('default'); - $table->standardTime(); + $table->boolean('is_default')->default(false); + $table->softDeletes(); + $table->timestamps(); }); } diff --git a/database/migrations/create_countries_table.php.stub b/database/migrations/create_countries_table.php.stub index 62601dc..fa946ca 100644 --- a/database/migrations/create_countries_table.php.stub +++ b/database/migrations/create_countries_table.php.stub @@ -14,9 +14,9 @@ return new class extends Migration Schema::create('countries', function (Blueprint $table) { $table->increments('id'); $table->uuid('uuid')->unique(); - $table->string('code'); - $table->label(); - $table->name(); + $table->string('code')->unique(); + $table->string('label')->nullable()->comment('Label'); + $table->string('name')->nullable()->comment('Name'); $table->timestamps(); }); } diff --git a/database/migrations/create_emails_table.php.stub b/database/migrations/create_emails_table.php.stub index 5eeac8a..69f4a24 100644 --- a/database/migrations/create_emails_table.php.stub +++ b/database/migrations/create_emails_table.php.stub @@ -17,8 +17,9 @@ return new class extends Migration $table->unsignedInteger('emailable_id'); $table->string('emailable_type'); $table->string('email')->nullable(); - $table->is('default'); - $table->standardTime(); + $table->boolean('is_default')->default(false); + $table->softDeletes(); + $table->timestamps(); }); } diff --git a/database/migrations/create_phone_types_table.php.stub b/database/migrations/create_phone_types_table.php.stub index 38da8bc..3437333 100644 --- a/database/migrations/create_phone_types_table.php.stub +++ b/database/migrations/create_phone_types_table.php.stub @@ -14,8 +14,8 @@ return new class extends Migration Schema::create('phone_types', function (Blueprint $table) { $table->increments('id'); $table->uuid('uuid')->unique(); - $table->label(); - $table->name(); + $table->string('label')->nullable()->comment('Label'); + $table->string('name')->nullable()->comment('Name'); $table->timestamps(); }); } diff --git a/database/migrations/create_phones_table.php.stub b/database/migrations/create_phones_table.php.stub index 875e56f..4b28ea1 100644 --- a/database/migrations/create_phones_table.php.stub +++ b/database/migrations/create_phones_table.php.stub @@ -1,5 +1,6 @@ increments('id'); $table->uuid('uuid')->unique(); - $table->belongsTo('phone_types')->default(\CleaniqueCoders\Profile\Models\PhoneType::HOME); + $table->foreignIdFor(PhoneType::class)->default(PhoneType::HOME); $table->unsignedInteger('phoneable_id'); $table->string('phoneable_type'); $table->string('phone_number')->nullable(); - $table->is('default'); - $table->standardTime(); + $table->boolean('is_default')->default(false); + $table->softDeletes(); + $table->timestamps(); }); } diff --git a/database/migrations/create_websites_table.php.stub b/database/migrations/create_websites_table.php.stub index a4c1fd2..5a04407 100644 --- a/database/migrations/create_websites_table.php.stub +++ b/database/migrations/create_websites_table.php.stub @@ -18,8 +18,9 @@ return new class extends Migration $table->string('websiteable_type'); $table->string('name')->nullable(); $table->string('url')->nullable(); - $table->is('default'); - $table->standardTime(); + $table->boolean('is_default')->default(false); + $table->softDeletes(); + $table->timestamps(); }); } diff --git a/src/Contracts/Profile.php b/src/Contracts/Profile.php index b36531c..35f2b23 100644 --- a/src/Contracts/Profile.php +++ b/src/Contracts/Profile.php @@ -2,6 +2,4 @@ namespace CleaniqueCoders\Profile\Contracts; -interface Profile -{ -} +interface Profile {} diff --git a/tests/AddressTest.php b/tests/AddressTest.php deleted file mode 100644 index 87d3d64..0000000 --- a/tests/AddressTest.php +++ /dev/null @@ -1,69 +0,0 @@ -assertTrue(Schema::hasTable('addresses')); - } - - /** @test */ - public function itHasNoAddressesRecords() - { - $addresses = \DB::table('addresses')->count(); - $this->assertEquals(0, $addresses); - } - - /** @test */ - public function itCanCreateAddress() - { - $address = $this->user->addresses()->create([ - 'primary' => 'OSTIA, Bangi', - 'city' => 'Bandar Baru Bangi', - 'state' => 'Selangor', - 'country_id' => 131, - 'is_default' => true, - ]); - $this->assertNotNull($address); - $this->assertEquals('OSTIA, Bangi', $address->primary); - $this->assertEquals('Bandar Baru Bangi', $address->city); - $this->assertEquals('Selangor', $address->state); - $this->assertEquals(131, $address->country_id); - $this->assertTrue($address->is_default); - } -} diff --git a/tests/BankTest.php b/tests/BankTest.php deleted file mode 100644 index 737b7d3..0000000 --- a/tests/BankTest.php +++ /dev/null @@ -1,205 +0,0 @@ -assertTrue(Schema::hasTable('banks')); - } - - /** @test */ - public function itHasBankAccountsTable() - { - $this->assertTrue(Schema::hasTable('bank_accounts')); - } - - /** @test */ - public function itHasBanksData() - { - $banks = [ - ['name' => 'AFFIN BANK BERHAD', 'swift_code' => 'PHBMMYKL', 'bank_code' => 'PHBM'], - ['name' => 'AFFIN HWANG INVESTMENT BANK BERHAD', 'swift_code' => 'HDSBMY2P', 'bank_code' => 'HDSB'], - ['name' => 'AFFIN ISLAMIC BANK BERHAD', 'swift_code' => 'AIBBMYKL', 'bank_code' => 'AIBB'], - ['name' => 'AIA BHD.', 'swift_code' => 'AIACMYKL', 'bank_code' => 'AIAC'], - ['name' => 'BANK PERTANIAN MALAYSIA BERHAD - AGROBANK', 'swift_code' => 'AGOBMYKL', 'bank_code' => 'AGOB'], - ['name' => 'AL RAJHI BANKING AND INVESTMENT CORPORATION (MALAYSIA) BHD', 'swift_code' => 'RJHIMYKL', 'bank_code' => 'RJHI'], - ['name' => 'ALKHAIR INTERNATIONAL ISLAMIC BANK BERHAD', 'swift_code' => 'UIIBMYKL', 'bank_code' => 'UIIB'], - ['name' => 'ALLIANCE BANK MALAYSIA BERHAD', 'swift_code' => 'MFBBMYKL', 'bank_code' => 'MFBB'], - ['name' => 'ALLIANCE INVESTMENT BANK BERHAD', 'swift_code' => 'MBAMMYKL', 'bank_code' => 'MBAM'], - ['name' => 'ALLIANCE ISLAMIC BANK BERHAD', 'swift_code' => 'ALSRMYKL', 'bank_code' => 'ALSR'], - ['name' => 'AMBANK (M) BERHAD', 'swift_code' => 'ARBKMYKL', 'bank_code' => 'ARBK'], - ['name' => 'AMBANK (M) BERHAD LABUAN OFFSHORE BRANCH', 'swift_code' => 'ARBKMYKLLAB', 'bank_code' => 'ARBK'], - ['name' => 'AMINVESTMENT BANK BERHAD', 'swift_code' => 'AMMBMYKL', 'bank_code' => 'AMMB'], - ['name' => 'AMISLAMIC BANK BERHAD', 'swift_code' => 'AISLMYKL', 'bank_code' => 'AISL'], - ['name' => 'ASIAN FINANCE BANK BERHAD', 'swift_code' => 'AFBQMYKL', 'bank_code' => 'AFBQ'], - ['name' => 'ASIAN TRADE INVESTMENT BANK LTD', 'swift_code' => 'ATBLMY2A', 'bank_code' => 'ATBL'], - ['name' => 'BANGKOK BANK BERHAD', 'swift_code' => 'BKKBMYKL', 'bank_code' => 'BKKB'], - ['name' => 'BANK AL HABIB LIMITED', 'swift_code' => 'BAHLMY2A', 'bank_code' => 'BAHL'], - ['name' => 'BANK ISLAM MALAYSIA BERHAD', 'swift_code' => 'BIMBMYKL', 'bank_code' => 'BIMB'], - ['name' => 'BANK ISLAM MALAYSIA BERHAD LABUAN OFFSHORE BRANCH', 'swift_code' => 'BISLMYKA', 'bank_code' => 'BISL'], - ['name' => 'BANK MUAMALAT MALAYSIA BERHAD', 'swift_code' => 'BMMBMYKL', 'bank_code' => 'BMMB'], - ['name' => 'BANK MUAMALAT MALAYSIA BERHAD (TRADE FINANCE)', 'swift_code' => 'BMMBMYKLTFD', 'bank_code' => 'BMMB'], - ['name' => 'BANK NEGARA MALAYSIA (HEAD OFFICE)', 'swift_code' => 'BNMAMYKL', 'bank_code' => 'BNMA'], - ['name' => 'BANK NEGARA MALAYSIA', 'swift_code' => 'BNMAMY2K', 'bank_code' => 'BNMA'], - ['name' => 'BANK OF AMERICA, MALAYSIA BERHAD', 'swift_code' => 'BOFAMY2X', 'bank_code' => 'BOFA'], - ['name' => 'BANK OF AMERICA, MALAYSIA BERHAD', 'swift_code' => 'BOFAMY2XGRC', 'bank_code' => 'BOFA'], - ['name' => 'BANK OF AMERICA, MALAYSIA BERHAD', 'swift_code' => 'BOFAMY2XLMY', 'bank_code' => 'BOFA'], - ['name' => 'BANK OF AMERICA, MALAYSIA BERHAD', 'swift_code' => 'BOFAMY2XLBN', 'bank_code' => 'BOFA'], - ['name' => 'BANK OF CHINA (MALAYSIA) BERHAD', 'swift_code' => 'BKCHMYKL', 'bank_code' => 'BKCH'], - ['name' => 'BANK OF TOKYO-MITSUBISHI UFJ (MALAYSIA) BERHAD', 'swift_code' => 'BOTKMYKX', 'bank_code' => 'BOTK'], - ['name' => 'BANK KERJASAMA RAKYAT MALAYSIA BERHAD (BANK RAKYAT)', 'swift_code' => 'BKRMMYKL', 'bank_code' => 'BKRM'], - ['name' => 'Bank Simpanan Malaysia', 'swift_code' => '', 'bank_code' => ''], - ['name' => 'BNP PARIBAS', 'swift_code' => 'BNPAMYKA', 'bank_code' => 'BNPA'], - ['name' => 'BNP PARIBAS MALAYSIA BERHAD', 'swift_code' => 'BNPAMYKL', 'bank_code' => 'BNPA'], - ['name' => 'BNP PARIBAS MALAYSIA BERHAD (BNPPM ISLAMIC BANKING WINDOW)', 'swift_code' => 'BNPAMYKLSPI', 'bank_code' => 'BNPA'], - ['name' => 'CAGAMAS BERHAD', 'swift_code' => '', 'bank_code' => ''], - ['name' => 'CIMB BANK BERHAD', 'swift_code' => 'CIBBMYKL', 'bank_code' => 'CIBB'], - ['name' => 'CIMB BANK BERHAD (SECURITIES BORROWING AND LENDING)', 'swift_code' => 'CIBBMYKLSBL', 'bank_code' => 'CIBB'], - ['name' => 'CIMB BANK (L) LIMITED', 'swift_code' => 'CIBBMYKA', 'bank_code' => 'CIBB'], - ['name' => 'CIMB BANK BERHAD, LABUAN OFFSHORE BRANCH', 'swift_code' => 'CIBBMY2L', 'bank_code' => 'CIBB'], - ['name' => 'CIMB ISLAMIC BANK BERHAD', 'swift_code' => 'CTBBMYKL', 'bank_code' => 'CTBB'], - ['name' => 'CIMB-PRINCIPAL ASSET MANAGEMENT BERHAD', 'swift_code' => 'CANHMYKL', 'bank_code' => 'CANH'], - ['name' => 'CITIBANK BERHAD (JALAN AMPANG)', 'swift_code' => 'CITIMYKL', 'bank_code' => 'CITI'], - ['name' => 'CITIBANK BERHAD (PENANG BRANCH)', 'swift_code' => 'CITIMYKLPEN', 'bank_code' => 'CITI'], - ['name' => 'CITIBANK BERHAD (JOHOR BAHRU BRANCH)', 'swift_code' => 'CITIMYKLJOD', 'bank_code' => 'CITI'], - ['name' => 'CITIBANK BERHAD (LAB)', 'swift_code' => ' CITIMYKLLAB', 'bank_code' => 'CITI'], - ['name' => 'DBS BANK LTD, LABUAN BRANCH', 'swift_code' => 'DBSSMY2A', 'bank_code' => 'DBSS'], - ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD', 'swift_code' => 'DEUTMYKL', 'bank_code' => 'DEUT'], - ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD', 'swift_code' => 'DEUTMYKLGMO', 'bank_code' => 'DEUT'], - ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD', 'swift_code' => 'DEUTMYKLIBW', 'bank_code' => 'DEUT'], - ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD (INTERNATIONAL ISLAMIC BANKING, MALAYSIA BRANCH)', 'swift_code' => 'DEUTMYKLISB', 'bank_code' => 'DEUT'], - ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD (LABUAN BRANCH)', 'swift_code' => 'DEUTMYKLBLB', 'bank_code' => 'DEUT'], - ['name' => 'EXPORT-IMPORT BANK OF MALAYSIA BERHAD', 'swift_code' => 'EXMBMYKL', 'bank_code' => 'EXMB'], - ['name' => 'FELDA GLOBAL VENTURES CAPITAL SDN. BHD.', 'swift_code' => 'FGVCMYKL', 'bank_code' => 'FGVC'], - ['name' => 'FIDELITY ASIA BANK LTD', 'swift_code' => 'FABEMY22', 'bank_code' => 'FABE'], - ['name' => 'HONG LEONG BANK BERHAD', 'swift_code' => 'HLBBMYKL', 'bank_code' => 'HLBB'], - ['name' => 'HONG LEONG BANK BERHAD (ISLAMIC BANKING UNIT)', 'swift_code' => 'HLBBMYKLIBU', 'bank_code' => 'HLBB'], - ['name' => 'HONG LEONG BANK BERHAD, JOHOR BAHRU, JOHOR', 'swift_code' => 'HLBBMYKLJBU', 'bank_code' => 'HLBB'], - ['name' => 'HONG LEONG BANK BERHAD, KUCHING, SARAWAK', 'swift_code' => 'HLBBMYKLKCH', 'bank_code' => 'HLBB'], - ['name' => 'HONG LEONG BANK BERHAD, PENANG, PENANG', 'swift_code' => 'HLBBMYKLPNG', 'bank_code' => 'HLBB'], - ['name' => 'HONG LEONG INVESTMENT BANK BERHAD', 'swift_code' => 'HLIVMYKL', 'bank_code' => 'HLIV'], - ['name' => 'HONG LEONG ISLAMIC BANK BERHAD', 'swift_code' => 'HLIBMYKL', 'bank_code' => 'HLIB'], - ['name' => 'THE HONGKONG AND SHANGHAI BANKING CORPORATION LTD.', 'swift_code' => 'HSBCMYKA', 'bank_code' => 'HSBC'], - ['name' => 'HSBC (MALAYSIA) TRUSTEE BERHAD', 'swift_code' => 'HSTMMYKL', 'bank_code' => 'HSTM'], - ['name' => 'HSBC (MALAYSIA) TRUSTEE BERHAD (GLOBAL WEALTH SOLUTIONS)', 'swift_code' => 'HSTMMYKLGWS', 'bank_code' => 'HSTM'], - ['name' => 'HSBC AMANAH MALAYSIA BERHAD', 'swift_code' => 'HMABMYKL', 'bank_code' => 'HMAB'], - ['name' => 'HSBC BANK MALAYSIA BERHAD', 'swift_code' => 'HBMBMYKL', 'bank_code' => 'HBMB'], - ['name' => 'INDIA INTERNATIONAL BANK (MALAYSIA) BERHAD', 'swift_code' => 'IIMBMYKL', 'bank_code' => 'IIMB'], - ['name' => 'INDUSTRIAL AND COMMERCIAL BANK OF CHINA (MALAYSIA) BERHAD.', 'swift_code' => 'ICBKMYKL', 'bank_code' => 'ICBK'], - ['name' => 'INDUSTRIAL AND COMMERCIAL BANK OF CHINA (MALAYSIA) BERHAD., (LABUAN BRANCH)', 'swift_code' => 'ICBKMYKLLAB', 'bank_code' => 'ICBK'], - ['name' => 'J.P.MORGAN CHASE BANK BERHAD', 'swift_code' => 'CHASMYKX', 'bank_code' => 'CHAS'], - ['name' => 'J.P.MORGAN CHASE BANK BERHAD, (JPMORGAN SECURITIES - MALAYSIA)', 'swift_code' => 'CHASMYKXSEC', 'bank_code' => 'CHAS'], - ['name' => 'J.P.MORGAN CHASE BANK BERHAD, (TEST KEY AND BKE ADMINISTRATION)', 'swift_code' => 'CHASMYKXKEY', 'bank_code' => 'CHAS'], - ['name' => 'JPMORGAN CHASE BANK, N.A., LABUAN BRANCH', 'swift_code' => 'CHASMY2A', 'bank_code' => 'CHAS'], - ['name' => 'KAF INVESTMENT BANK BERHAD', 'swift_code' => 'KAFBMYKL', 'bank_code' => 'KAFB'], - ['name' => 'KENANGA INVESTMENT BANK BERHAD', 'swift_code' => 'ECMLMYKL', 'bank_code' => 'ECML'], - ['name' => 'KUWAIT FINANCE HOUSE (MALAYSIA) BERHAD', 'swift_code' => 'KFHOMYKL', 'bank_code' => 'KFHO'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK)', 'swift_code' => 'MBBEMYKL', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), BUTTERWORTH, PENANG (TRADE FINANCE CENTER) ', 'swift_code' => 'MBBEMYKLBWC', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), IPOH, PERAK', 'swift_code' => 'MBBEMYKLIPH', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), JOHOR BAHRU, JOHOR', 'swift_code' => 'MBBEMYKLJOB', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KOTA KINABALU, SABAH', 'swift_code' => 'MBBEMYKLKIN', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (BANGSAR BARU BRANCH)', 'swift_code' => 'MBBEMYKLBAN', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (BUKIT BINTANG BRANCH)', 'swift_code' => 'MBBEMYKLBBG', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (CASH MANAGEMENT DEPARTMENT)', 'swift_code' => 'MBBEMYKLWEB', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (CUSTODIAN SERVICES DEPARTMENT)', 'swift_code' => 'MBBEMYKLCSD', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (KEPONG BRANCH)', 'swift_code' => 'MBBEMYKLKEP', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (PUDU BRANCH)', 'swift_code' => 'MBBEMYKLPUD', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (SUBANG AIRPORT)', 'swift_code' => 'MBBEMYKLSUB', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (TRADE FINANCE CENTER)', 'swift_code' => 'MBBEMYKLKLC', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (WISMA SIME DARBY BRANCH)', 'swift_code' => 'MBBEMYKLWSD', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), MALACCA, MALACCA', 'swift_code' => 'MBBEMYKLMAL', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PASIR GUDANG, JOHOR', 'swift_code' => 'MBBEMYKLPSG', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PENANG, PENANG (TRADE FINANCE CENTER)', 'swift_code' => 'MBBEMYKLPGC', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PENANG, PENANG', 'swift_code' => 'MBBEMYKLPEN', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PETALING JAYA, SELANGOR (TRADE FINANCE CENTER)', 'swift_code' => 'MBBEMYKLPJC', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PETALING JAYA, SELANGOR (YONG SHOOK LIN BRANCH)', 'swift_code' => 'MBBEMYKLYSL', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PETALING JAYA, SELANGOR', 'swift_code' => 'MBBEMYKLPJY', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PORT KLANG, SELANGOR', 'swift_code' => 'MBBEMYKLPKG', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), SEREMBAN, NEGRI SEMBILAN', 'swift_code' => 'MBBEMYKLSBN', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), SHAH ALAM, SELANGOR (TRADE FINANCE CENTER)', 'swift_code' => 'MBBEMYKLSAC', 'bank_code' => 'MBBE'], - ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), SHAH ALAM, SELANGOR', 'swift_code' => 'MBBEMYKLSHA', 'bank_code' => 'MBBE'], - ['name' => 'MALAYSIA AIRLINES BERHAD', 'swift_code' => 'MAYHMY22', 'bank_code' => 'MAYH'], - ['name' => 'MAX MONEY SDN BHD', 'swift_code' => 'MMSBMYKL', 'bank_code' => 'MMSB'], - ['name' => 'MAYBANK INTERNATIONAL (L) LTD.', 'swift_code' => 'MBBEMYKA', 'bank_code' => 'MBBE'], - ['name' => 'MAYBANK INTERNATIONAL LABUAN BRANCH', 'swift_code' => 'MBBEMY2L', 'bank_code' => 'MBBE'], - ['name' => 'MAYBANK INVESTMENT BANK BERHAD', 'swift_code' => 'MBEAMYKL', 'bank_code' => 'MBEA'], - ['name' => 'MAYBANK ISLAMIC BERHAD', 'swift_code' => 'MBISMYKL', 'bank_code' => 'MBIS'], - ['name' => 'MEGA INTERNATIONAL COMMERCIAL BANK CO., LTD. LABUAN BRANCH', 'swift_code' => 'ICBCMY2L', 'bank_code' => 'ICBC'], - ['name' => 'MERCEDES-BENZ MALAYSIA SDN. BHD', 'swift_code' => 'DABEMYKL', 'bank_code' => 'DABE'], - ['name' => 'MERCEDES-BENZ SERVICES MALAYSIA SDN. BHD.', 'swift_code' => 'MBSMMYKL', 'bank_code' => 'MBSM'], - ['name' => 'MIDDLE EAST INVESTMENT BANK LTD', 'swift_code' => 'MEIBMYKA', 'bank_code' => 'MEIB'], - ['name' => 'MIZUHO BANK (MALAYSIA) BERHAD', 'swift_code' => 'MHCBMYKA', 'bank_code' => 'MHCB'], - ['name' => 'MIZUHO BANK, LTD., LABUAN BRANCH', 'swift_code' => 'MHCBMY2L', 'bank_code' => 'MHCB'], - ['name' => 'NATIONAL BANK OF ABU DHABI', 'swift_code' => 'NBADMYKL', 'bank_code' => 'NBAD'], - ['name' => 'NATIONAL BANK OF ABU DHABI, LABUAN', 'swift_code' => 'NBADMYKLLAU', 'bank_code' => 'NBAD'], - ['name' => 'NOMURA ASSET MANAGEMENT MALAYSIA SDN BHD', 'swift_code' => 'NOCMMYKL', 'bank_code' => 'NOCM'], - ['name' => 'OCBC BANK (MALAYSIA) BERHAD', 'swift_code' => 'OCBCMYKL', 'bank_code' => 'OCBC'], - ['name' => 'OCBC AL-AMIN BANK BERHAD', 'swift_code' => 'OABBMYKL', 'bank_code' => 'OABB'], - ['name' => 'PETROLIAM NASIONAL BERHAD', 'swift_code' => 'PTROMYKL', 'bank_code' => 'PTRO'], - ['name' => 'PETROLIAM NASIONAL BERHAD, KUALA LUMPUR (KLCC)', 'swift_code' => 'PTROMYKLFSD', 'bank_code' => 'PTRO'], - ['name' => 'PETRONAS CARIGALI SDN BHD', 'swift_code' => 'PCGLMYKL', 'bank_code' => 'PCGL'], - ['name' => 'PETRONAS TRADING CORPORATION SDN. BHD', 'swift_code' => 'PTRDMYKL', 'bank_code' => 'PTRD'], - ['name' => 'PG ASIA INVESTMENT BANK LTD', 'swift_code' => 'AINEMY22', 'bank_code' => 'AINE'], - ['name' => 'PUBLIC BANK BERHAD', 'swift_code' => 'PBBEMYKL', 'bank_code' => 'PBBE'], - ['name' => 'PUBLIC BANK (L) LTD', 'swift_code' => 'PBLLMYKA', 'bank_code' => 'PBLL'], - ['name' => 'PUBLIC ISLAMIC BANK BERHAD', 'swift_code' => 'PUIBMYKL', 'bank_code' => 'PUIB'], - ['name' => 'RHB BANK BERHAD', 'swift_code' => 'RHBBMYKL', 'bank_code' => 'RHBB'], - ['name' => 'RHB BANK (L) LTD', 'swift_code' => 'RHBBMYKA', 'bank_code' => 'RHBB'], - ['name' => 'RHB INVESTMENT BANK BERHAD', 'swift_code' => 'OSKIMYKL', 'bank_code' => 'OSKI'], - ['name' => 'RHB ISLAMIC BANK BERHAD', 'swift_code' => 'RHBAMYKL', 'bank_code' => 'RHBA'], - ['name' => 'STANDARD CHARTERED BANK MALAYSIA BERHAD', 'swift_code' => 'SCBLMYKX', 'bank_code' => 'SCBL'], - ['name' => 'STANDARD CHARTERED BANK MALAYSIA BERHAD, (LABUAN OFFSHORE BANKING UNIT)', 'swift_code' => 'SCBLMYKXLAB', 'bank_code' => 'SCBL'], - ['name' => 'STANDARD CHARTERED SAADIQ BERHAD', 'swift_code' => 'SCSRMYKK', 'bank_code' => 'SCSR'], - ['name' => 'SUMITOMO MITSUI BANKING CORPORATION MALAYSIA BERHAD', 'swift_code' => 'SMBCMYKL', 'bank_code' => 'SMBC'], - ['name' => 'SUMITOMO MITSUI BANKING CORPORATION', 'swift_code' => 'SMBCMYKA', 'bank_code' => 'SMBC'], - ['name' => 'THE BANK OF NOVA SCOTIA,', 'swift_code' => 'NOSCMY2L', 'bank_code' => 'NOSC'], - ['name' => 'THE BANK OF TOKYO-MITSUBISHI UFJ, LTD. (LABUAN BRANCH)', 'swift_code' => 'BOTKMYKA', 'bank_code' => 'BOTK'], - ['name' => 'THE ROYAL BANK OF SCOTLAND BERHAD ', 'swift_code' => 'ABNAMYKL', 'bank_code' => 'ABNA'], - ['name' => 'THE ROYAL BANK OF SCOTLAND BERHAD, PENANG, PENANG', 'swift_code' => 'ABNAMYKLPNG', 'bank_code' => 'ABNA'], - ['name' => 'THE ROYAL BANK OF SCOTLAND PLC LABUAN BRANCH', 'swift_code' => 'ABNAMY2A', 'bank_code' => 'ABNA'], - ['name' => 'UNITED OVERSEAS BANK (MALAYSIA) BERHAD', 'swift_code' => 'UOVBMYKL', 'bank_code' => 'UOVB'], - ['name' => 'UNITED OVERSEAS BANK (MALAYSIA) BERHAD, (CUSTODIAN AND NOMINEES DEPARTMENT)', 'swift_code' => 'UOVBMYKLCND', 'bank_code' => 'UOVB'], - ['name' => 'UNITED OVERSEAS BANK (MALAYSIA) BERHAD', 'swift_code' => 'UOVBMY2L', 'bank_code' => 'UOVB'], - ]; - - foreach ($banks as $bank) { - $this->assertDatabaseHas('banks', $bank); - } - } -} diff --git a/tests/CountryTest.php b/tests/CountryTest.php deleted file mode 100644 index d0e1e11..0000000 --- a/tests/CountryTest.php +++ /dev/null @@ -1,28 +0,0 @@ -assertTrue(! empty(config('profile'))); - $this->assertContains('CleaniqueCoders\Profile\Database\Seeders\CountrySeeder', config('profile.seeders')); - } - - /** @test */ - public function hasCountriesTable() - { - $this->assertTrue(Schema::hasTable('countries')); - } - - /** @test */ - public function hasCountriesData() - { - $countries = \DB::table('countries')->count(); - $this->assertEquals(241, $countries); - } -} diff --git a/tests/EmailTest.php b/tests/EmailTest.php deleted file mode 100644 index 6861ce9..0000000 --- a/tests/EmailTest.php +++ /dev/null @@ -1,63 +0,0 @@ -assertTrue(Schema::hasTable('emails')); - } - - /** @test */ - public function itHasNoEmails() - { - $emails = \DB::table('emails')->count(); - $this->assertEquals(0, $emails); - } - - /** @test */ - public function itCanCreateEmail() - { - $email = $this->user->emails()->create([ - 'email' => 'info@cleaniquecoders.com', - 'is_default' => true, - ]); - $this->assertNotNull($email); - $this->assertEquals('info@cleaniquecoders.com', $email->email); - $this->assertTrue($email->is_default); - } -} diff --git a/tests/Feature/AddressTest.php b/tests/Feature/AddressTest.php new file mode 100644 index 0000000..6a03df8 --- /dev/null +++ b/tests/Feature/AddressTest.php @@ -0,0 +1,35 @@ +user = User::factory()->create(); +}); + +it('has addresses table', function () { + expect(Schema::hasTable('addresses'))->toBeTrue(); +}); + +it('has no address records', function () { + expect(Address::count())->toBe(0); +}); + +it('can create an address', function () { + $address = $this->user->addresses()->create([ + 'primary' => 'OSTIA, Bangi', + 'city' => 'Bandar Baru Bangi', + 'state' => 'Selangor', + 'country_id' => 131, + 'is_default' => true, + ]); + + expect($address)->not->toBeNull() + ->and($address->primary)->toBe('OSTIA, Bangi') + ->and($address->city)->toBe('Bandar Baru Bangi') + ->and($address->state)->toBe('Selangor') + ->and($address->country_id)->toBe(131) + ->and($address->is_default)->toBeTrue(); +}); diff --git a/tests/Feature/BankTest.php b/tests/Feature/BankTest.php new file mode 100644 index 0000000..7822b83 --- /dev/null +++ b/tests/Feature/BankTest.php @@ -0,0 +1,171 @@ +toBeTrue(); +}); + +it('has a bank accounts table', function () { + expect(Schema::hasTable('bank_accounts'))->toBeTrue(); +}); + +it('has predefined banks data', function () { + $banks = [ + ['name' => 'AFFIN BANK BERHAD', 'swift_code' => 'PHBMMYKL', 'bank_code' => 'PHBM'], + ['name' => 'AFFIN HWANG INVESTMENT BANK BERHAD', 'swift_code' => 'HDSBMY2P', 'bank_code' => 'HDSB'], + ['name' => 'AFFIN ISLAMIC BANK BERHAD', 'swift_code' => 'AIBBMYKL', 'bank_code' => 'AIBB'], + ['name' => 'AIA BHD.', 'swift_code' => 'AIACMYKL', 'bank_code' => 'AIAC'], + ['name' => 'BANK PERTANIAN MALAYSIA BERHAD - AGROBANK', 'swift_code' => 'AGOBMYKL', 'bank_code' => 'AGOB'], + ['name' => 'AL RAJHI BANKING AND INVESTMENT CORPORATION (MALAYSIA) BHD', 'swift_code' => 'RJHIMYKL', 'bank_code' => 'RJHI'], + ['name' => 'ALKHAIR INTERNATIONAL ISLAMIC BANK BERHAD', 'swift_code' => 'UIIBMYKL', 'bank_code' => 'UIIB'], + ['name' => 'ALLIANCE BANK MALAYSIA BERHAD', 'swift_code' => 'MFBBMYKL', 'bank_code' => 'MFBB'], + ['name' => 'ALLIANCE INVESTMENT BANK BERHAD', 'swift_code' => 'MBAMMYKL', 'bank_code' => 'MBAM'], + ['name' => 'ALLIANCE ISLAMIC BANK BERHAD', 'swift_code' => 'ALSRMYKL', 'bank_code' => 'ALSR'], + ['name' => 'AMBANK (M) BERHAD', 'swift_code' => 'ARBKMYKL', 'bank_code' => 'ARBK'], + ['name' => 'AMBANK (M) BERHAD LABUAN OFFSHORE BRANCH', 'swift_code' => 'ARBKMYKLLAB', 'bank_code' => 'ARBK'], + ['name' => 'AMINVESTMENT BANK BERHAD', 'swift_code' => 'AMMBMYKL', 'bank_code' => 'AMMB'], + ['name' => 'AMISLAMIC BANK BERHAD', 'swift_code' => 'AISLMYKL', 'bank_code' => 'AISL'], + ['name' => 'ASIAN FINANCE BANK BERHAD', 'swift_code' => 'AFBQMYKL', 'bank_code' => 'AFBQ'], + ['name' => 'ASIAN TRADE INVESTMENT BANK LTD', 'swift_code' => 'ATBLMY2A', 'bank_code' => 'ATBL'], + ['name' => 'BANGKOK BANK BERHAD', 'swift_code' => 'BKKBMYKL', 'bank_code' => 'BKKB'], + ['name' => 'BANK AL HABIB LIMITED', 'swift_code' => 'BAHLMY2A', 'bank_code' => 'BAHL'], + ['name' => 'BANK ISLAM MALAYSIA BERHAD', 'swift_code' => 'BIMBMYKL', 'bank_code' => 'BIMB'], + ['name' => 'BANK ISLAM MALAYSIA BERHAD LABUAN OFFSHORE BRANCH', 'swift_code' => 'BISLMYKA', 'bank_code' => 'BISL'], + ['name' => 'BANK MUAMALAT MALAYSIA BERHAD', 'swift_code' => 'BMMBMYKL', 'bank_code' => 'BMMB'], + ['name' => 'BANK MUAMALAT MALAYSIA BERHAD (TRADE FINANCE)', 'swift_code' => 'BMMBMYKLTFD', 'bank_code' => 'BMMB'], + ['name' => 'BANK NEGARA MALAYSIA (HEAD OFFICE)', 'swift_code' => 'BNMAMYKL', 'bank_code' => 'BNMA'], + ['name' => 'BANK NEGARA MALAYSIA', 'swift_code' => 'BNMAMY2K', 'bank_code' => 'BNMA'], + ['name' => 'BANK OF AMERICA, MALAYSIA BERHAD', 'swift_code' => 'BOFAMY2X', 'bank_code' => 'BOFA'], + ['name' => 'BANK OF AMERICA, MALAYSIA BERHAD', 'swift_code' => 'BOFAMY2XGRC', 'bank_code' => 'BOFA'], + ['name' => 'BANK OF AMERICA, MALAYSIA BERHAD', 'swift_code' => 'BOFAMY2XLMY', 'bank_code' => 'BOFA'], + ['name' => 'BANK OF AMERICA, MALAYSIA BERHAD', 'swift_code' => 'BOFAMY2XLBN', 'bank_code' => 'BOFA'], + ['name' => 'BANK OF CHINA (MALAYSIA) BERHAD', 'swift_code' => 'BKCHMYKL', 'bank_code' => 'BKCH'], + ['name' => 'BANK OF TOKYO-MITSUBISHI UFJ (MALAYSIA) BERHAD', 'swift_code' => 'BOTKMYKX', 'bank_code' => 'BOTK'], + ['name' => 'BANK KERJASAMA RAKYAT MALAYSIA BERHAD (BANK RAKYAT)', 'swift_code' => 'BKRMMYKL', 'bank_code' => 'BKRM'], + ['name' => 'Bank Simpanan Malaysia', 'swift_code' => '', 'bank_code' => ''], + ['name' => 'BNP PARIBAS', 'swift_code' => 'BNPAMYKA', 'bank_code' => 'BNPA'], + ['name' => 'BNP PARIBAS MALAYSIA BERHAD', 'swift_code' => 'BNPAMYKL', 'bank_code' => 'BNPA'], + ['name' => 'BNP PARIBAS MALAYSIA BERHAD (BNPPM ISLAMIC BANKING WINDOW)', 'swift_code' => 'BNPAMYKLSPI', 'bank_code' => 'BNPA'], + ['name' => 'CAGAMAS BERHAD', 'swift_code' => '', 'bank_code' => ''], + ['name' => 'CIMB BANK BERHAD', 'swift_code' => 'CIBBMYKL', 'bank_code' => 'CIBB'], + ['name' => 'CIMB BANK BERHAD (SECURITIES BORROWING AND LENDING)', 'swift_code' => 'CIBBMYKLSBL', 'bank_code' => 'CIBB'], + ['name' => 'CIMB BANK (L) LIMITED', 'swift_code' => 'CIBBMYKA', 'bank_code' => 'CIBB'], + ['name' => 'CIMB BANK BERHAD, LABUAN OFFSHORE BRANCH', 'swift_code' => 'CIBBMY2L', 'bank_code' => 'CIBB'], + ['name' => 'CIMB ISLAMIC BANK BERHAD', 'swift_code' => 'CTBBMYKL', 'bank_code' => 'CTBB'], + ['name' => 'CIMB-PRINCIPAL ASSET MANAGEMENT BERHAD', 'swift_code' => 'CANHMYKL', 'bank_code' => 'CANH'], + ['name' => 'CITIBANK BERHAD (JALAN AMPANG)', 'swift_code' => 'CITIMYKL', 'bank_code' => 'CITI'], + ['name' => 'CITIBANK BERHAD (PENANG BRANCH)', 'swift_code' => 'CITIMYKLPEN', 'bank_code' => 'CITI'], + ['name' => 'CITIBANK BERHAD (JOHOR BAHRU BRANCH)', 'swift_code' => 'CITIMYKLJOD', 'bank_code' => 'CITI'], + ['name' => 'CITIBANK BERHAD (LAB)', 'swift_code' => ' CITIMYKLLAB', 'bank_code' => 'CITI'], + ['name' => 'DBS BANK LTD, LABUAN BRANCH', 'swift_code' => 'DBSSMY2A', 'bank_code' => 'DBSS'], + ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD', 'swift_code' => 'DEUTMYKL', 'bank_code' => 'DEUT'], + ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD', 'swift_code' => 'DEUTMYKLGMO', 'bank_code' => 'DEUT'], + ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD', 'swift_code' => 'DEUTMYKLIBW', 'bank_code' => 'DEUT'], + ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD (INTERNATIONAL ISLAMIC BANKING, MALAYSIA BRANCH)', 'swift_code' => 'DEUTMYKLISB', 'bank_code' => 'DEUT'], + ['name' => 'DEUTSCHE BANK (MALAYSIA) BERHAD (LABUAN BRANCH)', 'swift_code' => 'DEUTMYKLBLB', 'bank_code' => 'DEUT'], + ['name' => 'EXPORT-IMPORT BANK OF MALAYSIA BERHAD', 'swift_code' => 'EXMBMYKL', 'bank_code' => 'EXMB'], + ['name' => 'FELDA GLOBAL VENTURES CAPITAL SDN. BHD.', 'swift_code' => 'FGVCMYKL', 'bank_code' => 'FGVC'], + ['name' => 'FIDELITY ASIA BANK LTD', 'swift_code' => 'FABEMY22', 'bank_code' => 'FABE'], + ['name' => 'HONG LEONG BANK BERHAD', 'swift_code' => 'HLBBMYKL', 'bank_code' => 'HLBB'], + ['name' => 'HONG LEONG BANK BERHAD (ISLAMIC BANKING UNIT)', 'swift_code' => 'HLBBMYKLIBU', 'bank_code' => 'HLBB'], + ['name' => 'HONG LEONG BANK BERHAD, JOHOR BAHRU, JOHOR', 'swift_code' => 'HLBBMYKLJBU', 'bank_code' => 'HLBB'], + ['name' => 'HONG LEONG BANK BERHAD, KUCHING, SARAWAK', 'swift_code' => 'HLBBMYKLKCH', 'bank_code' => 'HLBB'], + ['name' => 'HONG LEONG BANK BERHAD, PENANG, PENANG', 'swift_code' => 'HLBBMYKLPNG', 'bank_code' => 'HLBB'], + ['name' => 'HONG LEONG INVESTMENT BANK BERHAD', 'swift_code' => 'HLIVMYKL', 'bank_code' => 'HLIV'], + ['name' => 'HONG LEONG ISLAMIC BANK BERHAD', 'swift_code' => 'HLIBMYKL', 'bank_code' => 'HLIB'], + ['name' => 'THE HONGKONG AND SHANGHAI BANKING CORPORATION LTD.', 'swift_code' => 'HSBCMYKA', 'bank_code' => 'HSBC'], + ['name' => 'HSBC (MALAYSIA) TRUSTEE BERHAD', 'swift_code' => 'HSTMMYKL', 'bank_code' => 'HSTM'], + ['name' => 'HSBC (MALAYSIA) TRUSTEE BERHAD (GLOBAL WEALTH SOLUTIONS)', 'swift_code' => 'HSTMMYKLGWS', 'bank_code' => 'HSTM'], + ['name' => 'HSBC AMANAH MALAYSIA BERHAD', 'swift_code' => 'HMABMYKL', 'bank_code' => 'HMAB'], + ['name' => 'HSBC BANK MALAYSIA BERHAD', 'swift_code' => 'HBMBMYKL', 'bank_code' => 'HBMB'], + ['name' => 'INDIA INTERNATIONAL BANK (MALAYSIA) BERHAD', 'swift_code' => 'IIMBMYKL', 'bank_code' => 'IIMB'], + ['name' => 'INDUSTRIAL AND COMMERCIAL BANK OF CHINA (MALAYSIA) BERHAD.', 'swift_code' => 'ICBKMYKL', 'bank_code' => 'ICBK'], + ['name' => 'INDUSTRIAL AND COMMERCIAL BANK OF CHINA (MALAYSIA) BERHAD., (LABUAN BRANCH)', 'swift_code' => 'ICBKMYKLLAB', 'bank_code' => 'ICBK'], + ['name' => 'J.P.MORGAN CHASE BANK BERHAD', 'swift_code' => 'CHASMYKX', 'bank_code' => 'CHAS'], + ['name' => 'J.P.MORGAN CHASE BANK BERHAD, (JPMORGAN SECURITIES - MALAYSIA)', 'swift_code' => 'CHASMYKXSEC', 'bank_code' => 'CHAS'], + ['name' => 'J.P.MORGAN CHASE BANK BERHAD, (TEST KEY AND BKE ADMINISTRATION)', 'swift_code' => 'CHASMYKXKEY', 'bank_code' => 'CHAS'], + ['name' => 'JPMORGAN CHASE BANK, N.A., LABUAN BRANCH', 'swift_code' => 'CHASMY2A', 'bank_code' => 'CHAS'], + ['name' => 'KAF INVESTMENT BANK BERHAD', 'swift_code' => 'KAFBMYKL', 'bank_code' => 'KAFB'], + ['name' => 'KENANGA INVESTMENT BANK BERHAD', 'swift_code' => 'ECMLMYKL', 'bank_code' => 'ECML'], + ['name' => 'KUWAIT FINANCE HOUSE (MALAYSIA) BERHAD', 'swift_code' => 'KFHOMYKL', 'bank_code' => 'KFHO'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK)', 'swift_code' => 'MBBEMYKL', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), BUTTERWORTH, PENANG (TRADE FINANCE CENTER) ', 'swift_code' => 'MBBEMYKLBWC', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), IPOH, PERAK', 'swift_code' => 'MBBEMYKLIPH', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), JOHOR BAHRU, JOHOR', 'swift_code' => 'MBBEMYKLJOB', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KOTA KINABALU, SABAH', 'swift_code' => 'MBBEMYKLKIN', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (BANGSAR BARU BRANCH)', 'swift_code' => 'MBBEMYKLBAN', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (BUKIT BINTANG BRANCH)', 'swift_code' => 'MBBEMYKLBBG', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (CASH MANAGEMENT DEPARTMENT)', 'swift_code' => 'MBBEMYKLWEB', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (CUSTODIAN SERVICES DEPARTMENT)', 'swift_code' => 'MBBEMYKLCSD', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (KEPONG BRANCH)', 'swift_code' => 'MBBEMYKLKEP', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (PUDU BRANCH)', 'swift_code' => 'MBBEMYKLPUD', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (SUBANG AIRPORT)', 'swift_code' => 'MBBEMYKLSUB', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (TRADE FINANCE CENTER)', 'swift_code' => 'MBBEMYKLKLC', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), KUALA LUMPUR (WISMA SIME DARBY BRANCH)', 'swift_code' => 'MBBEMYKLWSD', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), MALACCA, MALACCA', 'swift_code' => 'MBBEMYKLMAL', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PASIR GUDANG, JOHOR', 'swift_code' => 'MBBEMYKLPSG', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PENANG, PENANG (TRADE FINANCE CENTER)', 'swift_code' => 'MBBEMYKLPGC', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PENANG, PENANG', 'swift_code' => 'MBBEMYKLPEN', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PETALING JAYA, SELANGOR (TRADE FINANCE CENTER)', 'swift_code' => 'MBBEMYKLPJC', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PETALING JAYA, SELANGOR (YONG SHOOK LIN BRANCH)', 'swift_code' => 'MBBEMYKLYSL', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PETALING JAYA, SELANGOR', 'swift_code' => 'MBBEMYKLPJY', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), PORT KLANG, SELANGOR', 'swift_code' => 'MBBEMYKLPKG', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), SEREMBAN, NEGRI SEMBILAN', 'swift_code' => 'MBBEMYKLSBN', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), SHAH ALAM, SELANGOR (TRADE FINANCE CENTER)', 'swift_code' => 'MBBEMYKLSAC', 'bank_code' => 'MBBE'], + ['name' => 'MALAYAN BANKING BERHAD (MAYBANK), SHAH ALAM, SELANGOR', 'swift_code' => 'MBBEMYKLSHA', 'bank_code' => 'MBBE'], + ['name' => 'MALAYSIA AIRLINES BERHAD', 'swift_code' => 'MAYHMY22', 'bank_code' => 'MAYH'], + ['name' => 'MAX MONEY SDN BHD', 'swift_code' => 'MMSBMYKL', 'bank_code' => 'MMSB'], + ['name' => 'MAYBANK INTERNATIONAL (L) LTD.', 'swift_code' => 'MBBEMYKA', 'bank_code' => 'MBBE'], + ['name' => 'MAYBANK INTERNATIONAL LABUAN BRANCH', 'swift_code' => 'MBBEMY2L', 'bank_code' => 'MBBE'], + ['name' => 'MAYBANK INVESTMENT BANK BERHAD', 'swift_code' => 'MBEAMYKL', 'bank_code' => 'MBEA'], + ['name' => 'MAYBANK ISLAMIC BERHAD', 'swift_code' => 'MBISMYKL', 'bank_code' => 'MBIS'], + ['name' => 'MEGA INTERNATIONAL COMMERCIAL BANK CO., LTD. LABUAN BRANCH', 'swift_code' => 'ICBCMY2L', 'bank_code' => 'ICBC'], + ['name' => 'MERCEDES-BENZ MALAYSIA SDN. BHD', 'swift_code' => 'DABEMYKL', 'bank_code' => 'DABE'], + ['name' => 'MERCEDES-BENZ SERVICES MALAYSIA SDN. BHD.', 'swift_code' => 'MBSMMYKL', 'bank_code' => 'MBSM'], + ['name' => 'MIDDLE EAST INVESTMENT BANK LTD', 'swift_code' => 'MEIBMYKA', 'bank_code' => 'MEIB'], + ['name' => 'MIZUHO BANK (MALAYSIA) BERHAD', 'swift_code' => 'MHCBMYKA', 'bank_code' => 'MHCB'], + ['name' => 'MIZUHO BANK, LTD., LABUAN BRANCH', 'swift_code' => 'MHCBMY2L', 'bank_code' => 'MHCB'], + ['name' => 'NATIONAL BANK OF ABU DHABI', 'swift_code' => 'NBADMYKL', 'bank_code' => 'NBAD'], + ['name' => 'NATIONAL BANK OF ABU DHABI, LABUAN', 'swift_code' => 'NBADMYKLLAU', 'bank_code' => 'NBAD'], + ['name' => 'NOMURA ASSET MANAGEMENT MALAYSIA SDN BHD', 'swift_code' => 'NOCMMYKL', 'bank_code' => 'NOCM'], + ['name' => 'OCBC BANK (MALAYSIA) BERHAD', 'swift_code' => 'OCBCMYKL', 'bank_code' => 'OCBC'], + ['name' => 'OCBC AL-AMIN BANK BERHAD', 'swift_code' => 'OABBMYKL', 'bank_code' => 'OABB'], + ['name' => 'PETROLIAM NASIONAL BERHAD', 'swift_code' => 'PTROMYKL', 'bank_code' => 'PTRO'], + ['name' => 'PETROLIAM NASIONAL BERHAD, KUALA LUMPUR (KLCC)', 'swift_code' => 'PTROMYKLFSD', 'bank_code' => 'PTRO'], + ['name' => 'PETRONAS CARIGALI SDN BHD', 'swift_code' => 'PCGLMYKL', 'bank_code' => 'PCGL'], + ['name' => 'PETRONAS TRADING CORPORATION SDN. BHD', 'swift_code' => 'PTRDMYKL', 'bank_code' => 'PTRD'], + ['name' => 'PG ASIA INVESTMENT BANK LTD', 'swift_code' => 'AINEMY22', 'bank_code' => 'AINE'], + ['name' => 'PUBLIC BANK BERHAD', 'swift_code' => 'PBBEMYKL', 'bank_code' => 'PBBE'], + ['name' => 'PUBLIC BANK (L) LTD', 'swift_code' => 'PBLLMYKA', 'bank_code' => 'PBLL'], + ['name' => 'PUBLIC ISLAMIC BANK BERHAD', 'swift_code' => 'PUIBMYKL', 'bank_code' => 'PUIB'], + ['name' => 'RHB BANK BERHAD', 'swift_code' => 'RHBBMYKL', 'bank_code' => 'RHBB'], + ['name' => 'RHB BANK (L) LTD', 'swift_code' => 'RHBBMYKA', 'bank_code' => 'RHBB'], + ['name' => 'RHB INVESTMENT BANK BERHAD', 'swift_code' => 'OSKIMYKL', 'bank_code' => 'OSKI'], + ['name' => 'RHB ISLAMIC BANK BERHAD', 'swift_code' => 'RHBAMYKL', 'bank_code' => 'RHBA'], + ['name' => 'STANDARD CHARTERED BANK MALAYSIA BERHAD', 'swift_code' => 'SCBLMYKX', 'bank_code' => 'SCBL'], + ['name' => 'STANDARD CHARTERED BANK MALAYSIA BERHAD, (LABUAN OFFSHORE BANKING UNIT)', 'swift_code' => 'SCBLMYKXLAB', 'bank_code' => 'SCBL'], + ['name' => 'STANDARD CHARTERED SAADIQ BERHAD', 'swift_code' => 'SCSRMYKK', 'bank_code' => 'SCSR'], + ['name' => 'SUMITOMO MITSUI BANKING CORPORATION MALAYSIA BERHAD', 'swift_code' => 'SMBCMYKL', 'bank_code' => 'SMBC'], + ['name' => 'SUMITOMO MITSUI BANKING CORPORATION', 'swift_code' => 'SMBCMYKA', 'bank_code' => 'SMBC'], + ['name' => 'THE BANK OF NOVA SCOTIA,', 'swift_code' => 'NOSCMY2L', 'bank_code' => 'NOSC'], + ['name' => 'THE BANK OF TOKYO-MITSUBISHI UFJ, LTD. (LABUAN BRANCH)', 'swift_code' => 'BOTKMYKA', 'bank_code' => 'BOTK'], + ['name' => 'THE ROYAL BANK OF SCOTLAND BERHAD ', 'swift_code' => 'ABNAMYKL', 'bank_code' => 'ABNA'], + ['name' => 'THE ROYAL BANK OF SCOTLAND BERHAD, PENANG, PENANG', 'swift_code' => 'ABNAMYKLPNG', 'bank_code' => 'ABNA'], + ['name' => 'THE ROYAL BANK OF SCOTLAND PLC LABUAN BRANCH', 'swift_code' => 'ABNAMY2A', 'bank_code' => 'ABNA'], + ['name' => 'UNITED OVERSEAS BANK (MALAYSIA) BERHAD', 'swift_code' => 'UOVBMYKL', 'bank_code' => 'UOVB'], + ['name' => 'UNITED OVERSEAS BANK (MALAYSIA) BERHAD, (CUSTODIAN AND NOMINEES DEPARTMENT)', 'swift_code' => 'UOVBMYKLCND', 'bank_code' => 'UOVB'], + ['name' => 'UNITED OVERSEAS BANK (MALAYSIA) BERHAD', 'swift_code' => 'UOVBMY2L', 'bank_code' => 'UOVB'], + ]; + + foreach ($banks as $bank) { + assertDatabaseHas('banks', $bank); + } +}); diff --git a/tests/Feature/ConfigTest.php b/tests/Feature/ConfigTest.php new file mode 100644 index 0000000..ec3438c --- /dev/null +++ b/tests/Feature/ConfigTest.php @@ -0,0 +1,5 @@ +not->toBeEmpty(); +}); diff --git a/tests/Feature/CountryTest.php b/tests/Feature/CountryTest.php new file mode 100644 index 0000000..97be310 --- /dev/null +++ b/tests/Feature/CountryTest.php @@ -0,0 +1,22 @@ +not->toBeEmpty() + ->and(config('profile.seeders'))->toContain('CleaniqueCoders\Profile\Database\Seeders\CountrySeeder'); +}); + +it('has a countries table', function () { + expect(Schema::hasTable('countries'))->toBeTrue(); +}); + +it('has countries data', function () { + expect(Country::count())->toBe(241); +}); diff --git a/tests/Feature/EmailTest.php b/tests/Feature/EmailTest.php new file mode 100644 index 0000000..a9ddb9a --- /dev/null +++ b/tests/Feature/EmailTest.php @@ -0,0 +1,29 @@ +user = User::factory()->create(); +}); + +it('has the emails table', function () { + expect(Schema::hasTable('emails'))->toBeTrue(); +}); + +it('has no emails', function () { + expect(Email::count())->toBe(0); +}); + +it('can create an email', function () { + $email = $this->user->emails()->create([ + 'email' => 'info@cleaniquecoders.com', + 'is_default' => true, + ]); + + expect($email)->not->toBeNull() + ->and($email->email)->toBe('info@cleaniquecoders.com') + ->and($email->is_default)->toBeTrue(); +}); diff --git a/tests/Feature/PhoneTest.php b/tests/Feature/PhoneTest.php new file mode 100644 index 0000000..aa2f853 --- /dev/null +++ b/tests/Feature/PhoneTest.php @@ -0,0 +1,79 @@ +user = User::factory()->create(); +}); + +it('has the phones table', function () { + expect(Schema::hasTable('phones'))->toBeTrue(); +}); + +it('can create a home phone', function () { + $phone = $this->user->phones()->create([ + 'phone_number' => '+6089259167', + 'is_default' => true, + 'phone_type_id' => PhoneType::HOME, + ]); + + expect($phone)->not->toBeNull() + ->and($phone->phone_number)->toBe('+6089259167') + ->and($phone->is_default)->toBeTrue() + ->and($phone->phone_type_id)->toBe(PhoneType::HOME); +}); + +it('can create a mobile phone', function () { + $phone = $this->user->phones()->create([ + 'phone_number' => '+60191234567', + 'is_default' => true, + 'phone_type_id' => PhoneType::MOBILE, + ]); + + expect($phone)->not->toBeNull() + ->and($phone->phone_number)->toBe('+60191234567') + ->and($phone->is_default)->toBeTrue() + ->and($phone->phone_type_id)->toBe(PhoneType::MOBILE); +}); + +it('can create an office phone', function () { + $phone = $this->user->phones()->create([ + 'phone_number' => '+60380001000', + 'is_default' => true, + 'phone_type_id' => PhoneType::OFFICE, + ]); + + expect($phone)->not->toBeNull() + ->and($phone->phone_number)->toBe('+60380001000') + ->and($phone->is_default)->toBeTrue() + ->and($phone->phone_type_id)->toBe(PhoneType::OFFICE); +}); + +it('can create another phone', function () { + $phone = $this->user->phones()->create([ + 'phone_number' => '+60380001000', + 'is_default' => true, + 'phone_type_id' => PhoneType::OTHER, + ]); + + expect($phone)->not->toBeNull() + ->and($phone->phone_number)->toBe('+60380001000') + ->and($phone->is_default)->toBeTrue() + ->and($phone->phone_type_id)->toBe(PhoneType::OTHER); +}); + +it('can create a fax phone', function () { + $phone = $this->user->phones()->create([ + 'phone_number' => '+60380001001', + 'is_default' => true, + 'phone_type_id' => PhoneType::FAX, + ]); + + expect($phone)->not->toBeNull() + ->and($phone->phone_number)->toBe('+60380001001') + ->and($phone->is_default)->toBeTrue() + ->and($phone->phone_type_id)->toBe(PhoneType::FAX); +}); diff --git a/tests/Feature/PhoneTypeTest.php b/tests/Feature/PhoneTypeTest.php new file mode 100644 index 0000000..264151f --- /dev/null +++ b/tests/Feature/PhoneTypeTest.php @@ -0,0 +1,49 @@ +user = User::factory()->create(); + + Artisan::call('profile:seed'); +}); +it('has the correct config', function () { + expect(config('profile'))->not->toBeEmpty() + ->and(config('profile.seeders'))->toContain('CleaniqueCoders\Profile\Database\Seeders\PhoneTypeSeeder'); +}); + +it('has the phone types table', function () { + expect(Schema::hasTable('phone_types'))->toBeTrue(); +}); + +it('has five phone types', function () { + $count = DB::table('phone_types')->count(); + expect($count)->toBe(5); +}); + +it('has common phone types in config', function () { + expect(config('profile.data.phoneType'))->not->toBeEmpty(); + + $expectedTypes = ['Home', 'Mobile', 'Office', 'Other', 'Fax']; + foreach ($expectedTypes as $type) { + expect(config('profile.data.phoneType'))->toContain($type); + } +}); + +it('has common phone types in the database', function () { + Artisan::call('db:seed', [ + '--class' => \CleaniqueCoders\Profile\Database\Seeders\PhoneTypeSeeder::class, + ]); + + assertDatabaseHas('phone_types', ['name' => 'Home']); + assertDatabaseHas('phone_types', ['name' => 'Mobile']); + assertDatabaseHas('phone_types', ['name' => 'Office']); + assertDatabaseHas('phone_types', ['name' => 'Other']); + assertDatabaseHas('phone_types', ['name' => 'Fax']); +}); diff --git a/tests/Feature/WebsiteTest.php b/tests/Feature/WebsiteTest.php new file mode 100644 index 0000000..973669e --- /dev/null +++ b/tests/Feature/WebsiteTest.php @@ -0,0 +1,30 @@ +user = User::factory()->create(); +}); +it('has the websites table', function () { + expect(Schema::hasTable('websites'))->toBeTrue(); +}); + +it('has no websites initially', function () { + expect(Website::count())->toBe(0); +}); + +it('can create a website', function () { + $website = $this->user->websites()->create([ + 'name' => 'Cleanique Coders', + 'url' => 'https://cleaniquecoders.com', + 'is_default' => true, + ]); + + expect($website)->not->toBeNull() + ->and($website->name)->toBe('Cleanique Coders') + ->and($website->url)->toBe('https://cleaniquecoders.com') + ->and($website->is_default)->toBeTrue(); +}); diff --git a/tests/Pest.php b/tests/Pest.php new file mode 100644 index 0000000..76d218e --- /dev/null +++ b/tests/Pest.php @@ -0,0 +1,5 @@ +in(__DIR__); diff --git a/tests/PhoneTest.php b/tests/PhoneTest.php deleted file mode 100644 index 0ddd080..0000000 --- a/tests/PhoneTest.php +++ /dev/null @@ -1,116 +0,0 @@ -assertTrue(Schema::hasTable('phones')); - } - - /** @test */ - public function itCanCreateHomePhone() - { - $phone = $this->user->phones()->create([ - 'phone_number' => '+6089259167', - 'is_default' => true, - 'phone_type_id' => PhoneType::HOME, - ]); - - $this->assertNotNull($phone); - $this->assertEquals('+6089259167', $phone->phone_number); - $this->assertTrue($phone->is_default); - $this->assertEquals(PhoneType::HOME, $phone->phone_type_id); - } - - /** @test */ - public function itCanCreateMobilePhone() - { - $phone = $this->user->phones()->create([ - 'phone_number' => '+60191234567', - 'is_default' => true, - 'phone_type_id' => PhoneType::MOBILE, - ]); - $this->assertNotNull($phone); - $this->assertEquals('+60191234567', $phone->phone_number); - $this->assertTrue($phone->is_default); - $this->assertEquals(PhoneType::MOBILE, $phone->phone_type_id); - } - - /** @test */ - public function itCanCreateOfficePhone() - { - $phone = $this->user->phones()->create([ - 'phone_number' => '+60380001000', - 'is_default' => true, - 'phone_type_id' => PhoneType::OFFICE, - ]); - $this->assertNotNull($phone); - $this->assertEquals('+60380001000', $phone->phone_number); - $this->assertTrue($phone->is_default); - $this->assertEquals(PhoneType::OFFICE, $phone->phone_type_id); - } - - /** @test */ - public function itCanCreateOtherPhone() - { - $phone = $this->user->phones()->create([ - 'phone_number' => '+60380001000', - 'is_default' => true, - 'phone_type_id' => PhoneType::OTHER, - ]); - $this->assertNotNull($phone); - $this->assertEquals('+60380001000', $phone->phone_number); - $this->assertTrue($phone->is_default); - $this->assertEquals(PhoneType::OTHER, $phone->phone_type_id); - } - - /** @test */ - public function itCanCreateFaxPhone() - { - $phone = $this->user->phones()->create([ - 'phone_number' => '+60380001001', - 'is_default' => true, - 'phone_type_id' => PhoneType::FAX, - ]); - $this->assertNotNull($phone); - $this->assertEquals('+60380001001', $phone->phone_number); - $this->assertTrue($phone->is_default); - $this->assertEquals(PhoneType::FAX, $phone->phone_type_id); - } -} diff --git a/tests/PhoneTypeTest.php b/tests/PhoneTypeTest.php deleted file mode 100644 index 73b2f93..0000000 --- a/tests/PhoneTypeTest.php +++ /dev/null @@ -1,72 +0,0 @@ -assertTrue(! empty(config('profile'))); - $this->assertContains('CleaniqueCoders\Profile\Database\Seeders\PhoneTypeSeeder', config('profile.seeders')); - } - - /** @test */ - public function hasPhoneTypesTable() - { - $this->assertTrue(Schema::hasTable('phone_types')); - } - - /** @test */ - public function hasPhoneTypes() - { - $phone_types = \DB::table('phone_types')->count(); - $this->assertEquals(5, $phone_types); - } - - /** @test */ - public function hasCommonPhoneTypesConfig() - { - $this->assertTrue(! empty(config('profile.data.phoneType'))); - $types = [ - 'Home', - 'Mobile', - 'Office', - 'Other', - 'Fax', - ]; - foreach ($types as $type) { - $this->assertContains($type, config('profile.data.phoneType')); - } - } - - /** @test */ - public function hasCommonPhoneTypes() - { - $this->artisan('db:seed', [ - '--class' => \CleaniqueCoders\Profile\Database\Seeders\PhoneTypeSeeder::class, - ]); - - $this->assertDatabaseHas('phone_types', [ - 'name' => 'Home', - ]); - - $this->assertDatabaseHas('phone_types', [ - 'name' => 'Mobile', - ]); - - $this->assertDatabaseHas('phone_types', [ - 'name' => 'Office', - ]); - - $this->assertDatabaseHas('phone_types', [ - 'name' => 'Other', - ]); - - $this->assertDatabaseHas('phone_types', [ - 'name' => 'Fax', - ]); - } -} diff --git a/tests/Stubs/User.php b/tests/Stubs/User.php deleted file mode 100644 index 53c9c57..0000000 --- a/tests/Stubs/User.php +++ /dev/null @@ -1,11 +0,0 @@ -startUp(); - } - - public function tearDown(): void - { - $this->cleanUp(); - parent::tearDown(); - } - - public function startUp() - { - $this->publish(); - $this->migrate(); - $this->seedData(); - $this->createAUser(); - } - - public function publish() - { - $this->artisan('vendor:publish', ['--tag' => 'profile-factories']); - $this->artisan('vendor:publish', ['--tag' => 'profile-migrations']); - $this->artisan('vendor:publish', ['--tag' => 'profile-seeds']); - } - - public function migrate() - { - $this->loadLaravelMigrations(['--database' => 'testbench']); - $this->artisan('migrate', ['--database' => 'testbench']); - } - - public function seedData() - { - $this->artisan('profile:seed'); - } - - public function createAUser() - { - $this->user = new User(); - $this->user->name = 'Cleanique Coders'; - $this->user->email = 'test@cleaniquecoders.com'; - $this->user->password = bcrypt('password'); - $this->user->save(); - } - - public function cleanUp() - { - collect() - ->concat( - glob(database_path('/factories/*.php')) - ) - ->concat( - glob(database_path('/migrations/*.php')) - ) - ->concat( - glob(database_path('/seeds/*.php')) - )->each(function ($path) { - if (file_exists($path)) { - unlink($path); - } - }); - } - /** @test */ - public function itHasConfig() - { - $this->assertTrue(! empty(config('profile'))); - $this->assertEquals($this->getActualConfigKey(), $this->getExpectedConfigKey()); - $this->assertEquals($this->getActualConfigModelClass(), $this->getExpectedConfigModelClass()); - $this->assertEquals($this->getActualConfigType(), $this->getExpectedConfigType()); - } - - public function getActualConfigKey(): string - { - return $this->get_actual_config_key; - } - - public function getExpectedConfigKey(): string - { - return $this->get_expected_config_key; - } - - public function getActualConfigModelClass(): string - { - return $this->get_actual_config_model_class; - } - - public function getExpectedConfigModelClass(): string - { - return $this->get_expected_config_model_class; - } - - public function getActualConfigType(): string - { - return $this->get_actual_config_type; - } - - public function getExpectedConfigType(): string - { - return $this->get_expected_config_type; + // Automatically guess the factory names based on the model name + Factory::guessFactoryNamesUsing( + fn (string $modelName) => 'Workbench\\Database\\Factories\\'.class_basename($modelName).'Factory' + ); } protected function getPackageProviders($app) { return [ - \CleaniqueCoders\Profile\ProfileServiceProvider::class, - \CleaniqueCoders\Blueprint\Macro\BlueprintMacroServiceProvider::class, + ProfileServiceProvider::class, ]; } - /** - * Define environment setup. - * - * @param \Illuminate\Foundation\Application $app - */ - protected function getEnvironmentSetUp($app) + public function getEnvironmentSetUp($app) { - // Setup default database to use sqlite :memory: - $app['config']->set('database.default', 'testbench'); - $app['config']->set('database.connections.testbench', [ + // Set up SQLite in-memory for testing + config()->set('database.default', 'testing'); + + config()->set('database.connections.testing', [ 'driver' => 'sqlite', 'database' => ':memory:', 'prefix' => '', ]); + + // Run the migration for the event manager + $migrations = [ + __DIR__.'/../database/migrations/create_addresses_table.php.stub', + __DIR__.'/../database/migrations/create_banks_table.php.stub', + __DIR__.'/../database/migrations/create_countries_table.php.stub', + __DIR__.'/../database/migrations/create_emails_table.php.stub', + __DIR__.'/../database/migrations/create_phone_types_table.php.stub', + __DIR__.'/../database/migrations/create_phones_table.php.stub', + __DIR__.'/../database/migrations/create_websites_table.php.stub', + ]; + + foreach ($migrations as $key => $value) { + $migration = include $value; + $migration->up(); + } } } diff --git a/tests/TestCaseBak.php b/tests/TestCaseBak.php new file mode 100644 index 0000000..1f96434 --- /dev/null +++ b/tests/TestCaseBak.php @@ -0,0 +1,141 @@ +startUp(); + } + + public function tearDown(): void + { + $this->cleanUp(); + parent::tearDown(); + } + + public function startUp() + { + $this->publish(); + $this->migrate(); + $this->seedData(); + $this->createAUser(); + } + + public function publish() + { + $this->artisan('vendor:publish', ['--tag' => 'profile-factories']); + $this->artisan('vendor:publish', ['--tag' => 'profile-migrations']); + $this->artisan('vendor:publish', ['--tag' => 'profile-seeds']); + } + + public function migrate() + { + $this->loadLaravelMigrations(['--database' => 'testbench']); + $this->artisan('migrate', ['--database' => 'testbench']); + } + + public function seedData() + { + $this->artisan('profile:seed'); + } + + public function createAUser() + { + $this->user = new User; + $this->user->name = 'Cleanique Coders'; + $this->user->email = 'test@cleaniquecoders.com'; + $this->user->password = bcrypt('password'); + $this->user->save(); + } + + public function cleanUp() + { + collect() + ->concat( + glob(database_path('/factories/*.php')) + ) + ->concat( + glob(database_path('/migrations/*.php')) + ) + ->concat( + glob(database_path('/seeds/*.php')) + )->each(function ($path) { + if (file_exists($path)) { + unlink($path); + } + }); + } + + /** @test */ + public function itHasConfig() + { + $this->assertTrue(! empty(config('profile'))); + $this->assertEquals($this->getActualConfigKey(), $this->getExpectedConfigKey()); + $this->assertEquals($this->getActualConfigModelClass(), $this->getExpectedConfigModelClass()); + $this->assertEquals($this->getActualConfigType(), $this->getExpectedConfigType()); + } + + public function getActualConfigKey(): string + { + return $this->get_actual_config_key; + } + + public function getExpectedConfigKey(): string + { + return $this->get_expected_config_key; + } + + public function getActualConfigModelClass(): string + { + return $this->get_actual_config_model_class; + } + + public function getExpectedConfigModelClass(): string + { + return $this->get_expected_config_model_class; + } + + public function getActualConfigType(): string + { + return $this->get_actual_config_type; + } + + public function getExpectedConfigType(): string + { + return $this->get_expected_config_type; + } + + protected function getPackageProviders($app) + { + return [ + \CleaniqueCoders\Profile\ProfileServiceProvider::class, + \CleaniqueCoders\Blueprint\Macro\BlueprintMacroServiceProvider::class, + ]; + } + + /** + * Define environment setup. + * + * @param \Illuminate\Foundation\Application $app + */ + protected function getEnvironmentSetUp($app) + { + // Setup default database to use sqlite :memory: + $app['config']->set('database.default', 'testbench'); + $app['config']->set('database.connections.testbench', [ + 'driver' => 'sqlite', + 'database' => ':memory:', + 'prefix' => '', + ]); + } +} diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php new file mode 100644 index 0000000..61cd84c --- /dev/null +++ b/tests/Unit/ExampleTest.php @@ -0,0 +1,5 @@ +toBeTrue(); +}); diff --git a/tests/WebsiteTest.php b/tests/WebsiteTest.php deleted file mode 100644 index 371b605..0000000 --- a/tests/WebsiteTest.php +++ /dev/null @@ -1,65 +0,0 @@ -assertTrue(Schema::hasTable('websites')); - } - - /** @test */ - public function hasWebsites() - { - $websites = \DB::table('websites')->count(); - $this->assertEquals(0, $websites); - } - - /** @test */ - public function itCanCreateWebsite() - { - $website = $this->user->websites()->create([ - 'name' => 'Cleanique Coders', - 'url' => 'https://cleaniquecoders.com', - 'is_default' => true, - ]); - $this->assertNotNull($website); - $this->assertEquals('Cleanique Coders', $website->name); - $this->assertEquals('https://cleaniquecoders.com', $website->url); - $this->assertTrue($website->is_default); - } -} diff --git a/workbench/app/Models/User.php b/workbench/app/Models/User.php index 1405251..4ef230b 100644 --- a/workbench/app/Models/User.php +++ b/workbench/app/Models/User.php @@ -3,14 +3,15 @@ namespace Workbench\App\Models; // use Illuminate\Contracts\Auth\MustVerifyEmail; + +use CleaniqueCoders\Profile\Concerns\HasProfile; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Foundation\Auth\User as Authenticatable; use Illuminate\Notifications\Notifiable; -use Laravel\Sanctum\HasApiTokens; class User extends Authenticatable { - use HasFactory, Notifiable; + use HasFactory, HasProfile, Notifiable; /** * The attributes that are mass assignable. From c8c00596ccdd599cefc11ad8afb9f2a43fd762b8 Mon Sep 17 00:00:00 2001 From: Nasrul Hazim Bin Mohamad Date: Fri, 25 Oct 2024 01:07:02 +0800 Subject: [PATCH 6/7] Update dependencies --- composer.json | 6 +++--- composer.lock | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index 774a6d9..495534a 100644 --- a/composer.json +++ b/composer.json @@ -23,9 +23,9 @@ } }, "require": { - "php": "^8.1 | ^8.2 | ^8.3", - "illuminate/support": "^9.0 | ^10.0 | ^11.0", - "illuminate/auth": "^9.0 | ^10.0 | ^11.0", + "php": "^8.3", + "illuminate/support": "^11.0", + "illuminate/auth": "^11.0", "cleaniquecoders/blueprint-macro": "^5.0", "spatie/laravel-package-tools": "^1.16", "cleaniquecoders/traitify": "^1.0" diff --git a/composer.lock b/composer.lock index 70a2bae..609e5ec 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7f8c26faad379b241f857b9a3c908546", + "content-hash": "468cac535b7efae6e12df5373a0e9943", "packages": [ { "name": "brick/math", @@ -10705,7 +10705,7 @@ "prefer-stable": true, "prefer-lowest": false, "platform": { - "php": "^8.1 | ^8.2 | ^8.3" + "php": "^8.3" }, "platform-dev": [], "plugin-api-version": "2.6.0" From 5cf0ecd8a071900cfaef5d8143c1444d6b9ba35f Mon Sep 17 00:00:00 2001 From: Nasrul Hazim Bin Mohamad Date: Fri, 25 Oct 2024 01:07:11 +0800 Subject: [PATCH 7/7] Update github action --- .github/workflows/run-tests.yml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 34db353..d4bbe67 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,22 +9,24 @@ on: jobs: test: runs-on: ${{ matrix.os }} + timeout-minutes: 5 strategy: fail-fast: true matrix: - os: [ubuntu-latest, windows-latest] - php: [8.1, 8.2] - laravel: [10.*] + os: [ubuntu-latest] + php: [8.3] + laravel: [11.*] stability: [prefer-lowest, prefer-stable] include: - - laravel: 10.* - testbench: 8.* + - laravel: 11.* + testbench: 9.* + carbon: ^2.63 name: P${{ matrix.php }} - L${{ matrix.laravel }} - ${{ matrix.stability }} - ${{ matrix.os }} steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 @@ -40,11 +42,11 @@ jobs: - name: Install dependencies run: | - composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" --no-interaction --no-update + composer require "laravel/framework:${{ matrix.laravel }}" "orchestra/testbench:${{ matrix.testbench }}" "nesbot/carbon:${{ matrix.os == 'windows-latest' && '^^^' || '' }}${{ matrix.carbon }}" --no-interaction --no-update composer update --${{ matrix.stability }} --prefer-dist --no-interaction - name: List Installed Dependencies run: composer show -D - name: Execute tests - run: vendor/bin/pest + run: vendor/bin/pest --ci