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

28
src/Facades/Crawlshot.php Normal file
View File

@@ -0,0 +1,28 @@
<?php
namespace Crawlshot\Laravel\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @method static array createCrawl(string $url, array $options = [])
* @method static array getCrawlStatus(string $uuid)
* @method static array listCrawls()
* @method static array createShot(string $url, array $options = [])
* @method static array getShotStatus(string $uuid)
* @method static string downloadShot(string $uuid)
* @method static array listShots()
* @method static array health()
*
* @see \Crawlshot\Laravel\CrawlshotClient
*/
class Crawlshot extends Facade
{
/**
* Get the registered name of the component.
*/
protected static function getFacadeAccessor(): string
{
return 'crawlshot';
}
}