Download the PHP package bitmicrosys/sharpsports-php without Composer

On this page you can find all versions of the php package bitmicrosys/sharpsports-php. 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 sharpsports-php

SharpSports PHP Laravel SDK (Unofficial)

Latest Stable Version Total Downloads License

Hey there! 👋 This is an unofficial PHP/Laravel SDK for the SharpSports API. Threw this together in a few hours because I needed it for a project. It works pretty well, but you know... it's not perfect.

âš ī¸ Disclaimer

This is NOT an official SharpSports product. I'm just some dev who needed to integrate their API. Use at your own risk! If something breaks, don't blame me (or SharpSports). If you find bugs, just open an issue or better yet, submit a PR!

Features

Installation

Install the package via Composer:

Laravel Auto-Discovery

The package supports Laravel's auto-discovery feature. If you're using Laravel 5.5+, the service provider and facade will be automatically registered.

Manual Registration (Laravel < 5.5)

Add the service provider to your config/app.php:

Add the facade to your config/app.php:

Configuration

Publish the configuration file:

Add your SharpSports API key to your .env file:

Usage

Basic Usage

Using Laravel Facade

Using Dependency Injection

Complete API Coverage

The SharpSports PHP SDK provides comprehensive coverage of all SharpSports API endpoints:

Books

Bettors

Bettor Accounts

Bet Slips

Context Operations

Events, Markets, Sports, etc.

Webhooks

Model Classes

The SDK includes model classes for type-safe responses:

Available models:

Error Handling

The SDK throws SharpsportsException for API errors:

Configuration Options

You can customize the HTTP client by passing options to the constructor:

All Available Methods

Complete API Coverage

The SDK provides complete coverage of all SharpSports API objects:

Each service provides standard methods like list(), get(), and specialized methods for specific functionality.

Error Handling

Contributing

Found a bug? Cool, fix it and send a PR. Want to add something? Go for it! This is open source, baby! 🚀

Known Issues

License

This package is open-sourced software licensed under the MIT license. See the license file for the full "I'm not responsible for anything" legal text.

Support

Having issues? Open a GitHub issue. Want to chat? Sorry, I'm probably coding. But seriously, just open an issue and I'll try to help when I can.

Credits

API Documentation

For the official API docs (good luck understanding them sometimes), visit SharpSports API Reference.


Remember: This is unofficial. If SharpSports changes their API and this breaks, well... ¯_(ツ)_/¯


All versions of sharpsports-php with dependencies

PHP Build Version
Package Version
Requires php Version ^8.0
guzzlehttp/guzzle Version ^7.0
illuminate/support Version ^8.0|^9.0|^10.0|^11.0
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 bitmicrosys/sharpsports-php contains the following files

Loading the files please wait ...