baks-dev/avito-board
Laravel/PHP модуль baks-dev/avito-board для интеграции с Avito: публикация и управление объявлениями, поддержка PHP 8.4+. Устанавливается через Composer, есть PHPUnit-тесты (группа avito-board). Лицензия MIT.
RouteServiceProvider).tightenco/ziggy for URL generation).laravel-doctrine/orm).AvitoClient), it can be used without Symfony DI.baks-dev/core:^7.4 (unknown compatibility; may need forking).avito-board group). Risk: Untested edge cases (e.g., API rate limits, error handling).| Risk Area | Severity | Mitigation |
|---|---|---|
| Symfony-Laravel Conflict | High | Abstract Symfony components; use Laravel’s service container. |
| Undocumented API | Medium | Reverse-engineer via tests/release notes; add Laravel-specific wrappers. |
Dependency on baks-dev/core |
High | Fork or replace core dependencies (e.g., use Laravel’s illuminate/support). |
| Avito API Changes | Medium | Implement caching (Laravel Cache) and retry logic (Laravel Queues). |
| Localization (Russian-only) | Low | Extend for multilingual support if needed (e.g., via Laravel Localization). |
| Package Maturity | High | 0 stars, recent release (2026). Vet stability early; consider a pilot feature. |
src/ for standalone classes (e.g., AvitoClient, AdRepository).baks-dev/core? Risk of abandonment if upstream stops updates.| Symfony Component | Laravel Equivalent | Integration Strategy |
|---|---|---|
| Symfony Bundle | Laravel Package | Wrap in ServiceProvider + Facade. |
| Twig Templates | Blade | Convert templates or use tightenco/ziggy. |
| Symfony DI | Laravel Container | Bind Symfony services to Laravel’s IoC. |
| Doctrine ORM | Eloquent | Replace or use laravel-doctrine/orm. |
| Symfony Events | Laravel Events | Use Illuminate\Support\Facades\Event. |
| Symfony Routing | Laravel Routes | Convert YAML routes to RouteServiceProvider. |
Phase 1: Assessment (1-2 weeks)
composer show baks-dev/avito-board, git grep for Symfony-specific code.Phase 2: Abstraction Layer (2-3 weeks)
vendor/avito-board-laravel):
tightenco/ziggy for URL generation).bind('avito.client', fn() => new AvitoClient())).// Laravel Service Provider
public function register()
{
$this->app->bind('avito', function ($app) {
return new \BaksDev\AvitoBoard\AvitoClient(
config('avito-board.api_key'),
new \GuzzleHttp\Client()
);
});
}
Phase 3: Feature Integration (3-4 weeks)
Phase 4: Optimization (1 week)
laravel-queue).EventDispatcher vs. Laravel’s Events. Use adapters or feature flags.laravel-doctrine/orm.YamlRouteLoader → Laravel’s RouteServiceProvider.illuminate/support to replace baks-dev/core dependencies.tightenco/ziggy.HandleIncomingWebhook trait).AvitoService) before templating.// Standalone Avito Service
class Avito
How can I help you explore Laravel packages today?