nihilsen / seeker
一个用于多源数据聚合和索引的Laravel包
v0.1.0
2023-01-30 08:10 UTC
Requires
- php: ^8.1
- calebporzio/parental: ^1.3
- illuminate/contracts: ^9.0
- nihilsen/laravel-join-using: ^0.1.0
- spatie/laravel-package-tools: ^1.13.6
- symfony/dom-crawler: ^6.1
Requires (Dev)
- guzzlehttp/guzzle: ^7.5
- laravel/pint: ^1.0
- nunomaduro/collision: ^6.0
- orchestra/testbench: ^7.0
- pestphp/pest: ^1.21
- pestphp/pest-plugin-laravel: ^1.1
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-09-29 09:02:13 UTC
README
此Laravel包提供了一个基于类的框架,用于多源数据聚合和集成到Eloquent模型。
安装
您可以通过composer安装此包
composer require nihilsen/seeker
您可以使用以下命令运行迁移
php artisan migrate
您可以使用以下命令发布配置文件
php artisan vendor:publish --tag="seeker-config"
这是已发布配置文件的内容
<?php return [ /* |-------------------------------------------------------------------------- | Endpoints |-------------------------------------------------------------------------- | | Endpoint classes may be listed here as an array to control which should | be loaded. | | Alternatively, if set to null, we will attempt auto-loading from the | configured endpoints namespace (see below). | */ 'endpoints' => null, /* |-------------------------------------------------------------------------- | Namespace |-------------------------------------------------------------------------- | | Set the namespace to associate with endpoint classes. | */ 'namespace' => \App\Seeker\Endpoints::class, /* |-------------------------------------------------------------------------- | Rate limiting |-------------------------------------------------------------------------- | | Set the rate limiting middleware to use for Seek jobs. | | May be set to false or null to disable queue-level rate limiting. | | For optimized rate limiting using Redis, consider using | "Illuminate\Queue\Middleware\RateLimitedWithRedis::class", | as per <https://laravel.net.cn/docs/9.x/queues#rate-limiting> | */ 'rate_limiter' => Illuminate\Queue\Middleware\RateLimited::class, ];
测试
composer test
变更日志
请参阅变更日志获取最近更改的更多信息。
贡献
请参阅贡献指南获取详细信息。
致谢
许可证
MIT许可证(MIT)。请参阅许可证文件获取更多信息。