Download the PHP package jordanpartridge/strava-client without Composer

On this page you can find all versions of the php package jordanpartridge/strava-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package strava-client

Laravel Strava Client

A thoughtfully crafted Strava API integration for Laravel developers who value clean, maintainable code. Stop wrestling with OAuth and start building features that matter.

Latest Version on Packagist GitHub Tests Action Status Code Coverage Total Downloads

This package reflects my belief that developer tools should be both powerful and pleasant to use. Built with Laravel best practices and a focus on developer experience.

โœจ Why Choose This Package?

๐Ÿš€ Quick Start

1. Install the package

2. Run the installer

3. Set up your User model

Add the HasStravaTokens trait and HasStravaToken interface to your User model:

4. Add your Strava credentials to .env

5. Connect to Strava

Visit /strava/authorize as an authenticated user to start the OAuth flow.

6. Start building!

๐Ÿ”„ Behind the Scenes

The package handles all the complex OAuth interactions so you don't have to:

  1. Secure authorization initiation via /strava/authorize
  2. Automated OAuth callback processing
  3. Encrypted token storage
  4. Automatic token refresh handling
  5. Clean user token associations

๐Ÿ”ง Configuration

Fine-tune the package behavior through config/strava-client.php:

โšก๏ธ Professional Error Handling

Handle API interactions with confidence using custom exception types:

๐Ÿ”„ Automatic Retry Logic

The package intelligently handles temporary service outages:

This means your application stays resilient even when Strava experiences temporary issues.

Production Considerations

When handling 503 errors in production, consider:

  1. Queue Jobs: For non-critical operations, queue jobs with delay:

  2. User Feedback: Inform users about temporary issues:

  3. Monitoring: Log retry attempts for visibility into API health

๐Ÿงช Quality Assurance

Run the test suite:

๐Ÿ”„ Compatibility

This package supports:

๐Ÿ“ License

The MIT License (MIT). Please see License File for more information.

๐Ÿ‘ค About the Author

Hi! I'm Jordan Partridge, and I build packages like this with a focus on developer experience and clean, maintainable code. If you appreciate the attention to detail in this package and my approach to solving problems, I'm available for hire on Laravel and PHP projects.

Visit my website to learn more about my work and how we might collaborate on your next project.

Need help with this package or want to discuss a project? Reach me at [email protected].

โค๏ธ Support

If you find this package helpful, please consider:


Made with โ™ฅ๏ธ in Laravel by a developer who cares about your experience


All versions of strava-client with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/contracts Version ^10.0||^11.0
saloonphp/saloon Version ^3.0
spatie/laravel-package-tools Version ^1.16
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package jordanpartridge/strava-client contains the following files

Loading the files please wait ....