PHPackages                             sajed-zarinpour/spotplayer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. sajed-zarinpour/spotplayer

ActiveLibrary[API Development](/categories/api)

sajed-zarinpour/spotplayer
==========================

A wrapper for spotplayer.ir video service (DRM) API.

v1.0.1(2y ago)4602MITPHP

Since Feb 9Pushed 1y ago1 watchersCompare

[ Source](https://github.com/sajed-zarrinpour/spotplayer)[ Packagist](https://packagist.org/packages/sajed-zarinpour/spotplayer)[ Docs](https://github.com/sajed-zarrinpour/spotplayer/)[ RSS](/packages/sajed-zarinpour-spotplayer/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

spotplayer
==========

[](#spotplayer)

Laravel wrapper for spotplayer.ir video service (DRM) API
---------------------------------------------------------

[](#laravel-wrapper-for-spotplayerir-video-service-drm-api)

This package provides an API wrapper for [spotplayer.ir](https://spotplayer.ir) website. Spotplayer is a video-sharing website for teachers that provides a way to stream their video on either their website or the Spotplayer application (which is available for Windows, MacOS, Ubuntu, IOS, and Android) that ensures the copyrighting of their content.

### Installation

[](#installation)

Step 1:

Install the package using Composer:

```
composer require sajed-zarinpour/spotplayer

```

Step 2:

Publish the config file of the package using the following command

```
php artisan vendor:publish --provider="SajedZarinpour\SpotPlayer\Providers\SpotPlayerServiceProvider"

```

Step 3:

Set values in the

```
config/spotplayer.php

```

### Usage

[](#usage)

The package provides both Facade and helper functions. Suppose you want to call a function **some\_func. Following calls are equivalent:**

```
