descom / descommarket-feeds
DescomMarket Feeds
Installs: 4 136
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 1
Open Issues: 4
Requires
- php: ^8.1
- descom/descommarket_common: ^1.2
- descom/pipeline: ^2.2
- google/apiclient: ^2.12.1
- illuminate/console: *
- illuminate/database: *
- laravel/framework: ^9.0|^10.0|^11.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.4
- guzzlehttp/guzzle: ^7.5
- larastan/larastan: ^2.8
- orchestra/testbench: ^7.5|^8.0|^9.0
- phpstan/phpstan: ^1.2
- phpunit/phpunit: ^9.3|^10.0|^10.5
- dev-master
- 1.15.0
- 1.14.1
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.1
- 1.9.0
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.1
- 1.5.0
- 1.4.1
- 1.4.0
- 1.3.1
- 1.3.0
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
- dev-meta
- dev-update_gtin_in_gm
- dev-gm_product_expiration_renew
- dev-competitiveness-service
- dev-cron-command
- dev-url-index-command
This package is auto-updated.
Last update: 2024-10-16 10:16:40 UTC
README
Add to .env
GOOGLE_API_CREDENTIALS_PATH= GOOGLE_MERCHANT_ID= GOOGLE_MERCHANT_QUEUE_CONNECTION=sync GOOGLE_MERCHANT_QUEUE_TRIES=10 GOOGLE_INDEX_ENABLED= GOOGLE_INDEX_QUEUE_CONNECTION=sync GOOGLE_INDEX_QUEUE_TRIES=10
Add config
php artisan vendor:publish --provider="DescomMarket\Feeds\DescomMarketFeedsServiceProvider"
Google Indexer Url in Search Console
Automatically index your products in Google Search Console if dispatch event:
DescomMarket\Common\Events\Catalog\Products\ProductPublished
You can use this API to index your products in Google Search Console
use DescomMarket\Feeds\Google\Index\Services\EnqueueUrlService; EnqueueUrlService::publish($url); EnqueueUrlService::unpublish($url);
Or use events:
use DescomMarket\Common\Events\Urls\UrlCreated; use DescomMarket\Common\Events\Urls\UrlDeleted;