- What is postyou/dealsandprojects-bundle used for?
- It is a Composer package for managing deals and projects, exposing TimeRecord and CalendarEvent resources plus a getAll accessor over a remote API. The supplied notes describe it as a pre-1.0 Laravel/PHP client, while the package blurb references Contao backend modules and frontend templates. Treat the API client surface as the integration point and confirm the Contao/Laravel fit with the maintainer before adopting.
- How do I install postyou/dealsandprojects-bundle with Composer in Laravel?
- Install it with composer require postyou/dealsandprojects-bundle and pin the exact 0.0.x version you have tested. For a Laravel app, expect a package service provider to bind a configured HTTP client, then inject the resource classes where needed. Do not use a caret constraint on a zero-major release.
- Which Laravel and PHP versions does this package support?
- The provided evaluation does not state supported Laravel or PHP ranges, so verify them against your runtime before adoption. The assessment assumes a conventional Laravel app on PHP 8.x with the framework HTTP client and queue available. Confirm the exact composer.json constraints and whether a path to 1.0 is planned.
- How do I configure credentials for the deals and projects API client?
- Credentials are supplied through Composer dependency configuration plus the package's credential settings; the notes do not list exact environment variable names. Check the README or service provider for the config key and HTTP client binding. Confirm whether CalendarEvent needs additional OAuth scopes beyond TimeRecord.
- What are the TimeRecord and CalendarEvent resources in this package?
- TimeRecord and CalendarEvent are thin resource classes mapped over a remote time-tracking and calendar API. They keep the vendor contract in the package layer rather than leaking into controllers, models, or jobs. A collection-style getAll accessor is also exposed for list retrieval.
- What changed in v0.0.15 for TimeRecord and CalendarEvent?
- Version 0.0.15 adds CalendarEvent and new TimeRecord methods, and it introduces a behavioural change to getAll via a cap. The notes do not say whether TimeRecord changes are purely additive or whether any existing methods were deprecated or reshaped. Review the diff and changelog before upgrading existing callers.
- What is the getAll cap and does it silently truncate results?
- The cap limits what getAll returns, and the critical unknown is whether it is enforced client-side with truncation or server-side with paging. If it truncates silently, reporting, reconciliation, and backfill jobs may receive fewer rows without an exception. Ask the maintainer whether the cap is configurable and whether it logs or throws when hit.
- How can I fetch more records than the getAll limit?
- The notes do not confirm a cursor or offset path for retrieving beyond the cap. Before relying on full datasets, test getAll against a known record count and inspect the response metadata. If no paging path exists, request one or keep high-volume reads outside this client.
- Is this package production-ready at version 0.0.x?
- No. A 0.0.x line carries no semver guarantee, and reaching patch 15 without a 0.1 or 1.0 suggests the public surface is still moving. Pin the exact version, wrap the client behind application-owned repositories, and gate upgrades behind integration tests.
- How should I integrate this package to avoid vendor lock-in?
- Introduce TimeRecordRepository and CalendarEventRepository interfaces in your application and implement them with this package from day one. That confines the vendor contract to one namespace and leaves room to swap providers later. Consume the data through queued sync jobs and scheduled commands rather than calling resources directly from controllers.