This commit is contained in:
ct
2025-08-10 21:10:33 +08:00
parent 480bd9055d
commit 583a804073
43 changed files with 7623 additions and 270 deletions

View File

@@ -1,16 +1,32 @@
{
"$schema": "https://getcomposer.org/schema.json",
"name": "laravel/laravel",
"type": "project",
"description": "The skeleton application for the Laravel framework.",
"keywords": ["laravel", "framework"],
"name": "crawlshot/laravel",
"type": "library",
"description": "Laravel HTTP client package for Crawlshot API - web crawling and screenshot service",
"keywords": [
"laravel",
"crawler",
"screenshot",
"api-client",
"web-scraping",
"http-client"
],
"license": "MIT",
"require": {
"php": "^8.2",
"laravel/framework": "^12.0",
"laravel/tinker": "^2.10.1"
"php": "^8.3",
"illuminate/support": "^10.0|^11.0|^12.0",
"illuminate/http": "^10.0|^11.0|^12.0",
"illuminate/database": "^10.0|^11.0|^12.0",
"illuminate/queue": "^10.0|^11.0|^12.0",
"protonlabs/php-adblock-parser": "^1.1",
"spatie/browsershot": "^5.0",
"ext-imagick": "*"
},
"require-dev": {
"laravel/framework": "^12.0",
"laravel/horizon": "^5.33",
"laravel/sanctum": "^4.2",
"laravel/tinker": "^2.10.1",
"fakerphp/faker": "^1.23",
"laravel/pail": "^1.2.2",
"laravel/pint": "^1.13",
@@ -18,10 +34,12 @@
"mockery/mockery": "^1.6",
"nunomaduro/collision": "^8.6",
"pestphp/pest": "^3.8",
"pestphp/pest-plugin-laravel": "^3.2"
"pestphp/pest-plugin-laravel": "^3.2",
"orchestra/testbench": "^10.0"
},
"autoload": {
"psr-4": {
"Crawlshot\\Laravel\\": "src/",
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
@@ -34,8 +52,7 @@
},
"scripts": {
"post-autoload-dump": [
"@php artisan config:clear",
"@php artisan clear-compiled",
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
@@ -48,19 +65,16 @@
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
],
"dev": [
"Composer\\Config::disableProcessTimeout",
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
],
"test": [
"@php artisan config:clear --ansi",
"@php artisan test"
]
},
"extra": {
"laravel": {
"dont-discover": []
"providers": [
"Crawlshot\\Laravel\\CrawlshotServiceProvider"
],
"aliases": {
"Crawlshot": "Crawlshot\\Laravel\\Facades\\Crawlshot"
}
}
},
"config": {