chore: add spatie/laravel-sluggable package and update composer.lock and pnpm-lock.yaml

This commit is contained in:
Yoga Pangestu 2026-04-14 21:30:47 +07:00
parent cf52c05436
commit c0ea08f1e9
3 changed files with 85 additions and 3 deletions

View File

@ -14,7 +14,8 @@
"laravel/fortify": "^1.34",
"laravel/framework": "^13.0",
"laravel/tinker": "^3.0",
"laravel/wayfinder": "^0.1.14"
"laravel/wayfinder": "^0.1.14",
"spatie/laravel-sluggable": "^3.8"
},
"require-dev": {
"fakerphp/faker": "^1.24",
@ -103,4 +104,4 @@
}
},
"minimum-stability": "stable"
}
}

61
composer.lock generated
View File

@ -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": "a2e489bd0dbf84f58c36177da895aa14",
"content-hash": "df3eb30815dd68f4fb14dd641ee6677f",
"packages": [
{
"name": "bacon/bacon-qr-code",
@ -3770,6 +3770,65 @@
},
"time": "2025-12-14T04:43:48+00:00"
},
{
"name": "spatie/laravel-sluggable",
"version": "3.8.1",
"source": {
"type": "git",
"url": "https://github.com/spatie/laravel-sluggable.git",
"reference": "3624a2d7d8c8475d8561c53faf63f1af583ef76c"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/spatie/laravel-sluggable/zipball/3624a2d7d8c8475d8561c53faf63f1af583ef76c",
"reference": "3624a2d7d8c8475d8561c53faf63f1af583ef76c",
"shasum": ""
},
"require": {
"illuminate/database": "^10.0|^11.0|^12.0|^13.0",
"illuminate/support": "^10.0|^11.0|^12.0|^13.0",
"php": "^8.2"
},
"require-dev": {
"orchestra/testbench": "^8.0|^9.0|^10.0|^11.0",
"pestphp/pest": "^2.0|^3.7|^4.0",
"spatie/laravel-translatable": "^5.0|^6.0"
},
"type": "library",
"autoload": {
"psr-4": {
"Spatie\\Sluggable\\": "src"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "Freek Van der Herten",
"email": "freek@spatie.be",
"homepage": "https://spatie.be",
"role": "Developer"
}
],
"description": "Generate slugs when saving Eloquent models",
"homepage": "https://github.com/spatie/laravel-sluggable",
"keywords": [
"laravel-sluggable",
"spatie"
],
"support": {
"source": "https://github.com/spatie/laravel-sluggable/tree/3.8.1"
},
"funding": [
{
"url": "https://github.com/spatie",
"type": "github"
}
],
"time": "2026-03-23T07:42:02+00:00"
},
{
"name": "symfony/clock",
"version": "v7.4.8",

22
pnpm-lock.yaml generated
View File

@ -62,6 +62,9 @@ importers:
'@tailwindcss/vite':
specifier: ^4.1.11
version: 4.2.2(vite@8.0.8(@types/node@22.19.17)(jiti@2.6.1))
'@tanstack/react-table':
specifier: ^8.21.3
version: 8.21.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)
'@types/react':
specifier: ^19.2.0
version: 19.2.14
@ -1595,12 +1598,23 @@ packages:
peerDependencies:
vite: ^5.2.0 || ^6 || ^7 || ^8
'@tanstack/react-table@8.21.3':
resolution: {integrity: sha512-5nNMTSETP4ykGegmVkhjcS8tTLW6Vl4axfEGQN3v0zdHYbK4UfoqfPChclTrJ4EoK9QynqAu9oUf8VEmrpZ5Ww==}
engines: {node: '>=12'}
peerDependencies:
react: '>=16.8'
react-dom: '>=16.8'
'@tanstack/react-virtual@3.13.23':
resolution: {integrity: sha512-XnMRnHQ23piOVj2bzJqHrRrLg4r+F86fuBcwteKfbIjJrtGxb4z7tIvPVAe4B+4UVwo9G4Giuz5fmapcrnZ0OQ==}
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0
'@tanstack/table-core@8.21.3':
resolution: {integrity: sha512-ldZXEhOBb8Is7xLs01fR3YEc3DERiz5silj8tnGkFZytt1abEvl/GhUmCE0PMLaMPTa3Jk4HbKmRlHmu+gCftg==}
engines: {node: '>=12'}
'@tanstack/virtual-core@3.13.23':
resolution: {integrity: sha512-zSz2Z2HNyLjCplANTDyl3BcdQJc2k1+yyFoKhNRmCr7V7dY8o8q5m8uFTI1/Pg1kL+Hgrz6u3Xo6eFUB7l66cg==}
@ -5518,12 +5532,20 @@ snapshots:
tailwindcss: 4.2.2
vite: 8.0.8(@types/node@22.19.17)(jiti@2.6.1)
'@tanstack/react-table@8.21.3(react-dom@19.2.5(react@19.2.5))(react@19.2.5)':
dependencies:
'@tanstack/table-core': 8.21.3
react: 19.2.5
react-dom: 19.2.5(react@19.2.5)
'@tanstack/react-virtual@3.13.23(react-dom@19.2.5(react@19.2.5))(react@19.2.5)':
dependencies:
'@tanstack/virtual-core': 3.13.23
react: 19.2.5
react-dom: 19.2.5(react@19.2.5)
'@tanstack/table-core@8.21.3': {}
'@tanstack/virtual-core@3.13.23': {}
'@ts-morph/common@0.27.0':