diff --git a/app/Http/Controllers/Bo/ProductsController.php b/app/Http/Controllers/Bo/ProductsController.php index 14cdde5a..5d30d957 100644 --- a/app/Http/Controllers/Bo/ProductsController.php +++ b/app/Http/Controllers/Bo/ProductsController.php @@ -26,12 +26,17 @@ use Illuminate\Http\UploadedFile; use Illuminate\Support\Facades\DB; use Illuminate\Support\Facades\File; use Illuminate\Support\Facades\Session; -use Illuminate\Support\Str; class ProductsController extends Controller { use UpdateModelStatus; + /** + * Display a listing of the resource. + * + * @param \App\Http\Requests\SearchProduct $request + * @return \Illuminate\Http\Response + */ public function index(SearchProduct $request) { $ranges = Range::all(['id', 'name']); @@ -60,9 +65,15 @@ class ProductsController extends Controller return view('bo.products.index', compact('p', 'searchFields', 'ranges')); } + /** + * Show the form for creating a new resource. + * + * @return \Illuminate\Http\Response + */ public function create() { - // Limitation aux champs dont on a besoin sur certaines requêtes pour ne pas surcharger ces dernières + // Limitation aux champs dont on a besoin sur certaines + // requêtes pour ne pas surcharger ces dernières. $pictograms = ProductPictograms::paginate(); $pictosDatas = []; foreach ($pictograms as $picto) { @@ -87,89 +98,103 @@ class ProductsController extends Controller )); } + /** + * Store a newly created resource in storage. + * + * @param \App\Http\Requests\StoreProductRequest $request + * @return \Illuminate\Http\Response + */ public function store(StoreProductRequest $request) { - $name = $request->name; - $slug = Str::slug($name); - $seo_title = $request->seo_title; - $seo_description = $request->seo_description; - $tags = $request->tags; - $subtitle = $request->subtitle; - $info1 = $request->info1; - $info2 = $request->info2; - $description = $request->description; - $numberPortion = intval($request->number_portion); - $typePortion = $request->type_portion; - $theoreticalAverageWeight = $request->theoretical_average_weight; - $otherFormat = $request->other_format; - $rangeId = $request->range_id; - $meatTypeId = $request->meat_type_id; - $consumptionTimesId = $request->consumption_times_id; - $labelId = (\is_string($request->label_id) and \strlen($request->label_id)) ? $request->label_id : null; - $preparationAdvice = $request->preparation_advice; - $ingredients = $request->ingredients; - $tips = $request->tips; - $recipeId = $request->recipe_id; - $videoLink = $request->video_link; - $status = 0; - $pictos = json_decode($request->pictos); + return DB::transaction(function () use ($request) { + $name = $request->name; + $seo_title = $request->seo_title; + $seo_description = $request->seo_description; + $tags = $request->tags; + $subtitle = $request->subtitle; + $info1 = $request->info1; + $info2 = $request->info2; + $description = $request->description; + $numberPortion = intval($request->number_portion); + $typePortion = $request->type_portion; + $theoreticalAverageWeight = $request->theoretical_average_weight; + $otherFormat = $request->other_format; + $rangeId = $request->range_id; + $meatTypeId = $request->meat_type_id; + $consumptionTimesId = $request->consumption_times_id; + $labelId = (\is_string($request->label_id) and + \strlen($request->label_id)) ? $request->label_id : null; + $preparationAdvice = $request->preparation_advice; + $ingredients = $request->ingredients; + $tips = $request->tips; + $recipeId = $request->recipe_id; + $videoLink = $request->video_link; + $status = 0; + $pictos = json_decode($request->pictos); - $p = new Products(); + $p = new Products(); - $this->storeUploadedImage($request, $p, 'picture'); - $this->storeUploadedImage($request, $p, 'pictureVideo'); + $this->storeUploadedImage($request, $p, 'picture'); + $this->storeUploadedImage($request, $p, 'pictureVideo'); - $p->name = $name; - $p->slug = $slug; - $p->seo_title = $seo_title; - $p->seo_description = $seo_description; - $p->tags = $tags; - $p->subtitle = $subtitle; - $p->info1 = $info1; - $p->info2 = $info2; - $p->description = $description; - $p->number_portion = $numberPortion; - $p->type_portion = $typePortion; - $p->theoretical_average_weight = $theoreticalAverageWeight; - $p->other_format = $otherFormat; - $p->range_id = $rangeId; - $p->sub_range_id = $request->sub_range_id ?: null; - $p->meat_type_id = $meatTypeId; - $p->consumption_times_id = $consumptionTimesId; - $p->label_id = $labelId; - $p->preparation_advice = $preparationAdvice; - $p->ingredients = $ingredients; - $p->tips = $tips; - if (!empty($recipeId)) { - $p->recipe_id = $recipeId; - } - $p->video_link = $videoLink; - $p->status = $status; - $p->order = $this->getLastOrder(); - $p->star = 0; - $p->show_rsm = 0; - $p->xml_inco_id = $request->xml_inco; - $p->saveOrFail(); + $p->name = $name; + $p->seo_title = $seo_title; + $p->seo_description = $seo_description; + $p->tags = $tags; + $p->subtitle = $subtitle; + $p->info1 = $info1; + $p->info2 = $info2; + $p->description = $description; + $p->number_portion = $numberPortion; + $p->type_portion = $typePortion; + $p->theoretical_average_weight = $theoreticalAverageWeight; + $p->other_format = $otherFormat; + $p->range_id = $rangeId; + $p->sub_range_id = $request->sub_range_id ?: null; + $p->meat_type_id = $meatTypeId; + $p->consumption_times_id = $consumptionTimesId; + $p->label_id = $labelId; + $p->preparation_advice = $preparationAdvice; + $p->ingredients = $ingredients; + $p->tips = $tips; + if (!empty($recipeId)) { + $p->recipe_id = $recipeId; + } + $p->video_link = $videoLink; + $p->status = $status; + $p->order = $this->getLastOrder(); + $p->star = 0; + $p->show_rsm = 0; + $p->xml_inco_id = $request->xml_inco; + $p->saveOrFail(); - // Gestion des pictos - $pictosIds = []; - foreach ($pictos as $picto) { - $pictosIds[] = $picto->id; - } - $p->pictograms()->sync($pictosIds); + // Gestion des pictos. + $pictosIds = []; + foreach ($pictos as $picto) { + $pictosIds[] = $picto->id; + } + $p->pictograms()->sync($pictosIds); - // Gestion des valeurs nutritionelles - $inv = new IncoNutritionalValues(); - $inv->fill($request->validated()); - $inv->product()->associate($p); - $inv->save(); + // Gestion des valeurs nutritionelles. + $inv = new IncoNutritionalValues(); + $inv->fill($request->validated()); + $inv->product()->associate($p); + $inv->save(); - return redirect()->route('bo.products.edit', $p); + return redirect()->route('bo.products.edit', $p); + }); } + /** + * Show the form for editing the specified resource. + * + * @param \App\Models\Products $p + * @return \Illuminate\Http\Response + */ public function edit(Products $p) { - // Limitation aux champs dont on a besoin sur certaines requêtes pour ne pas surcharger ces dernières + // Limitation aux champs dont on a besoin + // sur certaines requêtes pour ne pas surcharger ces dernières. $pictograms = ProductPictograms::all(); $pictosDatas = []; foreach ($pictograms as $picto) { @@ -204,85 +229,96 @@ class ProductsController extends Controller )); } + /** + * Update the specified resource in storage. + * + * @param \App\Http\Requests\UpdateProductRequest $request + * @param \App\Models\Products $p + * @return \Illuminate\Http\Response + */ public function update(UpdateProductRequest $request, Products $p) { - $name = $request->name; - $slug = Str::slug($name); - $seo_description = $request->seo_description; - $seo_title = $request->seo_title; - $picture = $request->picture; - $tags = $request->tags; - $subtitle = $request->subtitle; - $info1 = $request->info1; - $info2 = $request->info2; - $description = $request->description; - $numberPortion = intval($request->number_portion); - $typePortion = $request->type_portion; - $theoreticalAverageWeight = $request->theoretical_average_weight; - $otherFormat = $request->other_format; - $rangeId = $request->range_id; - $meatTypeId = $request->meat_type_id; - $consumptionTimesId = $request->consumption_times_id; - $labelId = (\is_string($request->label_id) and \strlen($request->label_id)) ? $request->label_id : null; - $preparationAdvice = $request->preparation_advice; - $ingredients = $request->ingredients; - $tips = $request->tips; - $recipeId = $request->recipe_id; - $videoLink = $request->video_link; - $pictureVideo = $request->picture_video; - $status = $request->status === null ? 0 : 1; - $show_rsm = $request->show_rsm === null ? 0 : 1; - $pictos = json_decode($request->pictos); + return DB::transaction(function () use ($request, $p) { + $name = $request->name; + $seo_description = $request->seo_description; + $seo_title = $request->seo_title; + $tags = $request->tags; + $subtitle = $request->subtitle; + $info1 = $request->info1; + $info2 = $request->info2; + $description = $request->description; + $numberPortion = intval($request->number_portion); + $typePortion = $request->type_portion; + $theoreticalAverageWeight = $request->theoretical_average_weight; + $otherFormat = $request->other_format; + $rangeId = $request->range_id; + $meatTypeId = $request->meat_type_id; + $consumptionTimesId = $request->consumption_times_id; + $labelId = (\is_string($request->label_id) and + \strlen($request->label_id)) ? $request->label_id : null; + $preparationAdvice = $request->preparation_advice; + $ingredients = $request->ingredients; + $tips = $request->tips; + $recipeId = $request->recipe_id; + $videoLink = $request->video_link; + $status = $request->status === null ? 0 : 1; + $show_rsm = $request->show_rsm === null ? 0 : 1; + $pictos = json_decode($request->pictos); - $this->storeUploadedImage($request, $p, 'picture'); - $this->storeUploadedImage($request, $p, 'pictureVideo'); + $this->storeUploadedImage($request, $p, 'picture'); + $this->storeUploadedImage($request, $p, 'pictureVideo'); - // Gestion des valeurs nutritionelles - /** @var \App\Models\IncoNutritionalValues */ - $inv = $p->incoNutritionalValues ?? new IncoNutritionalValues(); - $inv->fill($request->validated()); - $inv->product()->associate($p); - $inv->save(); + // Gestion des valeurs nutritionelles. + /** @var \App\Models\IncoNutritionalValues */ + $inv = $p->incoNutritionalValues ?? new IncoNutritionalValues(); + $inv->fill($request->validated()); + $inv->product()->associate($p); + $inv->save(); - // Gestion des pictos - $pictosIds = []; - foreach ($pictos as $picto) { - $pictosIds[] = $picto->id; - } - $p->pictograms()->sync($pictosIds); + // Gestion des pictos. + $pictosIds = []; + foreach ($pictos as $picto) { + $pictosIds[] = $picto->id; + } + $p->pictograms()->sync($pictosIds); - $p->name = $name; - $p->slug = $slug; - $p->tags = $tags; - $p->subtitle = $subtitle; - $p->seo_title = $seo_title; - $p->seo_description = $seo_description; - $p->info1 = $info1; - $p->info2 = $info2; - $p->description = $description; - $p->number_portion = $numberPortion; - $p->type_portion = $typePortion; - $p->theoretical_average_weight = $theoreticalAverageWeight; - $p->other_format = $otherFormat; - $p->range_id = $rangeId; - $p->sub_range_id = $request->sub_range_id ?: null; - $p->meat_type_id = $meatTypeId; - $p->consumption_times_id = $consumptionTimesId; - $p->label_id = $labelId; - $p->preparation_advice = $preparationAdvice; - $p->ingredients = $ingredients; - $p->tips = $tips; - if (!empty($recipeId)) { - $p->recipe_id = $recipeId; - } - $p->video_link = $videoLink; - $p->show_rsm = $show_rsm; - $p->status = $status; - $p->saveOrFail(); - - return redirect()->route('bo.products.edit', $p->id)->with('success', 'Enregistré !'); + $p->name = $name; + $p->tags = $tags; + $p->subtitle = $subtitle; + $p->seo_title = $seo_title; + $p->seo_description = $seo_description; + $p->info1 = $info1; + $p->info2 = $info2; + $p->description = $description; + $p->number_portion = $numberPortion; + $p->type_portion = $typePortion; + $p->theoretical_average_weight = $theoreticalAverageWeight; + $p->other_format = $otherFormat; + $p->range_id = $rangeId; + $p->sub_range_id = $request->sub_range_id ?: null; + $p->meat_type_id = $meatTypeId; + $p->consumption_times_id = $consumptionTimesId; + $p->label_id = $labelId; + $p->preparation_advice = $preparationAdvice; + $p->ingredients = $ingredients; + $p->tips = $tips; + if (!empty($recipeId)) { + $p->recipe_id = $recipeId; + } + $p->video_link = $videoLink; + $p->show_rsm = $show_rsm; + $p->status = $status; + $p->saveOrFail(); + return redirect()->route('bo.products.edit', $p->id)->with('success', 'Enregistré !'); + }); } + /** + * Remove the specified resource from storage. + * + * @param \App\Models\Products $product + * @return \Illuminate\Http\Response + */ public function destroy(Products $product) { if (!$product->recipes()->count()) { diff --git a/app/Http/Controllers/CustomerController.php b/app/Http/Controllers/CustomerController.php index 286845b3..a1e6d661 100644 --- a/app/Http/Controllers/CustomerController.php +++ b/app/Http/Controllers/CustomerController.php @@ -96,14 +96,21 @@ class CustomerController extends Controller return response()->json(); } - public function setItemInCart(Products $product, bool $status) + /** + * Add item in customer shopping list + * + * @param \App\Models\Products $publishedProduct + * @param boolean $status + * @return void + */ + public function setItemInCart(Products $publishedProduct, bool $status): void { /** @var \App\Models\Customer */ $customer = Auth::guard('customer')->user(); if ($status) { - $customer->products()->attach($product); + $customer->products()->attach($publishedProduct); } else { - $customer->products()->detach($product); + $customer->products()->detach($publishedProduct); } } diff --git a/app/Http/Controllers/ProductsController.php b/app/Http/Controllers/ProductsController.php index 7daa2508..37d43bbb 100644 --- a/app/Http/Controllers/ProductsController.php +++ b/app/Http/Controllers/ProductsController.php @@ -30,7 +30,7 @@ class ProductsController extends Controller return view('front.products.index', compact('productsSlides', 'ranges', 'meatTypes', 'ct', 'labels')); } - public function filter(Model $model, SubRange $subrange = null) + public function filter(Model $model, SubRange $slugSubRange = null) { // On récupère les mêmes données qu'au dessus pour l'affichage $productsSlides = ProductSliderPictures::where('status', 1)->orderBy('order', 'ASC')->get(); @@ -52,11 +52,11 @@ class ProductsController extends Controller /** @var \App\Models\Range */ $gamme = $model; $subranges = $gamme->subranges()->orderBy('order')->get(); - if ($subrange) { + if ($slugSubRange) { $title = $gamme->name; $productsList = $gamme->products() ->where('status', true) - ->where('sub_range_id', $subrange->id) + ->where('sub_range_id', $slugSubRange->id) ->orderBy('order') ->get(); } else { @@ -88,7 +88,9 @@ class ProductsController extends Controller default: abort(404); break; - }//end switch + } //end switch + + $subrange = $slugSubRange; return view('front.products.index', compact( 'productsList', @@ -106,11 +108,17 @@ class ProductsController extends Controller )); } - public function show(Products $product) + /** + * Display product + * + * @param \App\Models\Products $frontProduct + * @return \Illuminate\Contracts\View\View|\Illuminate\Contracts\View\Factory + */ + public function show(Products $frontProduct) { - $recipeVideo = $product->recipe()->first(); + $recipeVideo = $frontProduct->recipe()->first(); - $recipes = $product->recipes()->get(); + $recipes = $frontProduct->recipes()->get(); $ids = []; foreach ($recipes as $r) { $ids[] = $r->id; @@ -119,6 +127,7 @@ class ProductsController extends Controller $generalConfig = app()->view->getShared()['GeneralConfigGlobal'] ?? null; $generalConfig = $generalConfig ? $generalConfig->where('type', GeneralConfigType::rsm())->first() : null; $recipes = Recipes::whereIn('id', $ids)->where('status', true)->get(); + $product = $frontProduct; return view('front.products.product', compact('product', 'recipes', 'recipeVideo', 'generalConfig')); } diff --git a/app/Http/Middleware/RedirectOldSlugs.php b/app/Http/Middleware/RedirectOldSlugs.php index a0ab3fe8..7a2d2a16 100644 --- a/app/Http/Middleware/RedirectOldSlugs.php +++ b/app/Http/Middleware/RedirectOldSlugs.php @@ -5,6 +5,7 @@ namespace App\Http\Middleware; use App\Enums\BreedingPageType; use App\Models\BreedingPage; use App\Models\OldSlugable; +use App\Models\Products; use Illuminate\Http\RedirectResponse; use Illuminate\Http\Request; @@ -39,6 +40,21 @@ class RedirectOldSlugs ]), 301); } } + ) ?? $this->handleOldSlug( + $request, + 'publishedProduct', + Products::class, + [], + function ($oldSlug) { + if (\is_object($oldSlug)) { + /** @var \App\Models\Products */ + $publishedProduct = Products::query() + ->where('id', $oldSlug->old_slugable_id)->firstOrFail(); + return redirect(route('product.show', [ + 'publishedProduct' => $publishedProduct->slug + ]), 301); + } + } ) ?? $next($request); } diff --git a/app/Models/Products.php b/app/Models/Products.php index 96d2192a..145192f3 100644 --- a/app/Models/Products.php +++ b/app/Models/Products.php @@ -4,40 +4,67 @@ namespace App\Models; use Illuminate\Database\Eloquent\Model; use Illuminate\Support\Facades\Session; +use Illuminate\Support\Str; class Products extends Model { + /** + * The attributes that should be cast. + * + * @var array + */ protected $casts = [ 'star' => 'boolean' ]; + /** + * Perform any actions required after the model boots. + * + * @return void + */ protected static function booted() { - static::creating(function (Products $product) { - if (!$product->incoNutritionalValues) { + static::creating(function (self $model) { + self::setStarLogic($model); + $model->slug = Str::slug($model->name); + $model->preparation_advice = clean($model->preparation_advice); + $model->ingredients = clean($model->ingredients); + $model->tips = clean($model->tips); + + OldSlugable::removeSameSlugs($model, $model->slug); + if (!$model->incoNutritionalValues) { $inc = new IncoNutritionalValues(); $inc->product()->associate($inc); } - $product->preparation_advice = clean($product->preparation_advice); - $product->ingredients = clean($product->ingredients); - $product->tips = clean($product->tips); - self::setStarLogic($product); }); - static::updating(function (Products $product) { - $product->preparation_advice = clean($product->preparation_advice); - $product->ingredients = clean($product->ingredients); - $product->tips = clean($product->tips); - self::setStarLogic($product); + static::updating(function (self $model) { + self::setStarLogic($model); + $model->slug = Str::slug($model->name); + $model->preparation_advice = clean($model->preparation_advice); + $model->ingredients = clean($model->ingredients); + $model->tips = clean($model->tips); - if ($product->status !== $product->getOriginal('status')) { + if ($model->slug != $model->getOriginal('slug')) { + OldSlugable::removeSameSlugs($model, $model->getOriginal('slug')); + } + + if ($model->status !== $model->getOriginal('status')) { Session::flash('info', trans('Le produit :product à été :status', [ - 'product' => $product->name, - 'status' => $product->status ? trans('publié') : trans('dépublié'), + 'product' => $model->name, + 'status' => $model->status ? trans('publié') : trans('dépublié'), ])); } + OldSlugable::insertSlug($model); }); } + // * RELATIONSHIPS + + /** + * belongsToMany ProductPictograms + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ public function pictograms() { return $this->belongsToMany( @@ -48,60 +75,124 @@ class Products extends Model ); } + /** + * BelongsTo Range + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ public function range() { return $this->belongsTo(Range::class); } + + /** + * BelongsTo WidSubRangeget + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ public function subrange() { return $this->belongsTo(SubRange::class, 'sub_range_id'); } + /** + * BelongsTo MeatTypes + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ public function meatType() { return $this->belongsTo(MeatTypes::class, 'meat_type_id'); } + /** + * BelongsTo Label + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ public function label() { return $this->belongsTo(Label::class, 'label_id'); } + /** + * BelongsTo ConsumptionTimes + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ public function consumptionTimes() { return $this->belongsTo(ConsumptionTimes::class, 'consumption_times_id'); } + /** + * BelongsTo Recipes + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ public function recipe() { return $this->belongsTo(Recipes::class); } + /** + * HasMany IncoNutritionalValues + * + * @return \Illuminate\Database\Eloquent\Relations\HasOne + */ public function incoNutritionalValues() { return $this->hasOne(IncoNutritionalValues::class, 'product_id'); } + /** + * BelongsToMany Recipes + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ public function recipes() { return $this->belongsToMany(Recipes::class, 'recipes_products', 'product_id', 'recipe_id'); } + /** + * BelongsToMany Customers + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ public function customers() { return $this->belongsToMany(Customers::class, 'cart', 'product_id', 'customer_id'); } + /** + * BelongsToMany Reduction + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsToMany + */ public function reductions() { return $this->belongsToMany(Reduction::class, 'reduction_config', 'product_id', 'reduction_id'); } + /** + * BelongsTo XmlInco + * + * @return \Illuminate\Database\Eloquent\Relations\BelongsTo + */ public function xmlInco() { return $this->belongsTo(XmlInco::class, 'xml_inco_id'); } + // * METHODS + + /** + * Is start attribution logic + * + * @param self $product + * @return void + */ protected static function setStarLogic(self $product) { // * Prevent a product beeing star if not published diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index 2d517e34..42218657 100644 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -32,7 +32,9 @@ use App\Models\Reduction; use App\Models\SubRange; use App\Models\Tag; use BadMethodCallException; +use Illuminate\Database\Eloquent\Builder; use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider; +use Illuminate\Routing\Route as RoutingRoute; use Illuminate\Support\Facades\Route; use Kwaadpepper\Enum\Exceptions\EnumNotRoutableException; @@ -95,8 +97,12 @@ class RouteServiceProvider extends ServiceProvider } }); Route::model('engagement', Engagement::class); + Route::bind('publishedProduct', function ($value) { + // * Old slug middleware will throw 404 if needed. + return Products::where('slug', $value)->where('status', true)->first() ?? $value; + }); Route::bind('product', function ($value) { - return Products::where('id', $value)->orWhere('slug', $value)->firstOrFail(); + return Products::where('id', $value)->firstOrFail(); }); Route::bind('range', function ($value) { return Range::where('id', $value)->orWhere('slug', $value)->firstOrFail(); @@ -104,8 +110,16 @@ class RouteServiceProvider extends ServiceProvider Route::bind('moment', function ($value) { return Moments::where('id', $value)->orWhere('slug', $value)->firstOrFail(); }); + Route::bind('slugSubRange', function ($value, RoutingRoute $route) { + // * slugRange must be resolved since slugSubRange comes second on url. + /** @var \App\Models\Range */ + $slugRange = $route->parameter('slugRange'); + return SubRange::whereSlug($value)->whereHas('ranges', function (Builder $q) use ($slugRange) { + $q->where('id', $slugRange->id); + })->firstOrFail(); + }); Route::bind('subRange', function ($value) { - return SubRange::where('id', $value)->orWhere('slug', $value)->firstOrFail(); + return SubRange::where('id', $value)->firstOrFail(); }); Route::bind('slugRange', function ($value) { return Range::where('slug', $value)->where('status', true)->firstOrFail(); diff --git a/composer.json b/composer.json index 651e5b8d..ef5c44ea 100644 --- a/composer.json +++ b/composer.json @@ -22,7 +22,7 @@ "kwaadpepper/enum": "^2.1", "kwaadpepper/exception-handler": "^0.1.0", "kwaadpepper/image-resizer": "^0.1.0", - "kwaadpepper/refresh-sitemap": "^0.0.1", + "kwaadpepper/refresh-sitemap": "^1.0", "kwaadpepper/serial-int-caster": "^1.0", "laravel/framework": "^8.0", "laravel/tinker": "^2.0", diff --git a/composer.lock b/composer.lock index 4681c51f..f030b976 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": "6359c7404575d0379a3608dd9b93877c", + "content-hash": "a4d7c7694b3cebded2199c1fe82a7f43", "packages": [ { "name": "asm89/stack-cors", @@ -191,43 +191,43 @@ }, { "name": "carlos-meneses/laravel-mpdf", - "version": "2.1.5", + "version": "2.1.11", "source": { "type": "git", "url": "https://github.com/mccarlosen/laravel-mpdf.git", - "reference": "810008e1a4b82fb6c8c74cdf32fd130195756027" + "reference": "cb52e5c17df9caa340eaed8566cfb1e3c7b37c33" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mccarlosen/laravel-mpdf/zipball/810008e1a4b82fb6c8c74cdf32fd130195756027", - "reference": "810008e1a4b82fb6c8c74cdf32fd130195756027", + "url": "https://api.github.com/repos/mccarlosen/laravel-mpdf/zipball/cb52e5c17df9caa340eaed8566cfb1e3c7b37c33", + "reference": "cb52e5c17df9caa340eaed8566cfb1e3c7b37c33", "shasum": "" }, "require": { "mpdf/mpdf": "^8.0", - "php": ">=7.0.0" + "php": "^5.6|^7.0|^8.0" }, "type": "library", "extra": { "laravel": { "providers": [ - "Meneses\\LaravelMpdf\\LaravelMpdfServiceProvider" + "Mccarlosen\\LaravelMpdf\\LaravelMpdfServiceProvider" ], "aliases": { - "PDF": "Meneses\\LaravelMpdf\\Facades\\LaravelMpdf" + "PDF": "Mccarlosen\\LaravelMpdf\\Facades\\LaravelMpdf" } } }, "autoload": { "psr-4": { - "Meneses\\LaravelMpdf\\": "src/LaravelMpdf" + "Mccarlosen\\LaravelMpdf\\": "src/" } }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "description": "Laravel Mpdf: Using Mpdf in Laravel 5 for generate Pdfs.", + "description": "Laravel Mpdf: Using Mpdf in Laravel to generate Pdfs.", "keywords": [ "laravel", "mpdf", @@ -235,9 +235,15 @@ ], "support": { "issues": "https://github.com/mccarlosen/laravel-mpdf/issues", - "source": "https://github.com/mccarlosen/laravel-mpdf/tree/2.1.5" + "source": "https://github.com/mccarlosen/laravel-mpdf/tree/2.1.11" }, - "time": "2021-03-30T21:17:19+00:00" + "funding": [ + { + "url": "https://www.paypal.me/mccarlosen", + "type": "custom" + } + ], + "time": "2022-12-28T02:20:09+00:00" }, { "name": "diglactic/laravel-breadcrumbs", @@ -560,34 +566,35 @@ }, { "name": "doctrine/event-manager", - "version": "1.1.2", + "version": "1.2.0", "source": { "type": "git", "url": "https://github.com/doctrine/event-manager.git", - "reference": "eb2ecf80e3093e8f3c2769ac838e27d8ede8e683" + "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/event-manager/zipball/eb2ecf80e3093e8f3c2769ac838e27d8ede8e683", - "reference": "eb2ecf80e3093e8f3c2769ac838e27d8ede8e683", + "url": "https://api.github.com/repos/doctrine/event-manager/zipball/95aa4cb529f1e96576f3fda9f5705ada4056a520", + "reference": "95aa4cb529f1e96576f3fda9f5705ada4056a520", "shasum": "" }, "require": { + "doctrine/deprecations": "^0.5.3 || ^1", "php": "^7.1 || ^8.0" }, "conflict": { "doctrine/common": "<2.9" }, "require-dev": { - "doctrine/coding-standard": "^9", - "phpstan/phpstan": "~1.4.10 || ^1.5.4", + "doctrine/coding-standard": "^9 || ^10", + "phpstan/phpstan": "~1.4.10 || ^1.8.8", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.22" + "vimeo/psalm": "^4.24" }, "type": "library", "autoload": { "psr-4": { - "Doctrine\\Common\\": "lib/Doctrine/Common" + "Doctrine\\Common\\": "src" } }, "notification-url": "https://packagist.org/downloads/", @@ -631,7 +638,7 @@ ], "support": { "issues": "https://github.com/doctrine/event-manager/issues", - "source": "https://github.com/doctrine/event-manager/tree/1.1.2" + "source": "https://github.com/doctrine/event-manager/tree/1.2.0" }, "funding": [ { @@ -647,32 +654,32 @@ "type": "tidelift" } ], - "time": "2022-07-27T22:18:11+00:00" + "time": "2022-10-12T20:51:15+00:00" }, { "name": "doctrine/inflector", - "version": "2.0.4", + "version": "2.0.6", "source": { "type": "git", "url": "https://github.com/doctrine/inflector.git", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89" + "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/inflector/zipball/8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", - "reference": "8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89", + "url": "https://api.github.com/repos/doctrine/inflector/zipball/d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", + "reference": "d9d313a36c872fd6ee06d9a6cbcf713eaa40f024", "shasum": "" }, "require": { "php": "^7.2 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^8.2", - "phpstan/phpstan": "^0.12", - "phpstan/phpstan-phpunit": "^0.12", - "phpstan/phpstan-strict-rules": "^0.12", - "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", - "vimeo/psalm": "^4.10" + "doctrine/coding-standard": "^10", + "phpstan/phpstan": "^1.8", + "phpstan/phpstan-phpunit": "^1.1", + "phpstan/phpstan-strict-rules": "^1.3", + "phpunit/phpunit": "^8.5 || ^9.5", + "vimeo/psalm": "^4.25" }, "type": "library", "autoload": { @@ -722,7 +729,7 @@ ], "support": { "issues": "https://github.com/doctrine/inflector/issues", - "source": "https://github.com/doctrine/inflector/tree/2.0.4" + "source": "https://github.com/doctrine/inflector/tree/2.0.6" }, "funding": [ { @@ -738,7 +745,7 @@ "type": "tidelift" } ], - "time": "2021-10-22T20:16:43+00:00" + "time": "2022-10-20T09:10:12+00:00" }, { "name": "doctrine/lexer", @@ -818,16 +825,16 @@ }, { "name": "dragonmantank/cron-expression", - "version": "v3.3.1", + "version": "v3.3.2", "source": { "type": "git", "url": "https://github.com/dragonmantank/cron-expression.git", - "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa" + "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/be85b3f05b46c39bbc0d95f6c071ddff669510fa", - "reference": "be85b3f05b46c39bbc0d95f6c071ddff669510fa", + "url": "https://api.github.com/repos/dragonmantank/cron-expression/zipball/782ca5968ab8b954773518e9e49a6f892a34b2a8", + "reference": "782ca5968ab8b954773518e9e49a6f892a34b2a8", "shasum": "" }, "require": { @@ -867,7 +874,7 @@ ], "support": { "issues": "https://github.com/dragonmantank/cron-expression/issues", - "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.1" + "source": "https://github.com/dragonmantank/cron-expression/tree/v3.3.2" }, "funding": [ { @@ -875,7 +882,7 @@ "type": "github" } ], - "time": "2022-01-18T15:43:28+00:00" + "time": "2022-09-10T18:51:20+00:00" }, { "name": "egulias/email-validator", @@ -1255,16 +1262,16 @@ }, { "name": "filp/whoops", - "version": "2.14.5", + "version": "2.14.6", "source": { "type": "git", "url": "https://github.com/filp/whoops.git", - "reference": "a63e5e8f26ebbebf8ed3c5c691637325512eb0dc" + "reference": "f7948baaa0330277c729714910336383286305da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/filp/whoops/zipball/a63e5e8f26ebbebf8ed3c5c691637325512eb0dc", - "reference": "a63e5e8f26ebbebf8ed3c5c691637325512eb0dc", + "url": "https://api.github.com/repos/filp/whoops/zipball/f7948baaa0330277c729714910336383286305da", + "reference": "f7948baaa0330277c729714910336383286305da", "shasum": "" }, "require": { @@ -1314,7 +1321,7 @@ ], "support": { "issues": "https://github.com/filp/whoops/issues", - "source": "https://github.com/filp/whoops/tree/2.14.5" + "source": "https://github.com/filp/whoops/tree/2.14.6" }, "funding": [ { @@ -1322,7 +1329,7 @@ "type": "github" } ], - "time": "2022-01-07T12:00:00+00:00" + "time": "2022-11-02T16:23:29+00:00" }, { "name": "fruitcake/laravel-cors", @@ -1405,16 +1412,16 @@ }, { "name": "giggsey/libphonenumber-for-php", - "version": "8.12.54", + "version": "8.13.4", "source": { "type": "git", "url": "https://github.com/giggsey/libphonenumber-for-php.git", - "reference": "d0bad134ca7206d36784c2c5ec531ba4513efde7" + "reference": "b2cebcf2b8d3e194b692d8bae2a5b79f5366674c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php/zipball/d0bad134ca7206d36784c2c5ec531ba4513efde7", - "reference": "d0bad134ca7206d36784c2c5ec531ba4513efde7", + "url": "https://api.github.com/repos/giggsey/libphonenumber-for-php/zipball/b2cebcf2b8d3e194b692d8bae2a5b79f5366674c", + "reference": "b2cebcf2b8d3e194b692d8bae2a5b79f5366674c", "shasum": "" }, "require": { @@ -1470,24 +1477,23 @@ "validation" ], "support": { - "irc": "irc://irc.appliedirc.com/lobby", "issues": "https://github.com/giggsey/libphonenumber-for-php/issues", "source": "https://github.com/giggsey/libphonenumber-for-php" }, - "time": "2022-08-22T06:43:42+00:00" + "time": "2023-01-09T09:44:18+00:00" }, { "name": "giggsey/locale", - "version": "2.2", + "version": "2.3", "source": { "type": "git", "url": "https://github.com/giggsey/Locale.git", - "reference": "9c1dca769253f6a3e81f9a5c167f53b6a54ab635" + "reference": "5f035523740be40d40ac768a123c9bcc1ae12f56" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/giggsey/Locale/zipball/9c1dca769253f6a3e81f9a5c167f53b6a54ab635", - "reference": "9c1dca769253f6a3e81f9a5c167f53b6a54ab635", + "url": "https://api.github.com/repos/giggsey/Locale/zipball/5f035523740be40d40ac768a123c9bcc1ae12f56", + "reference": "5f035523740be40d40ac768a123c9bcc1ae12f56", "shasum": "" }, "require": { @@ -1501,10 +1507,10 @@ "phing/phing": "^2.7", "php-coveralls/php-coveralls": "^2.0", "phpunit/phpunit": "^8.5|^9.5", - "symfony/console": "^5.0", - "symfony/filesystem": "^5.0", - "symfony/finder": "^5.0", - "symfony/process": "^5.0" + "symfony/console": "^5.0|^6.0", + "symfony/filesystem": "^5.0|^6.0", + "symfony/finder": "^5.0|^6.0", + "symfony/process": "^5.0|^6.0" }, "type": "library", "autoload": { @@ -1526,9 +1532,9 @@ "description": "Locale functions required by libphonenumber-for-php", "support": { "issues": "https://github.com/giggsey/Locale/issues", - "source": "https://github.com/giggsey/Locale/tree/2.2" + "source": "https://github.com/giggsey/Locale/tree/2.3" }, - "time": "2022-04-06T07:33:59+00:00" + "time": "2022-10-19T20:03:30+00:00" }, { "name": "graham-campbell/result-type", @@ -1594,16 +1600,16 @@ }, { "name": "guzzlehttp/guzzle", - "version": "7.4.5", + "version": "7.5.0", "source": { "type": "git", "url": "https://github.com/guzzle/guzzle.git", - "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82" + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", - "reference": "1dd98b0564cb3f6bd16ce683cb755f94c10fbd82", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", "shasum": "" }, "require": { @@ -1618,10 +1624,10 @@ "psr/http-client-implementation": "1.0" }, "require-dev": { - "bamarni/composer-bin-plugin": "^1.4.1", + "bamarni/composer-bin-plugin": "^1.8.1", "ext-curl": "*", "php-http/client-integration-tests": "^3.0", - "phpunit/phpunit": "^8.5.5 || ^9.3.5", + "phpunit/phpunit": "^8.5.29 || ^9.5.23", "psr/log": "^1.1 || ^2.0 || ^3.0" }, "suggest": { @@ -1631,8 +1637,12 @@ }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": false + }, "branch-alias": { - "dev-master": "7.4-dev" + "dev-master": "7.5-dev" } }, "autoload": { @@ -1698,7 +1708,7 @@ ], "support": { "issues": "https://github.com/guzzle/guzzle/issues", - "source": "https://github.com/guzzle/guzzle/tree/7.4.5" + "source": "https://github.com/guzzle/guzzle/tree/7.5.0" }, "funding": [ { @@ -1714,20 +1724,20 @@ "type": "tidelift" } ], - "time": "2022-06-20T22:16:13+00:00" + "time": "2022-08-28T15:39:27+00:00" }, { "name": "guzzlehttp/promises", - "version": "1.5.1", + "version": "1.5.2", "source": { "type": "git", "url": "https://github.com/guzzle/promises.git", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da" + "reference": "b94b2807d85443f9719887892882d0329d1e2598" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/fe752aedc9fd8fcca3fe7ad05d419d32998a06da", - "reference": "fe752aedc9fd8fcca3fe7ad05d419d32998a06da", + "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", + "reference": "b94b2807d85443f9719887892882d0329d1e2598", "shasum": "" }, "require": { @@ -1782,7 +1792,7 @@ ], "support": { "issues": "https://github.com/guzzle/promises/issues", - "source": "https://github.com/guzzle/promises/tree/1.5.1" + "source": "https://github.com/guzzle/promises/tree/1.5.2" }, "funding": [ { @@ -1798,7 +1808,7 @@ "type": "tidelift" } ], - "time": "2021-10-22T20:56:57+00:00" + "time": "2022-08-28T14:55:35+00:00" }, { "name": "guzzlehttp/psr7", @@ -2142,27 +2152,27 @@ }, { "name": "kwaadpepper/enum", - "version": "2.1.4", + "version": "2.1.3", "source": { "type": "git", "url": "https://github.com/Kwaadpepper/enum.git", - "reference": "767d8c8d150c29c4f2cb462864ab07df71e92f6d" + "reference": "cc695e6a07ee57a1220942581c303842e186b22f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Kwaadpepper/enum/zipball/767d8c8d150c29c4f2cb462864ab07df71e92f6d", - "reference": "767d8c8d150c29c4f2cb462864ab07df71e92f6d", + "url": "https://api.github.com/repos/Kwaadpepper/enum/zipball/cc695e6a07ee57a1220942581c303842e186b22f", + "reference": "cc695e6a07ee57a1220942581c303842e186b22f", "shasum": "" }, "require": { "php": ">=7.3" }, "require-dev": { - "orchestra/testbench": "^5", - "phpunit/php-code-coverage": "^9.2", - "phpunit/phpunit": "~9.0", - "slevomat/coding-standard": "^7.0", - "squizlabs/php_codesniffer": "^3.5" + "orchestra/testbench": "^6", + "phpunit/php-code-coverage": "^9", + "phpunit/phpunit": "~9", + "slevomat/coding-standard": "^7", + "squizlabs/php_codesniffer": "^3" }, "type": "library", "extra": { @@ -2196,9 +2206,9 @@ ], "support": { "issues": "https://github.com/Kwaadpepper/enum/issues", - "source": "https://github.com/Kwaadpepper/enum/tree/2.1.4" + "source": "https://github.com/Kwaadpepper/enum/tree/2.1.3" }, - "time": "2022-07-28T14:19:44+00:00" + "time": "2022-07-28T15:18:54+00:00" }, { "name": "kwaadpepper/exception-handler", @@ -2263,16 +2273,16 @@ }, { "name": "kwaadpepper/image-resizer", - "version": "0.1.0", + "version": "0.1.2", "source": { "type": "git", "url": "https://github.com/Kwaadpepper/image-resizer.git", - "reference": "435da8fb02d05c2cac5eac0cfc9ab39d1a802d62" + "reference": "5af71cf1c40ca15c061b32166e606dfddc39da0a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Kwaadpepper/image-resizer/zipball/435da8fb02d05c2cac5eac0cfc9ab39d1a802d62", - "reference": "435da8fb02d05c2cac5eac0cfc9ab39d1a802d62", + "url": "https://api.github.com/repos/Kwaadpepper/image-resizer/zipball/5af71cf1c40ca15c061b32166e606dfddc39da0a", + "reference": "5af71cf1c40ca15c061b32166e606dfddc39da0a", "shasum": "" }, "require": { @@ -2320,34 +2330,32 @@ ], "support": { "issues": "https://github.com/Kwaadpepper/image-resizer/issues", - "source": "https://github.com/Kwaadpepper/image-resizer/tree/0.1.0" + "source": "https://github.com/Kwaadpepper/image-resizer/tree/0.1.2" }, - "time": "2022-05-31T16:46:50+00:00" + "time": "2022-10-17T16:05:21+00:00" }, { "name": "kwaadpepper/refresh-sitemap", - "version": "0.0.1", + "version": "1.0.0", "source": { "type": "git", "url": "https://github.com/Kwaadpepper/refresh-sitemap.git", - "reference": "1af57659fb5d92dce1711423304d1e85e392625b" + "reference": "003b116bff9f9531d8ca69cd1fc529878b8b54a6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Kwaadpepper/refresh-sitemap/zipball/1af57659fb5d92dce1711423304d1e85e392625b", - "reference": "1af57659fb5d92dce1711423304d1e85e392625b", + "url": "https://api.github.com/repos/Kwaadpepper/refresh-sitemap/zipball/003b116bff9f9531d8ca69cd1fc529878b8b54a6", + "reference": "003b116bff9f9531d8ca69cd1fc529878b8b54a6", "shasum": "" }, "require": { - "illuminate/support": "~7|~8", - "kwaadpepper/enum": "^2.0", - "laravel/framework": "~7|~8", + "illuminate/support": "~8", + "kwaadpepper/enum": "~2", + "laravel/framework": "~8", "spatie/laravel-sitemap": "^5.8" }, "require-dev": { - "orchestra/testbench": "^6.13", - "phpunit/phpunit": "~9.0", - "squizlabs/php_codesniffer": "^3.5" + "slevomat/coding-standard": "^7.2" }, "type": "library", "extra": { @@ -2381,29 +2389,31 @@ ], "support": { "issues": "https://github.com/Kwaadpepper/refresh-sitemap/issues", - "source": "https://github.com/Kwaadpepper/refresh-sitemap/tree/0.0.1" + "source": "https://github.com/Kwaadpepper/refresh-sitemap/tree/1.0.0" }, - "time": "2021-09-03T22:42:09+00:00" + "time": "2022-06-10T17:46:53+00:00" }, { "name": "kwaadpepper/serial-int-caster", - "version": "1.0.1", + "version": "1.1.0", "source": { "type": "git", "url": "https://github.com/Kwaadpepper/serial-int-caster.git", - "reference": "bbba003ff5379576f05114386b5ebe8b33bc4705" + "reference": "26f23d8e98460ebfb3e703053cab75f71b8e3b2f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Kwaadpepper/serial-int-caster/zipball/bbba003ff5379576f05114386b5ebe8b33bc4705", - "reference": "bbba003ff5379576f05114386b5ebe8b33bc4705", + "url": "https://api.github.com/repos/Kwaadpepper/serial-int-caster/zipball/26f23d8e98460ebfb3e703053cab75f71b8e3b2f", + "reference": "26f23d8e98460ebfb3e703053cab75f71b8e3b2f", "shasum": "" }, "require": { - "php": ">=7.3.0" + "php": ">=7.3.0", + "ruafozy/mersenne-twister": "^1.3" }, "require-dev": { "phpunit/phpunit": "^9.5", + "slevomat/coding-standard": "^8.6", "squizlabs/php_codesniffer": "^3.6" }, "type": "library", @@ -2425,22 +2435,22 @@ "description": "Convert int To as serial number and reverse", "support": { "issues": "https://github.com/Kwaadpepper/serial-int-caster/issues", - "source": "https://github.com/Kwaadpepper/serial-int-caster/tree/1.0.1" + "source": "https://github.com/Kwaadpepper/serial-int-caster/tree/1.1.0" }, - "time": "2021-05-16T15:50:37+00:00" + "time": "2022-12-11T00:45:50+00:00" }, { "name": "laravel/framework", - "version": "v8.83.23", + "version": "v8.83.27", "source": { "type": "git", "url": "https://github.com/laravel/framework.git", - "reference": "bdc707f8b9bcad289b24cd182d98ec7480ac4491" + "reference": "e1afe088b4ca613fb96dc57e6d8dbcb8cc2c6b49" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/framework/zipball/bdc707f8b9bcad289b24cd182d98ec7480ac4491", - "reference": "bdc707f8b9bcad289b24cd182d98ec7480ac4491", + "url": "https://api.github.com/repos/laravel/framework/zipball/e1afe088b4ca613fb96dc57e6d8dbcb8cc2c6b49", + "reference": "e1afe088b4ca613fb96dc57e6d8dbcb8cc2c6b49", "shasum": "" }, "require": { @@ -2600,29 +2610,30 @@ "issues": "https://github.com/laravel/framework/issues", "source": "https://github.com/laravel/framework" }, - "time": "2022-07-26T13:30:00+00:00" + "time": "2022-12-08T15:28:55+00:00" }, { "name": "laravel/serializable-closure", - "version": "v1.2.0", + "version": "v1.2.2", "source": { "type": "git", "url": "https://github.com/laravel/serializable-closure.git", - "reference": "09f0e9fb61829f628205b7c94906c28740ff9540" + "reference": "47afb7fae28ed29057fdca37e16a84f90cc62fae" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/09f0e9fb61829f628205b7c94906c28740ff9540", - "reference": "09f0e9fb61829f628205b7c94906c28740ff9540", + "url": "https://api.github.com/repos/laravel/serializable-closure/zipball/47afb7fae28ed29057fdca37e16a84f90cc62fae", + "reference": "47afb7fae28ed29057fdca37e16a84f90cc62fae", "shasum": "" }, "require": { "php": "^7.3|^8.0" }, "require-dev": { - "pestphp/pest": "^1.18", - "phpstan/phpstan": "^0.12.98", - "symfony/var-dumper": "^5.3" + "nesbot/carbon": "^2.61", + "pestphp/pest": "^1.21.3", + "phpstan/phpstan": "^1.8.2", + "symfony/var-dumper": "^5.4.11" }, "type": "library", "extra": { @@ -2659,20 +2670,20 @@ "issues": "https://github.com/laravel/serializable-closure/issues", "source": "https://github.com/laravel/serializable-closure" }, - "time": "2022-05-16T17:09:47+00:00" + "time": "2022-09-08T13:45:54+00:00" }, { "name": "laravel/tinker", - "version": "v2.7.2", + "version": "v2.7.3", "source": { "type": "git", "url": "https://github.com/laravel/tinker.git", - "reference": "dff39b661e827dae6e092412f976658df82dbac5" + "reference": "5062061b4924af3392225dd482ca7b4d85d8b8ef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laravel/tinker/zipball/dff39b661e827dae6e092412f976658df82dbac5", - "reference": "dff39b661e827dae6e092412f976658df82dbac5", + "url": "https://api.github.com/repos/laravel/tinker/zipball/5062061b4924af3392225dd482ca7b4d85d8b8ef", + "reference": "5062061b4924af3392225dd482ca7b4d85d8b8ef", "shasum": "" }, "require": { @@ -2725,9 +2736,9 @@ ], "support": { "issues": "https://github.com/laravel/tinker/issues", - "source": "https://github.com/laravel/tinker/tree/v2.7.2" + "source": "https://github.com/laravel/tinker/tree/v2.7.3" }, - "time": "2022-03-23T12:38:24+00:00" + "time": "2022-11-09T15:11:38+00:00" }, { "name": "laravel/ui", @@ -3026,16 +3037,16 @@ }, { "name": "league/flysystem", - "version": "1.1.9", + "version": "1.1.10", "source": { "type": "git", "url": "https://github.com/thephpleague/flysystem.git", - "reference": "094defdb4a7001845300334e7c1ee2335925ef99" + "reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/094defdb4a7001845300334e7c1ee2335925ef99", - "reference": "094defdb4a7001845300334e7c1ee2335925ef99", + "url": "https://api.github.com/repos/thephpleague/flysystem/zipball/3239285c825c152bcc315fe0e87d6b55f5972ed1", + "reference": "3239285c825c152bcc315fe0e87d6b55f5972ed1", "shasum": "" }, "require": { @@ -3108,7 +3119,7 @@ ], "support": { "issues": "https://github.com/thephpleague/flysystem/issues", - "source": "https://github.com/thephpleague/flysystem/tree/1.1.9" + "source": "https://github.com/thephpleague/flysystem/tree/1.1.10" }, "funding": [ { @@ -3116,7 +3127,7 @@ "type": "other" } ], - "time": "2021-12-09T09:40:50+00:00" + "time": "2022-10-04T09:16:37+00:00" }, { "name": "league/glide", @@ -3188,63 +3199,6 @@ }, "time": "2022-04-27T04:03:46+00:00" }, - { - "name": "league/iso3166", - "version": "4.0.0", - "source": { - "type": "git", - "url": "https://github.com/thephpleague/iso3166.git", - "reference": "1a3ec7e6f1e4f16fce68dc239bafae217fbdcfef" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/thephpleague/iso3166/zipball/1a3ec7e6f1e4f16fce68dc239bafae217fbdcfef", - "reference": "1a3ec7e6f1e4f16fce68dc239bafae217fbdcfef", - "shasum": "" - }, - "require": { - "php": "^7.3|^8.0" - }, - "require-dev": { - "phpunit/phpunit": "^9.5" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-master": "3.x-dev" - } - }, - "autoload": { - "psr-4": { - "League\\ISO3166\\": "src" - } - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "MIT" - ], - "authors": [ - { - "name": "Rob Bast", - "email": "rob.bast@gmail.com" - } - ], - "description": "ISO 3166-1 PHP Library", - "homepage": "https://github.com/thephpleague/iso3166", - "keywords": [ - "3166", - "3166-1", - "ISO 3166", - "countries", - "iso", - "library" - ], - "support": { - "issues": "https://github.com/thephpleague/iso3166/issues", - "source": "https://github.com/thephpleague/iso3166" - }, - "time": "2021-10-22T12:47:55+00:00" - }, { "name": "league/mime-type-detection", "version": "1.11.0", @@ -3384,16 +3338,16 @@ }, { "name": "mobiledetect/mobiledetectlib", - "version": "2.8.39", + "version": "2.8.41", "source": { "type": "git", "url": "https://github.com/serbanghita/Mobile-Detect.git", - "reference": "0fd6753003fc870f6e229bae869cc1337c99bc45" + "reference": "fc9cccd4d3706d5a7537b562b59cc18f9e4c0cb1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/0fd6753003fc870f6e229bae869cc1337c99bc45", - "reference": "0fd6753003fc870f6e229bae869cc1337c99bc45", + "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/fc9cccd4d3706d5a7537b562b59cc18f9e4c0cb1", + "reference": "fc9cccd4d3706d5a7537b562b59cc18f9e4c0cb1", "shasum": "" }, "require": { @@ -3434,9 +3388,9 @@ ], "support": { "issues": "https://github.com/serbanghita/Mobile-Detect/issues", - "source": "https://github.com/serbanghita/Mobile-Detect/tree/2.8.39" + "source": "https://github.com/serbanghita/Mobile-Detect/tree/2.8.41" }, - "time": "2022-02-17T19:24:25+00:00" + "time": "2022-11-08T18:31:26+00:00" }, { "name": "monolog/monolog", @@ -3542,16 +3496,16 @@ }, { "name": "mpdf/mpdf", - "version": "v8.1.2", + "version": "v8.1.4", "source": { "type": "git", "url": "https://github.com/mpdf/mpdf.git", - "reference": "a8a22f4874157e490d41b486053a20bec42e182c" + "reference": "add590e93b7502efafd9839a68cff99f3497b318" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mpdf/mpdf/zipball/a8a22f4874157e490d41b486053a20bec42e182c", - "reference": "a8a22f4874157e490d41b486053a20bec42e182c", + "url": "https://api.github.com/repos/mpdf/mpdf/zipball/add590e93b7502efafd9839a68cff99f3497b318", + "reference": "add590e93b7502efafd9839a68cff99f3497b318", "shasum": "" }, "require": { @@ -3559,7 +3513,7 @@ "ext-mbstring": "*", "myclabs/deep-copy": "^1.7", "paragonie/random_compat": "^1.4|^2.0|^9.99.99", - "php": "^5.6 || ^7.0 || ~8.0.0 || ~8.1.0", + "php": "^5.6 || ^7.0 || ~8.0.0 || ~8.1.0 || ~8.2.0", "php-http/message-factory": "^1.0", "psr/http-message": "^1.0", "psr/log": "^1.0 || ^2.0", @@ -3569,7 +3523,7 @@ "mockery/mockery": "^1.3.0", "mpdf/qrcode": "^1.1.0", "squizlabs/php_codesniffer": "^3.5.0", - "tracy/tracy": "^2.4", + "tracy/tracy": "~2.5", "yoast/phpunit-polyfills": "^1.0" }, "suggest": { @@ -3615,7 +3569,7 @@ "type": "custom" } ], - "time": "2022-08-15T08:15:09+00:00" + "time": "2022-12-15T11:24:39+00:00" }, { "name": "mrclay/minify", @@ -3729,16 +3683,16 @@ }, { "name": "nesbot/carbon", - "version": "2.61.0", + "version": "2.65.0", "source": { "type": "git", "url": "https://github.com/briannesbitt/Carbon.git", - "reference": "bdf4f4fe3a3eac4de84dbec0738082a862c68ba6" + "reference": "09acf64155c16dc6f580f36569ae89344e9734a3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/bdf4f4fe3a3eac4de84dbec0738082a862c68ba6", - "reference": "bdf4f4fe3a3eac4de84dbec0738082a862c68ba6", + "url": "https://api.github.com/repos/briannesbitt/Carbon/zipball/09acf64155c16dc6f580f36569ae89344e9734a3", + "reference": "09acf64155c16dc6f580f36569ae89344e9734a3", "shasum": "" }, "require": { @@ -3749,7 +3703,7 @@ "symfony/translation": "^3.4 || ^4.0 || ^5.0 || ^6.0" }, "require-dev": { - "doctrine/dbal": "^2.0 || ^3.0", + "doctrine/dbal": "^2.0 || ^3.1.4", "doctrine/orm": "^2.7", "friendsofphp/php-cs-fixer": "^3.0", "kylekatarnls/multi-tester": "^2.0", @@ -3827,7 +3781,7 @@ "type": "tidelift" } ], - "time": "2022-08-06T12:41:24+00:00" + "time": "2023-01-06T15:55:01+00:00" }, { "name": "nicmart/tree", @@ -3877,16 +3831,16 @@ }, { "name": "nikic/php-parser", - "version": "v4.14.0", + "version": "v4.15.2", "source": { "type": "git", "url": "https://github.com/nikic/PHP-Parser.git", - "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1" + "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/34bea19b6e03d8153165d8f30bba4c3be86184c1", - "reference": "34bea19b6e03d8153165d8f30bba4c3be86184c1", + "url": "https://api.github.com/repos/nikic/PHP-Parser/zipball/f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc", + "reference": "f59bbe44bf7d96f24f3e2b4ddc21cd52c1d2adbc", "shasum": "" }, "require": { @@ -3927,9 +3881,9 @@ ], "support": { "issues": "https://github.com/nikic/PHP-Parser/issues", - "source": "https://github.com/nikic/PHP-Parser/tree/v4.14.0" + "source": "https://github.com/nikic/PHP-Parser/tree/v4.15.2" }, - "time": "2022-05-31T20:59:12+00:00" + "time": "2022-11-12T15:38:23+00:00" }, { "name": "nunomaduro/collision", @@ -4264,16 +4218,16 @@ }, { "name": "propaganistas/laravel-phone", - "version": "4.3.7", + "version": "4.4.1", "source": { "type": "git", "url": "https://github.com/Propaganistas/Laravel-Phone.git", - "reference": "fb3b5faddf9150ac21c1c59a7633ee964d4f2a00" + "reference": "945c34de77d5a80d01506e7f2220de4a769b8d75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Propaganistas/Laravel-Phone/zipball/fb3b5faddf9150ac21c1c59a7633ee964d4f2a00", - "reference": "fb3b5faddf9150ac21c1c59a7633ee964d4f2a00", + "url": "https://api.github.com/repos/Propaganistas/Laravel-Phone/zipball/945c34de77d5a80d01506e7f2220de4a769b8d75", + "reference": "945c34de77d5a80d01506e7f2220de4a769b8d75", "shasum": "" }, "require": { @@ -4281,7 +4235,6 @@ "illuminate/contracts": "^8.9|^9.0", "illuminate/support": "^8.0|^9.0", "illuminate/validation": "^8.0|^9.0", - "league/iso3166": "^2.0|^3.0|^4.0", "php": "^7.3|^8.0" }, "require-dev": { @@ -4324,9 +4277,15 @@ ], "support": { "issues": "https://github.com/Propaganistas/Laravel-Phone/issues", - "source": "https://github.com/Propaganistas/Laravel-Phone/tree/4.3.7" + "source": "https://github.com/Propaganistas/Laravel-Phone/tree/4.4.1" }, - "time": "2022-06-08T15:44:51+00:00" + "funding": [ + { + "url": "https://github.com/Propaganistas", + "type": "github" + } + ], + "time": "2023-01-09T10:06:12+00:00" }, { "name": "psr/container", @@ -4634,16 +4593,16 @@ }, { "name": "psy/psysh", - "version": "v0.11.8", + "version": "v0.11.10", "source": { "type": "git", "url": "https://github.com/bobthecow/psysh.git", - "reference": "f455acf3645262ae389b10e9beba0c358aa6994e" + "reference": "e9eadffbed9c9deb5426fd107faae0452bf20a36" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/bobthecow/psysh/zipball/f455acf3645262ae389b10e9beba0c358aa6994e", - "reference": "f455acf3645262ae389b10e9beba0c358aa6994e", + "url": "https://api.github.com/repos/bobthecow/psysh/zipball/e9eadffbed9c9deb5426fd107faae0452bf20a36", + "reference": "e9eadffbed9c9deb5426fd107faae0452bf20a36", "shasum": "" }, "require": { @@ -4704,9 +4663,9 @@ ], "support": { "issues": "https://github.com/bobthecow/psysh/issues", - "source": "https://github.com/bobthecow/psysh/tree/v0.11.8" + "source": "https://github.com/bobthecow/psysh/tree/v0.11.10" }, - "time": "2022-07-28T14:25:11+00:00" + "time": "2022-12-23T17:47:18+00:00" }, { "name": "ralouphie/getallheaders", @@ -5115,6 +5074,49 @@ }, "time": "2017-09-02T08:11:53+00:00" }, + { + "name": "ruafozy/mersenne-twister", + "version": "1.3.0", + "source": { + "type": "git", + "url": "https://github.com/ruafozy/php-mersenne-twister.git", + "reference": "83ca113aa1e5f924d3b5f03679b1480063cc7d94" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/ruafozy/php-mersenne-twister/zipball/83ca113aa1e5f924d3b5f03679b1480063cc7d94", + "reference": "83ca113aa1e5f924d3b5f03679b1480063cc7d94", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.1.4" + }, + "type": "library", + "autoload": { + "files": [ + "src/mersenne_twister.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Pure-PHP Mersenne Twister", + "homepage": "https://github.com/ruafozy/php-mersenne-twister", + "keywords": [ + "PRNG", + "mersenne", + "random" + ], + "support": { + "issues": "https://github.com/ruafozy/php-mersenne-twister/issues", + "source": "https://github.com/ruafozy/php-mersenne-twister/tree/master" + }, + "time": "2015-02-21T10:26:45+00:00" + }, { "name": "setasign/fpdi", "version": "v2.3.6", @@ -5866,16 +5868,16 @@ }, { "name": "symfony/console", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/console.git", - "reference": "535846c7ee6bc4dd027ca0d93220601456734b10" + "reference": "58422fdcb0e715ed05b385f70d3e8b5ed4bbd45f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/535846c7ee6bc4dd027ca0d93220601456734b10", - "reference": "535846c7ee6bc4dd027ca0d93220601456734b10", + "url": "https://api.github.com/repos/symfony/console/zipball/58422fdcb0e715ed05b385f70d3e8b5ed4bbd45f", + "reference": "58422fdcb0e715ed05b385f70d3e8b5ed4bbd45f", "shasum": "" }, "require": { @@ -5945,7 +5947,7 @@ "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.11" + "source": "https://github.com/symfony/console/tree/v5.4.17" }, "funding": [ { @@ -5961,20 +5963,20 @@ "type": "tidelift" } ], - "time": "2022-07-22T10:42:43+00:00" + "time": "2022-12-28T14:15:31+00:00" }, { "name": "symfony/css-selector", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/css-selector.git", - "reference": "c1681789f059ab756001052164726ae88512ae3d" + "reference": "052ef49b660f9ad2a3adb311c555c9bc11ba61f4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/css-selector/zipball/c1681789f059ab756001052164726ae88512ae3d", - "reference": "c1681789f059ab756001052164726ae88512ae3d", + "url": "https://api.github.com/repos/symfony/css-selector/zipball/052ef49b660f9ad2a3adb311c555c9bc11ba61f4", + "reference": "052ef49b660f9ad2a3adb311c555c9bc11ba61f4", "shasum": "" }, "require": { @@ -6011,7 +6013,7 @@ "description": "Converts CSS selectors to XPath expressions", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/css-selector/tree/v5.4.11" + "source": "https://github.com/symfony/css-selector/tree/v5.4.17" }, "funding": [ { @@ -6027,7 +6029,7 @@ "type": "tidelift" } ], - "time": "2022-06-27T16:58:25+00:00" + "time": "2022-12-23T11:40:44+00:00" }, { "name": "symfony/deprecation-contracts", @@ -6098,16 +6100,16 @@ }, { "name": "symfony/dom-crawler", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/dom-crawler.git", - "reference": "0b900ca5576ecd59e08c76127e616667cfe427a7" + "reference": "32a07d910edc138a1dd5508c17c6b9bc1eb27a1b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/0b900ca5576ecd59e08c76127e616667cfe427a7", - "reference": "0b900ca5576ecd59e08c76127e616667cfe427a7", + "url": "https://api.github.com/repos/symfony/dom-crawler/zipball/32a07d910edc138a1dd5508c17c6b9bc1eb27a1b", + "reference": "32a07d910edc138a1dd5508c17c6b9bc1eb27a1b", "shasum": "" }, "require": { @@ -6153,7 +6155,7 @@ "description": "Eases DOM navigation for HTML and XML documents", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/dom-crawler/tree/v5.4.11" + "source": "https://github.com/symfony/dom-crawler/tree/v5.4.17" }, "funding": [ { @@ -6169,20 +6171,20 @@ "type": "tidelift" } ], - "time": "2022-06-27T16:58:25+00:00" + "time": "2022-12-22T10:31:03+00:00" }, { "name": "symfony/error-handler", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/error-handler.git", - "reference": "f75d17cb4769eb38cd5fccbda95cd80a054d35c8" + "reference": "b900446552833ad2f91ca7dd52aa8ffe78f66cb2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/error-handler/zipball/f75d17cb4769eb38cd5fccbda95cd80a054d35c8", - "reference": "f75d17cb4769eb38cd5fccbda95cd80a054d35c8", + "url": "https://api.github.com/repos/symfony/error-handler/zipball/b900446552833ad2f91ca7dd52aa8ffe78f66cb2", + "reference": "b900446552833ad2f91ca7dd52aa8ffe78f66cb2", "shasum": "" }, "require": { @@ -6224,7 +6226,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/v5.4.11" + "source": "https://github.com/symfony/error-handler/tree/v5.4.17" }, "funding": [ { @@ -6240,20 +6242,20 @@ "type": "tidelift" } ], - "time": "2022-07-29T07:37:50+00:00" + "time": "2022-12-13T09:43:00+00:00" }, { "name": "symfony/event-dispatcher", - "version": "v5.4.9", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/event-dispatcher.git", - "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc" + "reference": "8e18a9d559eb8ebc2220588f1faa726a2fcd31c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", - "reference": "8e6ce1cc0279e3ff3c8ff0f43813bc88d21ca1bc", + "url": "https://api.github.com/repos/symfony/event-dispatcher/zipball/8e18a9d559eb8ebc2220588f1faa726a2fcd31c9", + "reference": "8e18a9d559eb8ebc2220588f1faa726a2fcd31c9", "shasum": "" }, "require": { @@ -6309,7 +6311,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/v5.4.9" + "source": "https://github.com/symfony/event-dispatcher/tree/v5.4.17" }, "funding": [ { @@ -6325,7 +6327,7 @@ "type": "tidelift" } ], - "time": "2022-05-05T16:45:39+00:00" + "time": "2022-12-12T15:54:21+00:00" }, { "name": "symfony/event-dispatcher-contracts", @@ -6408,16 +6410,16 @@ }, { "name": "symfony/finder", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/finder.git", - "reference": "7872a66f57caffa2916a584db1aa7f12adc76f8c" + "reference": "40c08632019838dfb3350f18cf5563b8080055fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/7872a66f57caffa2916a584db1aa7f12adc76f8c", - "reference": "7872a66f57caffa2916a584db1aa7f12adc76f8c", + "url": "https://api.github.com/repos/symfony/finder/zipball/40c08632019838dfb3350f18cf5563b8080055fc", + "reference": "40c08632019838dfb3350f18cf5563b8080055fc", "shasum": "" }, "require": { @@ -6451,7 +6453,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/finder/tree/v5.4.11" + "source": "https://github.com/symfony/finder/tree/v5.4.17" }, "funding": [ { @@ -6467,20 +6469,20 @@ "type": "tidelift" } ], - "time": "2022-07-29T07:37:50+00:00" + "time": "2022-12-22T10:31:03+00:00" }, { "name": "symfony/http-foundation", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/http-foundation.git", - "reference": "0a5868e0999e9d47859ba3d918548ff6943e6389" + "reference": "b64a0e2df212d5849e4584cabff0cf09c5d6866a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-foundation/zipball/0a5868e0999e9d47859ba3d918548ff6943e6389", - "reference": "0a5868e0999e9d47859ba3d918548ff6943e6389", + "url": "https://api.github.com/repos/symfony/http-foundation/zipball/b64a0e2df212d5849e4584cabff0cf09c5d6866a", + "reference": "b64a0e2df212d5849e4584cabff0cf09c5d6866a", "shasum": "" }, "require": { @@ -6492,8 +6494,11 @@ "require-dev": { "predis/predis": "~1.0", "symfony/cache": "^4.4|^5.0|^6.0", + "symfony/dependency-injection": "^5.4|^6.0", "symfony/expression-language": "^4.4|^5.0|^6.0", - "symfony/mime": "^4.4|^5.0|^6.0" + "symfony/http-kernel": "^5.4.12|^6.0.12|^6.1.4", + "symfony/mime": "^4.4|^5.0|^6.0", + "symfony/rate-limiter": "^5.2|^6.0" }, "suggest": { "symfony/mime": "To use the file extension guesser" @@ -6524,7 +6529,7 @@ "description": "Defines an object-oriented layer for the HTTP specification", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/http-foundation/tree/v5.4.11" + "source": "https://github.com/symfony/http-foundation/tree/v5.4.17" }, "funding": [ { @@ -6540,20 +6545,20 @@ "type": "tidelift" } ], - "time": "2022-07-20T13:00:38+00:00" + "time": "2022-12-14T08:23:03+00:00" }, { "name": "symfony/http-kernel", - "version": "v5.4.11", + "version": "v5.4.18", "source": { "type": "git", "url": "https://github.com/symfony/http-kernel.git", - "reference": "4fd590a2ef3f62560dbbf6cea511995dd77321ee" + "reference": "5da6f57a13e5d7d77197443cf55697cdf65f1352" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/http-kernel/zipball/4fd590a2ef3f62560dbbf6cea511995dd77321ee", - "reference": "4fd590a2ef3f62560dbbf6cea511995dd77321ee", + "url": "https://api.github.com/repos/symfony/http-kernel/zipball/5da6f57a13e5d7d77197443cf55697cdf65f1352", + "reference": "5da6f57a13e5d7d77197443cf55697cdf65f1352", "shasum": "" }, "require": { @@ -6636,7 +6641,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/v5.4.11" + "source": "https://github.com/symfony/http-kernel/tree/v5.4.18" }, "funding": [ { @@ -6652,20 +6657,20 @@ "type": "tidelift" } ], - "time": "2022-07-29T12:30:22+00:00" + "time": "2022-12-29T18:54:08+00:00" }, { "name": "symfony/mime", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/mime.git", - "reference": "3cd175cdcdb6db2e589e837dd46aff41027d9830" + "reference": "2a83d82efc91c3f03a23c8b47a896df168aa5c63" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/mime/zipball/3cd175cdcdb6db2e589e837dd46aff41027d9830", - "reference": "3cd175cdcdb6db2e589e837dd46aff41027d9830", + "url": "https://api.github.com/repos/symfony/mime/zipball/2a83d82efc91c3f03a23c8b47a896df168aa5c63", + "reference": "2a83d82efc91c3f03a23c8b47a896df168aa5c63", "shasum": "" }, "require": { @@ -6679,7 +6684,8 @@ "egulias/email-validator": "~3.0.0", "phpdocumentor/reflection-docblock": "<3.2.2", "phpdocumentor/type-resolver": "<1.4.0", - "symfony/mailer": "<4.4" + "symfony/mailer": "<4.4", + "symfony/serializer": "<5.4.14|>=6.0,<6.0.14|>=6.1,<6.1.6" }, "require-dev": { "egulias/email-validator": "^2.1.10|^3.1", @@ -6687,7 +6693,7 @@ "symfony/dependency-injection": "^4.4|^5.0|^6.0", "symfony/property-access": "^4.4|^5.1|^6.0", "symfony/property-info": "^4.4|^5.1|^6.0", - "symfony/serializer": "^5.2|^6.0" + "symfony/serializer": "^5.4.14|~6.0.14|^6.1.6" }, "type": "library", "autoload": { @@ -6719,7 +6725,7 @@ "mime-type" ], "support": { - "source": "https://github.com/symfony/mime/tree/v5.4.11" + "source": "https://github.com/symfony/mime/tree/v5.4.17" }, "funding": [ { @@ -6735,20 +6741,20 @@ "type": "tidelift" } ], - "time": "2022-07-20T11:34:24+00:00" + "time": "2022-12-13T09:59:55+00:00" }, { "name": "symfony/polyfill-ctype", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-ctype.git", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4" + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", - "reference": "6fd1b9a79f6e3cf65f9e679b23af304cd9e010d4", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", "shasum": "" }, "require": { @@ -6763,7 +6769,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -6801,7 +6807,7 @@ "portable" ], "support": { - "source": "https://github.com/symfony/polyfill-ctype/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-ctype/tree/v1.27.0" }, "funding": [ { @@ -6817,20 +6823,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-iconv", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-iconv.git", - "reference": "143f1881e655bebca1312722af8068de235ae5dc" + "reference": "927013f3aac555983a5059aada98e1907d842695" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/143f1881e655bebca1312722af8068de235ae5dc", - "reference": "143f1881e655bebca1312722af8068de235ae5dc", + "url": "https://api.github.com/repos/symfony/polyfill-iconv/zipball/927013f3aac555983a5059aada98e1907d842695", + "reference": "927013f3aac555983a5059aada98e1907d842695", "shasum": "" }, "require": { @@ -6845,7 +6851,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -6884,7 +6890,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-iconv/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-iconv/tree/v1.27.0" }, "funding": [ { @@ -6900,20 +6906,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-grapheme", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-grapheme.git", - "reference": "433d05519ce6990bf3530fba6957499d327395c2" + "reference": "511a08c03c1960e08a883f4cffcacd219b758354" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/433d05519ce6990bf3530fba6957499d327395c2", - "reference": "433d05519ce6990bf3530fba6957499d327395c2", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "reference": "511a08c03c1960e08a883f4cffcacd219b758354", "shasum": "" }, "require": { @@ -6925,7 +6931,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -6965,7 +6971,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-grapheme/tree/v1.27.0" }, "funding": [ { @@ -6981,20 +6987,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-idn", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-idn.git", - "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8" + "reference": "639084e360537a19f9ee352433b84ce831f3d2da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/59a8d271f00dd0e4c2e518104cc7963f655a1aa8", - "reference": "59a8d271f00dd0e4c2e518104cc7963f655a1aa8", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/639084e360537a19f9ee352433b84ce831f3d2da", + "reference": "639084e360537a19f9ee352433b84ce831f3d2da", "shasum": "" }, "require": { @@ -7008,7 +7014,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7052,7 +7058,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-idn/tree/v1.27.0" }, "funding": [ { @@ -7068,20 +7074,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-intl-normalizer", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-intl-normalizer.git", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd" + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/219aa369ceff116e673852dce47c3a41794c14bd", - "reference": "219aa369ceff116e673852dce47c3a41794c14bd", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", "shasum": "" }, "require": { @@ -7093,7 +7099,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7136,7 +7142,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-intl-normalizer/tree/v1.27.0" }, "funding": [ { @@ -7152,20 +7158,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-mbstring", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e" + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", - "reference": "9344f9cb97f3b19424af1a21a3b0e75b0a7d8d7e", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "shasum": "" }, "require": { @@ -7180,7 +7186,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7219,7 +7225,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-mbstring/tree/v1.27.0" }, "funding": [ { @@ -7235,20 +7241,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php72", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php72.git", - "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2" + "reference": "869329b1e9894268a8a61dabb69153029b7a8c97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/bf44a9fd41feaac72b074de600314a93e2ae78e2", - "reference": "bf44a9fd41feaac72b074de600314a93e2ae78e2", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", + "reference": "869329b1e9894268a8a61dabb69153029b7a8c97", "shasum": "" }, "require": { @@ -7257,7 +7263,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7295,7 +7301,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php72/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php72/tree/v1.27.0" }, "funding": [ { @@ -7311,20 +7317,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php73", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php73.git", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85" + "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/e440d35fa0286f77fb45b79a03fedbeda9307e85", - "reference": "e440d35fa0286f77fb45b79a03fedbeda9307e85", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", + "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", "shasum": "" }, "require": { @@ -7333,7 +7339,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7374,7 +7380,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php73/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php73/tree/v1.27.0" }, "funding": [ { @@ -7390,20 +7396,20 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php80", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php80.git", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace" + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/cfa0ae98841b9e461207c13ab093d76b0fa7bace", - "reference": "cfa0ae98841b9e461207c13ab093d76b0fa7bace", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "shasum": "" }, "require": { @@ -7412,7 +7418,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7457,7 +7463,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php80/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php80/tree/v1.27.0" }, "funding": [ { @@ -7473,20 +7479,20 @@ "type": "tidelift" } ], - "time": "2022-05-10T07:21:04+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/polyfill-php81", - "version": "v1.26.0", + "version": "v1.27.0", "source": { "type": "git", "url": "https://github.com/symfony/polyfill-php81.git", - "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1" + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/13f6d1271c663dc5ae9fb843a8f16521db7687a1", - "reference": "13f6d1271c663dc5ae9fb843a8f16521db7687a1", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", + "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", "shasum": "" }, "require": { @@ -7495,7 +7501,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "1.26-dev" + "dev-main": "1.27-dev" }, "thanks": { "name": "symfony/polyfill", @@ -7536,7 +7542,7 @@ "shim" ], "support": { - "source": "https://github.com/symfony/polyfill-php81/tree/v1.26.0" + "source": "https://github.com/symfony/polyfill-php81/tree/v1.27.0" }, "funding": [ { @@ -7552,7 +7558,7 @@ "type": "tidelift" } ], - "time": "2022-05-24T11:49:31+00:00" + "time": "2022-11-03T14:55:06+00:00" }, { "name": "symfony/process", @@ -7618,16 +7624,16 @@ }, { "name": "symfony/routing", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/routing.git", - "reference": "3e01ccd9b2a3a4167ba2b3c53612762300300226" + "reference": "4ce2df9a469c19ba45ca6aca04fec1c358a6e791" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/routing/zipball/3e01ccd9b2a3a4167ba2b3c53612762300300226", - "reference": "3e01ccd9b2a3a4167ba2b3c53612762300300226", + "url": "https://api.github.com/repos/symfony/routing/zipball/4ce2df9a469c19ba45ca6aca04fec1c358a6e791", + "reference": "4ce2df9a469c19ba45ca6aca04fec1c358a6e791", "shasum": "" }, "require": { @@ -7642,7 +7648,7 @@ "symfony/yaml": "<4.4" }, "require-dev": { - "doctrine/annotations": "^1.12", + "doctrine/annotations": "^1.12|^2", "psr/log": "^1|^2|^3", "symfony/config": "^5.3|^6.0", "symfony/dependency-injection": "^4.4|^5.0|^6.0", @@ -7688,7 +7694,7 @@ "url" ], "support": { - "source": "https://github.com/symfony/routing/tree/v5.4.11" + "source": "https://github.com/symfony/routing/tree/v5.4.17" }, "funding": [ { @@ -7704,7 +7710,7 @@ "type": "tidelift" } ], - "time": "2022-07-20T13:00:38+00:00" + "time": "2022-12-20T11:10:57+00:00" }, { "name": "symfony/service-contracts", @@ -7791,16 +7797,16 @@ }, { "name": "symfony/string", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/string.git", - "reference": "5eb661e49ad389e4ae2b6e4df8d783a8a6548322" + "reference": "55733a8664b8853b003e70251c58bc8cb2d82a6b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/5eb661e49ad389e4ae2b6e4df8d783a8a6548322", - "reference": "5eb661e49ad389e4ae2b6e4df8d783a8a6548322", + "url": "https://api.github.com/repos/symfony/string/zipball/55733a8664b8853b003e70251c58bc8cb2d82a6b", + "reference": "55733a8664b8853b003e70251c58bc8cb2d82a6b", "shasum": "" }, "require": { @@ -7857,7 +7863,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v5.4.11" + "source": "https://github.com/symfony/string/tree/v5.4.17" }, "funding": [ { @@ -7873,20 +7879,20 @@ "type": "tidelift" } ], - "time": "2022-07-24T16:15:25+00:00" + "time": "2022-12-12T15:54:21+00:00" }, { "name": "symfony/translation", - "version": "v5.4.11", + "version": "v5.4.14", "source": { "type": "git", "url": "https://github.com/symfony/translation.git", - "reference": "7a1a8f6bbff269f434a83343a0a5d36a4f8cfa21" + "reference": "f0ed07675863aa6e3939df8b1bc879450b585cab" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/translation/zipball/7a1a8f6bbff269f434a83343a0a5d36a4f8cfa21", - "reference": "7a1a8f6bbff269f434a83343a0a5d36a4f8cfa21", + "url": "https://api.github.com/repos/symfony/translation/zipball/f0ed07675863aa6e3939df8b1bc879450b585cab", + "reference": "f0ed07675863aa6e3939df8b1bc879450b585cab", "shasum": "" }, "require": { @@ -7954,7 +7960,7 @@ "description": "Provides tools to internationalize your application", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/translation/tree/v5.4.11" + "source": "https://github.com/symfony/translation/tree/v5.4.14" }, "funding": [ { @@ -7970,7 +7976,7 @@ "type": "tidelift" } ], - "time": "2022-07-20T13:00:38+00:00" + "time": "2022-10-07T08:01:20+00:00" }, { "name": "symfony/translation-contracts", @@ -8052,16 +8058,16 @@ }, { "name": "symfony/var-dumper", - "version": "v5.4.11", + "version": "v5.4.17", "source": { "type": "git", "url": "https://github.com/symfony/var-dumper.git", - "reference": "b8f306d7b8ef34fb3db3305be97ba8e088fb4861" + "reference": "ad74890513d07060255df2575703daf971de92c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-dumper/zipball/b8f306d7b8ef34fb3db3305be97ba8e088fb4861", - "reference": "b8f306d7b8ef34fb3db3305be97ba8e088fb4861", + "url": "https://api.github.com/repos/symfony/var-dumper/zipball/ad74890513d07060255df2575703daf971de92c7", + "reference": "ad74890513d07060255df2575703daf971de92c7", "shasum": "" }, "require": { @@ -8121,7 +8127,7 @@ "dump" ], "support": { - "source": "https://github.com/symfony/var-dumper/tree/v5.4.11" + "source": "https://github.com/symfony/var-dumper/tree/v5.4.17" }, "funding": [ { @@ -8137,7 +8143,7 @@ "type": "tidelift" } ], - "time": "2022-07-20T13:00:38+00:00" + "time": "2022-12-22T10:31:03+00:00" }, { "name": "tightenco/collect", @@ -8195,16 +8201,16 @@ }, { "name": "tijsverkoyen/css-to-inline-styles", - "version": "2.2.4", + "version": "2.2.6", "source": { "type": "git", "url": "https://github.com/tijsverkoyen/CssToInlineStyles.git", - "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c" + "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/da444caae6aca7a19c0c140f68c6182e337d5b1c", - "reference": "da444caae6aca7a19c0c140f68c6182e337d5b1c", + "url": "https://api.github.com/repos/tijsverkoyen/CssToInlineStyles/zipball/c42125b83a4fa63b187fdf29f9c93cb7733da30c", + "reference": "c42125b83a4fa63b187fdf29f9c93cb7733da30c", "shasum": "" }, "require": { @@ -8242,22 +8248,22 @@ "homepage": "https://github.com/tijsverkoyen/CssToInlineStyles", "support": { "issues": "https://github.com/tijsverkoyen/CssToInlineStyles/issues", - "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.4" + "source": "https://github.com/tijsverkoyen/CssToInlineStyles/tree/2.2.6" }, - "time": "2021-12-08T09:12:39+00:00" + "time": "2023-01-03T09:29:04+00:00" }, { "name": "vlucas/phpdotenv", - "version": "v5.4.1", + "version": "v5.5.0", "source": { "type": "git", "url": "https://github.com/vlucas/phpdotenv.git", - "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f" + "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/264dce589e7ce37a7ba99cb901eed8249fbec92f", - "reference": "264dce589e7ce37a7ba99cb901eed8249fbec92f", + "url": "https://api.github.com/repos/vlucas/phpdotenv/zipball/1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", + "reference": "1a7ea2afc49c3ee6d87061f5a233e3a035d0eae7", "shasum": "" }, "require": { @@ -8272,15 +8278,19 @@ "require-dev": { "bamarni/composer-bin-plugin": "^1.4.1", "ext-filter": "*", - "phpunit/phpunit": "^7.5.20 || ^8.5.21 || ^9.5.10" + "phpunit/phpunit": "^7.5.20 || ^8.5.30 || ^9.5.25" }, "suggest": { "ext-filter": "Required to use the boolean validator." }, "type": "library", "extra": { + "bamarni-bin": { + "bin-links": true, + "forward-command": true + }, "branch-alias": { - "dev-master": "5.4-dev" + "dev-master": "5.5-dev" } }, "autoload": { @@ -8312,7 +8322,7 @@ ], "support": { "issues": "https://github.com/vlucas/phpdotenv/issues", - "source": "https://github.com/vlucas/phpdotenv/tree/v5.4.1" + "source": "https://github.com/vlucas/phpdotenv/tree/v5.5.0" }, "funding": [ { @@ -8324,7 +8334,7 @@ "type": "tidelift" } ], - "time": "2021-12-12T23:22:04+00:00" + "time": "2022-10-16T01:01:54+00:00" }, { "name": "voku/portable-ascii", @@ -8621,30 +8631,30 @@ }, { "name": "doctrine/instantiator", - "version": "1.4.1", + "version": "1.5.0", "source": { "type": "git", "url": "https://github.com/doctrine/instantiator.git", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc" + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/doctrine/instantiator/zipball/10dcfce151b967d20fde1b34ae6640712c3891bc", - "reference": "10dcfce151b967d20fde1b34ae6640712c3891bc", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/0a0fa9780f5d4e507415a065172d26a98d02047b", + "reference": "0a0fa9780f5d4e507415a065172d26a98d02047b", "shasum": "" }, "require": { "php": "^7.1 || ^8.0" }, "require-dev": { - "doctrine/coding-standard": "^9", + "doctrine/coding-standard": "^9 || ^11", "ext-pdo": "*", "ext-phar": "*", "phpbench/phpbench": "^0.16 || ^1", "phpstan/phpstan": "^1.4", "phpstan/phpstan-phpunit": "^1", "phpunit/phpunit": "^7.5 || ^8.5 || ^9.5", - "vimeo/psalm": "^4.22" + "vimeo/psalm": "^4.30 || ^5.4" }, "type": "library", "autoload": { @@ -8671,7 +8681,7 @@ ], "support": { "issues": "https://github.com/doctrine/instantiator/issues", - "source": "https://github.com/doctrine/instantiator/tree/1.4.1" + "source": "https://github.com/doctrine/instantiator/tree/1.5.0" }, "funding": [ { @@ -8687,7 +8697,7 @@ "type": "tidelift" } ], - "time": "2022-03-03T08:28:38+00:00" + "time": "2022-12-30T00:15:36+00:00" }, { "name": "fzaninotto/faker", @@ -8842,16 +8852,16 @@ }, { "name": "maximebf/debugbar", - "version": "v1.18.0", + "version": "v1.18.1", "source": { "type": "git", "url": "https://github.com/maximebf/php-debugbar.git", - "reference": "0d44b75f3b5d6d41ae83b79c7a4bceae7fbc78b6" + "reference": "ba0af68dd4316834701ecb30a00ce9604ced3ee9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/0d44b75f3b5d6d41ae83b79c7a4bceae7fbc78b6", - "reference": "0d44b75f3b5d6d41ae83b79c7a4bceae7fbc78b6", + "url": "https://api.github.com/repos/maximebf/php-debugbar/zipball/ba0af68dd4316834701ecb30a00ce9604ced3ee9", + "reference": "ba0af68dd4316834701ecb30a00ce9604ced3ee9", "shasum": "" }, "require": { @@ -8871,7 +8881,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "1.17-dev" + "dev-master": "1.18-dev" } }, "autoload": { @@ -8902,22 +8912,22 @@ ], "support": { "issues": "https://github.com/maximebf/php-debugbar/issues", - "source": "https://github.com/maximebf/php-debugbar/tree/v1.18.0" + "source": "https://github.com/maximebf/php-debugbar/tree/v1.18.1" }, - "time": "2021-12-27T18:49:48+00:00" + "time": "2022-03-31T14:55:54+00:00" }, { "name": "mockery/mockery", - "version": "1.5.0", + "version": "1.5.1", "source": { "type": "git", "url": "https://github.com/mockery/mockery.git", - "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac" + "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/mockery/mockery/zipball/c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", - "reference": "c10a5f6e06fc2470ab1822fa13fa2a7380f8fbac", + "url": "https://api.github.com/repos/mockery/mockery/zipball/e92dcc83d5a51851baf5f5591d32cb2b16e3684e", + "reference": "e92dcc83d5a51851baf5f5591d32cb2b16e3684e", "shasum": "" }, "require": { @@ -8974,9 +8984,9 @@ ], "support": { "issues": "https://github.com/mockery/mockery/issues", - "source": "https://github.com/mockery/mockery/tree/1.5.0" + "source": "https://github.com/mockery/mockery/tree/1.5.1" }, - "time": "2022-01-20T13:18:17+00:00" + "time": "2022-09-07T15:32:08+00:00" }, { "name": "phar-io/manifest", @@ -9091,16 +9101,16 @@ }, { "name": "phpstan/phpdoc-parser", - "version": "1.7.0", + "version": "1.15.3", "source": { "type": "git", "url": "https://github.com/phpstan/phpdoc-parser.git", - "reference": "367a8d9d5f7da2a0136422d27ce8840583926955" + "reference": "61800f71a5526081d1b5633766aa88341f1ade76" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/367a8d9d5f7da2a0136422d27ce8840583926955", - "reference": "367a8d9d5f7da2a0136422d27ce8840583926955", + "url": "https://api.github.com/repos/phpstan/phpdoc-parser/zipball/61800f71a5526081d1b5633766aa88341f1ade76", + "reference": "61800f71a5526081d1b5633766aa88341f1ade76", "shasum": "" }, "require": { @@ -9118,30 +9128,34 @@ "type": "library", "autoload": { "psr-4": { - "PHPStan\\PhpDocParser\\": ["src/"] + "PHPStan\\PhpDocParser\\": [ + "src/" + ] } }, "notification-url": "https://packagist.org/downloads/", - "license": ["MIT"], + "license": [ + "MIT" + ], "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.7.0" + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.15.3" }, - "time": "2022-08-09T12:23:23+00:00" + "time": "2022-12-20T20:56:55+00:00" }, { "name": "phpunit/php-code-coverage", - "version": "9.2.16", + "version": "9.2.23", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "2593003befdcc10db5e213f9f28814f5aa8ac073" + "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2593003befdcc10db5e213f9f28814f5aa8ac073", - "reference": "2593003befdcc10db5e213f9f28814f5aa8ac073", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", + "reference": "9f1f0f9a2fbb680b26d1cf9b61b6eac43a6e4e9c", "shasum": "" }, "require": { @@ -9197,7 +9211,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.16" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.23" }, "funding": [ { @@ -9205,7 +9219,7 @@ "type": "github" } ], - "time": "2022-08-20T05:26:47+00:00" + "time": "2022-12-28T12:41:10+00:00" }, { "name": "phpunit/php-file-iterator", @@ -9450,16 +9464,16 @@ }, { "name": "phpunit/phpunit", - "version": "9.5.23", + "version": "9.5.27", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "888556852e7e9bbeeedb9656afe46118765ade34" + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/888556852e7e9bbeeedb9656afe46118765ade34", - "reference": "888556852e7e9bbeeedb9656afe46118765ade34", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/a2bc7ffdca99f92d959b3f2270529334030bba38", + "reference": "a2bc7ffdca99f92d959b3f2270529334030bba38", "shasum": "" }, "require": { @@ -9481,14 +9495,14 @@ "phpunit/php-timer": "^5.0.2", "sebastian/cli-parser": "^1.0.1", "sebastian/code-unit": "^1.0.6", - "sebastian/comparator": "^4.0.5", + "sebastian/comparator": "^4.0.8", "sebastian/diff": "^4.0.3", "sebastian/environment": "^5.1.3", - "sebastian/exporter": "^4.0.3", + "sebastian/exporter": "^4.0.5", "sebastian/global-state": "^5.0.1", "sebastian/object-enumerator": "^4.0.3", "sebastian/resource-operations": "^3.0.3", - "sebastian/type": "^3.0", + "sebastian/type": "^3.2", "sebastian/version": "^3.0.2" }, "suggest": { @@ -9532,7 +9546,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.23" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.27" }, "funding": [ { @@ -9542,9 +9556,13 @@ { "url": "https://github.com/sebastianbergmann", "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" } ], - "time": "2022-08-22T14:01:36+00:00" + "time": "2022-12-09T07:31:23+00:00" }, { "name": "sebastian/cli-parser", @@ -9715,16 +9733,16 @@ }, { "name": "sebastian/comparator", - "version": "4.0.6", + "version": "4.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382" + "reference": "fa0f136dd2334583309d32b62544682ee972b51a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/55f4261989e546dc112258c7a75935a81a7ce382", - "reference": "55f4261989e546dc112258c7a75935a81a7ce382", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/fa0f136dd2334583309d32b62544682ee972b51a", + "reference": "fa0f136dd2334583309d32b62544682ee972b51a", "shasum": "" }, "require": { @@ -9777,7 +9795,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.6" + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" }, "funding": [ { @@ -9785,7 +9803,7 @@ "type": "github" } ], - "time": "2020-10-26T15:49:45+00:00" + "time": "2022-09-14T12:41:17+00:00" }, { "name": "sebastian/complexity", @@ -9975,16 +9993,16 @@ }, { "name": "sebastian/exporter", - "version": "4.0.4", + "version": "4.0.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9" + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/65e8b7db476c5dd267e65eea9cab77584d3cfff9", - "reference": "65e8b7db476c5dd267e65eea9cab77584d3cfff9", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", + "reference": "ac230ed27f0f98f597c8a2b6eb7ac563af5e5b9d", "shasum": "" }, "require": { @@ -10040,7 +10058,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.4" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" }, "funding": [ { @@ -10048,7 +10066,7 @@ "type": "github" } ], - "time": "2021-11-11T14:18:36+00:00" + "time": "2022-09-14T06:03:37+00:00" }, { "name": "sebastian/global-state", @@ -10403,16 +10421,16 @@ }, { "name": "sebastian/type", - "version": "3.0.0", + "version": "3.2.0", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/type.git", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad" + "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", - "reference": "b233b84bc4465aff7b57cf1c4bc75c86d00d6dad", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", + "reference": "fb3fe09c5f0bae6bc27ef3ce933a1e0ed9464b6e", "shasum": "" }, "require": { @@ -10424,7 +10442,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-master": "3.0-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -10447,7 +10465,7 @@ "homepage": "https://github.com/sebastianbergmann/type", "support": { "issues": "https://github.com/sebastianbergmann/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.0.0" + "source": "https://github.com/sebastianbergmann/type/tree/3.2.0" }, "funding": [ { @@ -10455,7 +10473,7 @@ "type": "github" } ], - "time": "2022-03-15T09:54:48+00:00" + "time": "2022-09-12T14:47:03+00:00" }, { "name": "sebastian/version", @@ -10632,5 +10650,5 @@ "ext-xml": "*" }, "platform-dev": [], - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.3.0" } diff --git a/config/refresh-sitemap.php b/config/refresh-sitemap.php index 5e5297fb..598d5f3f 100644 --- a/config/refresh-sitemap.php +++ b/config/refresh-sitemap.php @@ -35,7 +35,7 @@ return [ 'routesBinder' => [ 'product.show' => [ - 'product' => [Products::class, 'slug'] + 'publishedProduct' => [Products::class, 'slug'] ], 'products.range' => [ 'slugRange' => [Range::class, 'slug'] diff --git a/resources/views/front/club/cart.blade.php b/resources/views/front/club/cart.blade.php index 557af0ab..2b457b1e 100644 --- a/resources/views/front/club/cart.blade.php +++ b/resources/views/front/club/cart.blade.php @@ -35,8 +35,8 @@ window._translations = @json(cache(sprintf('translations.%s', app()->getLocale()))); window._asset = '{{ asset('') }}'; window._routes = { - 'setFav': '{{ route('account.set-cart', ['product' => '~PRODUCT~', 'status' => '~STATUS~']) }}', - 'product.show': '{{ route('product.show', ['product' => '~PRODUCT~']) }}' + 'setFav': '{{ route('account.set-cart', ['publishedProduct' => '~PRODUCT~', 'status' => '~STATUS~']) }}', + 'product.show': '{{ route('product.show', ['publishedProduct' => '~PRODUCT~']) }}' }; @endpush diff --git a/resources/views/front/products/index.blade.php b/resources/views/front/products/index.blade.php index cbd93bd4..3dca9acc 100644 --- a/resources/views/front/products/index.blade.php +++ b/resources/views/front/products/index.blade.php @@ -124,7 +124,7 @@ $vegetal = ($vegetal || isset($gamme) && $gamme && $gamme->slug === "le-vegetal" @svg('assets/images/produit/arrow-_-.svg') @foreach($subranges as $srange) - + @if(isset($srange->picture) and strlen($srange->picture)) diff --git a/resources/views/front/products/product.blade.php b/resources/views/front/products/product.blade.php index 70c9807a..2c711c20 100644 --- a/resources/views/front/products/product.blade.php +++ b/resources/views/front/products/product.blade.php @@ -293,8 +293,8 @@ $vegetal = ($vegetal || isset($gamme) && $gamme && $gamme->slug === "le-vegetal" window._routes = { "product.show": "{{ route('product.show', $product->slug) }}", "account.cart": "{{ route('account.cart') }}", - "account.add-cart": "{{ route('account.set-cart', ['product' => $product, 'status' => 1]) }}", - "account.remove-cart": "{{ route('account.set-cart', ['product' => $product, 'status' => 0]) }}" + "account.add-cart": "{{ route('account.set-cart', ['publishedProduct' => $product, 'status' => 1]) }}", + "account.remove-cart": "{{ route('account.set-cart', ['publishedProduct' => $product, 'status' => 0]) }}" }; @endpush diff --git a/routes/breadcrumbs.php b/routes/breadcrumbs.php index de533196..c9439a9f 100644 --- a/routes/breadcrumbs.php +++ b/routes/breadcrumbs.php @@ -72,9 +72,9 @@ Breadcrumbs::for('products.consumption-times.show', function (Generator $trail, $trail->parent('products.consumption-times'); $trail->push(ucfirst($slugConsumptionTime), route('products.consumption-times', compact('slugConsumptionTime'))); }); -Breadcrumbs::for('product.show', function (Generator $trail, Products $product) { +Breadcrumbs::for('product.show', function (Generator $trail, Products $publishedProduct) { $trail->parent('products.index'); - $trail->push($product->name, route('product.show', compact('product'))); + $trail->push($publishedProduct->name, route('product.show', compact('publishedProduct'))); }); // Kitchen side @@ -303,4 +303,4 @@ Breadcrumbs::for('danslespres.description', function (Generator $trail) { Breadcrumbs::for('danslespres.media', function (Generator $trail) { $trail->parent('danslespres.index'); $trail->push(__('La Démarche en photo et video'), route('danslespres.media')); -}); \ No newline at end of file +}); diff --git a/routes/web.php b/routes/web.php index c96ada65..76a7c1e3 100644 --- a/routes/web.php +++ b/routes/web.php @@ -63,7 +63,9 @@ Route::prefix('/produits') ->name('products.') ->group(function () { Route::get('/', [ProductsController::class, 'index'])->name('index'); - Route::get('/gamme/{slugRange}/{subRange?}', [ProductsController::class, 'filter'])->name('range'); + Route::get('/gamme/{slugRange:slug}/{slugSubRange:slug?}', [ + ProductsController::class, 'filter' + ])->name('range'); Route::get('/moment-consommations/{slugConsumptionTime}', [ProductsController::class, 'filter']) ->name('consumption-times'); Route::get('/type-viande/{slugMeatType}', [ProductsController::class, 'filter'])->name('meat-type'); @@ -71,10 +73,11 @@ Route::prefix('/produits') }); Route::prefix('/produit') - ->name('product.') - ->group(function () { - Route::get('/{product}', [ProductsController::class, 'show'])->name('show'); - }); +->name('product.') +->group(function () { + Route::get('/{publishedProduct:slug}', [ProductsController::class, 'show']) + ->middleware('redirect-slugs')->name('show'); +}); Route::prefix('/cote-cuisine')->name('kitchen-side.')->group(function () { Route::get('/', [RecipesController::class, 'kitchenside'])->name('index'); @@ -314,7 +317,9 @@ Route::prefix('/mon-compte') Route::get('/messages/report', [ContactController::class, 'reportCustomer'])->name('reportCustomer'); Route::get('/notifications', [ClubController::class, 'notifications'])->name('notifications'); Route::get('/recettes-favorites', [ClubController::class, 'favoritesRecipes'])->name('favs-recipes'); - Route::post('/liste-de-courses/{product}/{status}', [CustomerController::class, 'setItemInCart'])->name('set-cart'); + Route::post('/liste-de-courses/{publishedProduct:slug}/{status}', [ + CustomerController::class, 'setItemInCart' + ])->name('set-cart'); Route::post('/mes-informations', [ClubController::class, 'updateInfos'])->name('update-infos'); Route::post('/mes-informations/change-password', [AuthController::class, 'changePasswordWhenAuthenticated']) ->name('change-password');