PHPackages                             navneetrai/laravel-submitter - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. navneetrai/laravel-submitter

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

navneetrai/laravel-submitter
============================

Oauth based authenticator and file submitter for Laravel 5.2

1.0.7(9y ago)136[1 issues](https://github.com/navneetrai/laravel-submitter/issues)MITPHPPHP &gt;=7.0

Since May 3Pushed 9y ago1 watchersCompare

[ Source](https://github.com/navneetrai/laravel-submitter)[ Packagist](https://packagist.org/packages/navneetrai/laravel-submitter)[ Docs](https://github.com/navneetrai/laravel-submitter)[ RSS](/packages/navneetrai-laravel-submitter/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (8)Dependencies (6)Versions (9)Used By (0)

Submission Billing for Laravel 5
================================

[](#submission-billing-for-laravel-5)

[![Build Status](https://camo.githubusercontent.com/afa7c83e4fa456e626329231e698784fd39eb789c9b01ff888544ac01532ea62/68747470733a2f2f7472617669732d63692e6f72672f6e61766e6565747261692f6c61726176656c2d7375626d69747465722e737667)](https://travis-ci.org/navneetrai/laravel-submitter)[![Coverage Status](https://camo.githubusercontent.com/1283459452431bb5426897f98de15052dfd0f30a6a064da9867b484e1598516e/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6e61766e6565747261692f6c61726176656c2d7375626d69747465722f62616467652e737667)](https://coveralls.io/r/navneetrai/laravel-submitter)[![Total Downloads](https://camo.githubusercontent.com/b3feef52b0e9feabfba119d2f94c61867f2cac7fc9f7130d9b97900e887247c9/68747470733a2f2f706f7365722e707567782e6f72672f6e61766e6565747261692f6c61726176656c2d7375626d69747465722f646f776e6c6f6164732e737667)](https://packagist.org/packages/navneetrai/laravel-submitter)[![Latest Stable Version](https://camo.githubusercontent.com/491554a88f95103b02f403f25f71689c685cf66c751e5f2e72f4cda80481ff8e/68747470733a2f2f706f7365722e707567782e6f72672f6e61766e6565747261692f6c61726176656c2d7375626d69747465722f762f737461626c652e737667)](https://packagist.org/packages/navneetrai/laravel-submitter)[![Latest Unstable Version](https://camo.githubusercontent.com/047ef8194af94e0b47756a0369228de8bef4e499f4c84028c1570071044666c2/68747470733a2f2f706f7365722e707567782e6f72672f6e61766e6565747261692f6c61726176656c2d7375626d69747465722f762f756e737461626c652e737667)](https://packagist.org/packages/navneetrai/laravel-submitter)[![License](https://camo.githubusercontent.com/f4f7e08b8aebbeb16c1307d39bb89bacf799b3c1e964027ad74e8f2707223751/68747470733a2f2f706f7365722e707567782e6f72672f6e61766e6565747261692f6c61726176656c2d7375626d69747465722f6c6963656e73652e737667)](https://packagist.org/packages/navneetrai/laravel-submitter)

laravel-submitter is a simple laravel 5 library for uploading media (videos and images) and adding status updates and website link to a user account on popular social sites like [Facebook](https://www.facebook.com), [Twitter](https://twitter.com) and [Youtube](https://youtube.com).

This library also help in obtaining user authentication tokens which can be used for delayed submissions.

---

- [Supported services](#supported-services)
- [Installation](#installation)
- [Registering the Package](#registering-the-package)
- [Configuration](#configuration)
- [Usage](#usage)

Supported services
------------------

[](#supported-services)

The library supports [Facebook](https://www.facebook.com), [Twitter](https://twitter.com) and [Youtube](https://youtube.com). More services will be implemented soon.

Included service implementations:

- Facebook
- Twitter
- Youtube
- more to come!

Installation
------------

[](#installation)

Add laravel-submitter to your composer.json file:

```
"require": {
  "navneetrai/laravel-submitter": "^1.0"
}

```

Use composer to install this package.

```
$ composer update

```

Registering the Package
-----------------------

[](#registering-the-package)

Register the service provider within the `providers` array found in `config/app.php`:

```
'providers' => [
  // ...

  Userdesk\Submission\SubmissionServiceProvider::class,
]
```

Add an alias within the `aliases` array found in `config/app.php`:

```
'aliases' => [
  // ...

  'Submission'     => Userdesk\Submission\Facades\Submission::class,
]
```

Configuration
-------------

[](#configuration)

There are two ways to configure laravel-submitter.

### Option 1

[](#option-1)

Create configuration file for package using artisan command

```
$ php artisan vendor:publish --provider="Userdesk\Submission\SubmissionServiceProvider"

```

### Option 2

[](#option-2)

Create configuration file manually in config directory `config/subscription.php` and put there code from below.

```
