Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message
Avito Board

Avito Board Laravel Package

baks-dev/avito-board

Laravel/PHP модуль baks-dev/avito-board для интеграции с Avito: публикация и управление объявлениями, поддержка PHP 8.4+. Устанавливается через Composer, есть PHPUnit-тесты (группа avito-board). Лицензия MIT.

View on GitHub
Deep Wiki
Context7

composer require baks-dev/avito-board

Frequently asked questions about Avito Board
Can I use baks-dev/avito-board directly in Laravel without Symfony dependencies?
No, this package is a Symfony Bundle. You’ll need to manually abstract Symfony components (e.g., Doctrine, EventDispatcher) or extract only the Avito API client classes for Laravel compatibility. Consider wrapping it in a Laravel Service Provider for better integration.
What Laravel versions does baks-dev/avito-board support?
The package requires PHP 8.4+, which aligns with Laravel 10+. However, it’s a Symfony Bundle, so direct Laravel compatibility isn’t guaranteed. Test thoroughly, especially if using Laravel’s Eloquent or Blade instead of Symfony’s Twig or Doctrine.
How do I publish Avito ads using this package in Laravel?
Since the package is Symfony-based, you’ll need to adapt its controllers or services to Laravel’s routing and HTTP clients (e.g., Guzzle). Extract the Avito API logic (e.g., `AdRepository`) and bind it to Laravel’s container. No built-in Laravel routes or Blade templates exist.
Are there any Laravel-specific documentation or examples for this package?
No, the package lacks Laravel integration guides. You’ll need to reverse-engineer its Symfony components (e.g., via tests or release notes) or build custom wrappers. Check the `avito-board` PHPUnit test group for usage patterns, but expect manual adaptation.
What happens if I use this package with PHP <8.4?
The package explicitly requires PHP 8.4+. Using an older version may cause breaking changes or compatibility issues, especially with Symfony 7.x dependencies. Laravel 10+ supports PHP 8.2+, but this package won’t work without PHP 8.4+.
Does baks-dev/avito-board support Avito’s GraphQL API?
The package likely includes Avito API wrappers (REST/GraphQL), but no explicit documentation confirms GraphQL support. Review the source code or test group (`avito-board`) for GraphQL-related methods. For full control, consider using Avito’s official SDK.
How do I handle Avito API rate limits or errors in Laravel?
The package doesn’t include built-in rate-limiting or error-handling logic. Implement Laravel Cache for API responses and use Guzzle middleware (e.g., `RetryMiddleware`) for resilience. Test edge cases like token expiration or quota limits manually.
Are there alternatives to baks-dev/avito-board for Laravel?
Yes. For Avito-specific needs, use the official `avito-sdk` for lower-level control. For broader ad platforms, explore `laravel-admanager`. If this package is overkill, build a custom Guzzle-based client for search/listing operations.
How do I test baks-dev/avito-board in a Laravel project?
Run the package’s tests with `php bin/phpunit --group=avito-board`, but these are Symfony-focused. For Laravel integration, mock Symfony dependencies (e.g., `baks-dev/core`) and test your custom wrappers. Use Laravel’s HTTP tests to validate API interactions.
Will this package work with Russian-language Avito ads only?
Yes, the package is designed for the Russian Avito marketplace (e.g., job boards, real estate). If you need multilingual support, you’ll need to extend the localization logic manually, as the package doesn’t include built-in i18n tools.
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nexmo/api-specification
axium/identity
cetria/laravel-dummy-models
cetria/reflection-helper
agropredict/sso-auth-bundle
evolvestudio/spam-protection
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes