baks-dev/files-res
Laravel/PHP пакет для управления файловыми ресурсами: загрузка и хранение в public/upload, настройка прав доступа, асинхронная обработка через очередь Messenger (async_files_resources). Поддерживает пережатие и конвертацию изображений в WebP через отдельный CDN-сервер.
baks-dev/core dependency introduce architectural debt and hidden coupling risks.Storage facade, Filesystem). The CDN/WebP dependency is non-standard and vendor-locked, making migration difficult.public/upload paths to Laravel’s Storage facade.ShouldQueue interface, introducing serialization risks.baks-dev/files-cdn (another abandoned package), with no Laravel-friendly alternatives baked in.baks-dev/core: Zero visibility on changes in v7.4.6/7; high risk of silent failures or breaking changes.baks-dev/core dependency and vendor-locked CDN create vendor lock-in and migration barriers.baks-dev/core be replaced? (If mandatory, assess forkability or rewrite.)spatie/laravel-medialibrary or Laravel’s Storage facade.ShouldQueue jobs.spatie/image-optimizer + Cloudflare Polish/AWS CloudFront.Storage facade instead of public/upload.Storage::disk('public')->put('file.jpg', $file->getContent());
class WebPConversionJob implements ShouldQueue {
public function handle() {
// Use Intervention/Image or spatie/image-optimizer
}
}
spatie/image-optimizer.baks-dev/files-res:
Storage can mirror upload logic, but path handling may differ.baks-dev/core: No release notes mean unknown risks; forking or replacing is mandatory.Storage against the package’s logic.spatie/image-optimizer vs. the package’s approach.baks-dev/files-res and document lessons learned.baks-dev/core and baks-dev/files-cdn are also abandoned, increasing technical debt.baks-dev/core dependencies create exit barriers, making migration costly and risky.baks-dev/files-cdn) is non-standard and hard to scale compared to Cloudflare/AWS.public/upload is not designed for horizontal scaling; Laravel’s Storage facade supports S3, GCS, etc.baks-dev/core changes may cause runtime errors with no clear logs.baks-dev/core, which are irrelevant to Laravel.spatie/laravel-medialibrary) have better docs and community support, reducing ramp-up time.How can I help you explore Laravel packages today?