- How do I install the-3labs-team/laravel-ads-post-parser in Laravel?
- Install it with composer require the-3labs-team/laravel-ads-post-parser. Laravel package auto-discovery registers the service provider, so no manual provider entry is normally needed. After installation, review the package configuration for parser and model settings before importing ads.
- Does this package support Laravel 12 and PHP 8.4?
- Version 5.0.5 is tested in CI against PHP 8.4, Laravel 12, Testbench 10, Pest 4, PHPUnit 12, and Larastan 3. That means PHP 8.4 and Laravel 12 are verified targets, but you should still confirm the package's php and illuminate/* constraints admit those versions. Do not rely on the CI matrix alone if your application uses an older Laravel release.
- What does laravel-ads-post-parser actually parse?
- It parses ad posts into structured data, extracting titles, descriptions, prices, images, and contact details. Parsers are configurable so you can import classified ads from HTML, feeds, or APIs. The package integrates with Eloquent, applies validation, and supports queues for batch processing.
- Is version 5.0.5 a breaking change from 5.0.4?
- No, 5.0.5 is a maintenance release with no configuration or runtime API surface changes. Existing 5.x consumers should be able to run composer update as a drop-in patch. The notable changes are CI and tooling updates, a committed composer.lock, and parser tests re-baselined against current prepend behavior.
- Why is voku/portable-utf8 on dev-master a risk for this package?
- A dev-master constraint on voku/portable-utf8 makes consumer installs non-reproducible because the dependency can change without a new release of this package. It also sits outside normal advisory tracking for a resolved version, which is a supply-chain concern in audited environments. Prefer a tagged version, or add a root-level constraint to force one and keep your lockfile authoritative.
- Can I process large batches of ads with queues using this Laravel package?
- Yes, the package includes queue support intended for batch processing of imported ads. You can dispatch parser or import jobs to your configured queue connection instead of processing large feeds synchronously. Pair that with validation and Eloquent persistence so failed or invalid records can be retried or reviewed.
- How do I configure parsers for different ad sources like HTML, feeds, or APIs?
- Parsers are configurable so the same import flow can target HTML pages, feeds, or APIs. You map extracted fields such as titles, prices, images, and contact details onto your Eloquent models and validation rules. Check the published configuration for the parser definitions and adjust them per source.
- Does the package still work with older Laravel versions like Laravel 10 or 11?
- The 5.0.5 CI matrix moved to the newest stack, including PHP 8.4 and Laravel 12. If the matrix no longer exercises Laravel 10 or 11, the advertised compatibility floor is left unverified by CI even if composer.json still permits it. Test on your exact Laravel and PHP versions before upgrading production.
- How should I test parser output before upgrading to 5.0.5?
- Run your application test suite after composer update, then add fixtures for the ad formats and edge cases you rely on. Because 5.0.5 re-baselines parser tests around current prepend behavior, compare output ordering and field extraction against 5.0.4. This is especially important if your import pipeline depends on stable ordering.
- Is there a tagged release of voku/portable-utf8 I can use instead of dev-master?
- A tagged release of voku/portable-utf8 is likely available and would usually satisfy the same multibyte normalization requirement; the release notes do not explain why dev-master was chosen. The safest approach is to add an explicit root-level constraint on a tagged version or hold at 5.0.4 until the dependency is pinned. That converts the upgrade from trusting upstream CI to trusting your own lockfile.