← Back to Packages

Package

Laravel Trello

PHP Laravel

Stateless Trello REST API client for Laravel with the authorize-URL token flow.

Overview

Builds the Trello authorize URL (with a state value for round-trip verification) and provides TrelloClient methods that take the member token explicitly: fetch the member, list boards and lists, create or archive cards, and revoke the token on disconnect. The token arrives in the callback URL fragment, so a small frontend script must read window.location.hash and POST it back to your server.

Installation

composer require labrodev/laravel-trello

Tips

  • Add your application's origin to the Power-Up's Allowed origins or the authorize redirect is refused.
  • Read the token out of location.hash client-side; it never reaches the server on its own.
  • Request expiration=never on the authorize URL to skip refresh choreography entirely.
View on GitHub →