- Can I use **beloop/typeform** directly in a Laravel 9/10 project?
- No, this package is not compatible with Laravel 9/10 due to dependencies like Carbon v1 and older Illuminate contracts. It’s limited to Laravel 5.8–6.x with dependency overrides, but conflicts are likely. Consider a custom wrapper or alternative.
- Does this package support Typeform API v2 (OAuth 2.1) or only v1?
- This package only supports Typeform API v1, which is deprecated. For modern OAuth 2.1 workflows, you’ll need a custom solution (e.g., Guzzle + Typeform’s official SDK) or a third-party Laravel package like Spatie’s Typeform integration.
- How do I install **beloop/typeform** in Laravel?
- Run `composer require beloop/typeform` in your project. However, due to PHP 7.2+ and Symfony dependencies, you may need to override Laravel’s autoloader or use a facade/service wrapper to isolate conflicts. Test thoroughly in a staging environment.
- Are there any known security risks with this package?
- Yes, the package is unmaintained and may contain unpatched vulnerabilities in transitive dependencies (e.g., Guzzle, Symfony). It’s recommended to audit dependencies with `composer why-not` and consider forking or replacing it for production use.
- Can I use this package for Typeform webhook processing in Laravel?
- Theoretically, yes, but the implementation may lack reliability (e.g., retries, dead-letter queues). For production, wrap webhook handling in a Laravel queue job (e.g., `HandleTypeformWebhook`) to isolate failures and improve observability.
- What’s the best way to handle PHP 7.2+ dependencies in a PHP 8.x Laravel app?
- Use Composer’s `platform-check` or `platform` config to enforce PHP 7.2 during development, but expect type system conflicts in PHP 8.x. For critical projects, fork the package and update dependencies manually or replace it entirely.
- Does this package include Eloquent models or database migrations?
- The documentation doesn’t specify, but given its Symfony roots, it likely relies on Doctrine ORM. If you need Laravel’s Eloquent, you’ll need to create custom models or adapters to bridge the two, which adds complexity.
- Are there alternatives to **beloop/typeform** for Laravel?
- Yes, consider Spatie’s Laravel Typeform package (if available) or Typeform’s official PHP SDK wrapped in a Laravel service. For modern needs, a custom Guzzle-based client with Laravel’s HTTP client is often more flexible and maintainable.
- How do I contribute or report issues with this package?
- This package is read-only. All issues, questions, and pull requests must be directed to the main **beloop/components** repository. The Typeform component is archived and no longer actively maintained.
- Will this package work with Laravel’s queue system for async Typeform operations?
- Yes, you can dispatch jobs (e.g., `TypeformSubmissionJob`) to process submissions or webhooks asynchronously. However, ensure your queue worker runs PHP 7.2+ and handles potential dependency conflicts gracefully.