- How do I install paneedesign/flypme-bundle in a Laravel app?
- Install the package with Composer using composer require paneedesign/flypme-bundle, then follow the repository README for any service provider registration steps. Add your Flyp.me API credentials and endpoint to the package configuration. The bundle exposes a dependency-injected service you can resolve from Laravel's container.
- Does this package support Laravel 10 and Laravel 11?
- Laravel version support depends on the package's Composer constraints and service provider bindings. Check the repository's composer.json and README for the exact Laravel and PHP versions tested. Because the core service layer is framework-agnostic, integration is often straightforward, but confirm compatibility before upgrading.
- How do I configure Flyp.me API credentials for this bundle?
- Set the API credentials and endpoint in the bundle's configuration, typically through environment variables mapped into a config file. Keep secrets out of source control and use Laravel's environment handling. Confirm the exact configuration key names in the package README.
- Can I create a crypto-to-crypto exchange order with this package?
- Yes, the bundle provides a service for creating instant exchange orders against Flyp.me. You supply the source and destination currencies and amount, and the service returns order data for follow-up status checks. Validate inputs and handle API exceptions in your application.
- How do I get supported currencies and exchange rates from Flyp.me?
- The service layer includes methods to retrieve supported currencies and exchange rate estimates. Use these before creating an order so users see accurate pairs and amounts. Cache results where appropriate to reduce repeated API calls.
- Can I track the status of a Flyp.me transaction with this bundle?
- Yes, you can query order or transaction status through the Flyp.me service wrapper. Store the order identifier returned at creation and check it as needed. Treat status as eventually consistent and handle pending states in your UI.
- Is the service layer testable without hitting the live Flyp.me API?
- The framework-agnostic service layer is designed for easy testing. You can mock or fake the HTTP client and service dependencies, then assert your order creation logic without live API calls. In Laravel, bind test doubles through the container.
- Does paneedesign/flypme-bundle work outside Laravel, such as in plain PHP or Symfony?
- The core service layer is framework-agnostic, so it can be used in plain PHP or another framework. Laravel-specific value comes from configuration and service bindings, while elsewhere you wire or instantiate the services yourself. Check the package dependencies for any framework-specific requirements.
- What are alternatives to using this Flyp.me bundle for crypto swaps?
- Alternatives include calling the Flyp.me API directly, integrating another instant exchange API, or using a different crypto exchange package. This bundle is most useful when you want a configurable, dependency-injected wrapper instead of raw HTTP calls. Evaluate supported currencies, fees, and maintenance activity before choosing.
- Is this package safe to use in production for cryptocurrency exchanges?
- Assess maintenance activity, open issues, and Composer constraints before production use. Pin versions, keep API credentials in environment variables, and add error handling around all exchange calls. Because crypto rates and order states change quickly, implement logging and idempotency for order creation.