PHPackages                             guysolamour/laravel-hootsuite - 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. guysolamour/laravel-hootsuite

ActiveLibrary[API Development](/categories/api)

guysolamour/laravel-hootsuite
=============================

A package to interact with social networks via hootsuite api

v2.3(2y ago)21661MITPHPPHP &gt;=7.3

Since Jan 27Pushed 3w ago1 watchersCompare

[ Source](https://github.com/guysolamour/laravel-hootsuite)[ Packagist](https://packagist.org/packages/guysolamour/laravel-hootsuite)[ RSS](/packages/guysolamour-laravel-hootsuite/feed)WikiDiscussions master Synced yesterday

READMEChangelog (9)Dependencies (5)Versions (10)Used By (0)

Hootsuite
=========

[](#hootsuite)

[![Packagist](https://camo.githubusercontent.com/a40c73196b3f635f58592519c71cf7668126718d5d6a1642ad1c7dddbdf42133/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f677579736f6c616d6f75722f6c61726176656c2d686f6f7473756974652e737667)](https://packagist.org/packages/guysolamour/laravel-hootsuite)[![Packagist](https://camo.githubusercontent.com/6296a9a58b78f68cc4bbdeb714dde2dd872f940a31563181fcf965ef5de81e33/68747470733a2f2f706f7365722e707567782e6f72672f677579736f6c616d6f75722f6c61726176656c2d686f6f7473756974652f642f746f74616c2e737667)](https://packagist.org/packages/guysolamour/laravel-hootsuite)[![Packagist](https://camo.githubusercontent.com/aca41eb45ce795c4eea0cc201e3447f229f50a694df03555f01ce85513e28f8e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f677579736f6c616d6f75722f6c61726176656c2d686f6f7473756974652e737667)](https://packagist.org/packages/guysolamour/laravel-hootsuite)

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

[](#installation)

Install via composer

```
composer require guysolamour/laravel-hootsuite
```

Publish spatie service provider [laravel settings](https://github.com/spatie/laravel-settings) package

In case you are already using this package in your project, you can skip this step

```
php artisan vendor:publish --provider="Spatie\LaravelSettings\LaravelSettingsServiceProvider"
```

Add the configuration to the *config/settings* file generated previously

```
'settings' => [
  ...
  Guysolamour\Hootsuite\Settings\HootsuiteSettings::class,
]
```

Add these keys to your *.env* file

```
/*
  Available in your hootsuite dashboard
*/
HOOTSUITE_CLIENT_ID=your_hootsuite_client_id
/*
  Available in your hootsuite dashboard
*/
HOOTSUITE_CLIENT_SECRET=your_hootsuite_client_secret

/*
  Only the url path
  A route will be create with this url path
  The redirect uri domain must be your website domain
*/
HOOTSUITE_REDIRECT_URI=your_hootsuite_redirect_uri
```

Publish package assets

```
php artisan vendor:publish --provider="Guysolamour\Hootsuite\ServiceProvider"
```

Run migrations

```
php artisan migrate
```

If you wanted to shorten the urls used in your posts. You should get an api key from [bitly](https://dev.bitly.com) and add it to your *.env* file

Publish [Laravel Bitly](https://github.com/Shivella/laravel-bitly) package config file

```
php artisan vendor:publish --provider="Shivella\Bitly\BitlyServiceProvider"
```

and add this in your *.env* file

```
BITLY_ACCESS_TOKEN=your_bitly_secret_access_token
```

Then pass this option (s) to true

```
'bitly_text_link' => true, // for the publication main link
'bity_all_links'  => true, // for all links in publication text
```

Usage
-----

[](#usage)

This package allows you to interact with the hootsuite API from a Laravel application. To do this, you must have a hootsuite account and allow the package to access this account.

You can get authorization link with this artisan command

```
php artisan hootsuite:oauth:url
```

Make a publication

```
use Guysolamour\Hootsuite\Facades\Hootsuite;

Hootsuite::publish([
  'text'        => "This is a text", // required
  'hashtags'    => ["this, is, a, hashtag"], // or "this|is|a|hashtag" or ['this', 'is', 'a', 'hashtag'] or "this,is,a,hashtag"
  'networks'    => "Facebook, Twitter, Linkedin", // required
  'media'       => 'https://domain.com/imagelink.jpg', // ['mediaUrl1', 'mediaUrl2']
  'link'        => 'https://link.com',
]);
```

Schedule a publication

```
use Guysolamour\Hootsuite\Facades\Hootsuite;

Hootsuite::schedule([
  'text'        => "This is a text", // required
 'hashtags'    => ["this, is, a, hashtag"], // or "this|is|a|hashtag" or ['this', 'is', 'a', 'hashtag'] or "this,is,a,hashtag"
  'networks'    => "Facebook, Twitter, Linkedin",
  'media'       => 'https://domain.com/imagelink.jpg', // ['mediaUrl1', 'mediaUrl2']
  'link'        => 'https://link.com',
  'schedule_at' => '2021-01-15 08:59:12' // or carbon instance | required when schedule
]);
```

Delete a scheduled post that is not yet published

```
use Guysolamour\Hootsuite\Facades\Hootsuite;

Hotsuite::destroy(int $messageId) :bool;
```

Retrieve information about your account

```
use Guysolamour\Hootsuite\Facades\Hootsuite;

Hootsuite::user();
```

Check if the post is pending

```
use Guysolamour\Hootsuite\Facades\Hootsuite;

Hootsuite::messageIsStillScheduled(int $messageId);
```

Get scheduled post

```
use Guysolamour\Hootsuite\Facades\Hootsuite;

Hootsuite::getMessage(int $messageId);
```

You can type the API directly with these different methods

```
use Guysolamour\Hootsuite\Facades\Hootsuite;

// Get
Hootsuite::get(string $url);
// Post
Hootsuite::post(string $url);
// Put
Hootsuite::put(string $url);
// Delete
Hootsuite::delete(string $url);
```

Security
--------

[](#security)

If you discover any security related issues, please email instead of using the issue tracker.

Credits
-------

[](#credits)

- [Guy-roland ASSALE](https://github.com/guysolamour)
- [All contributors](https://github.com/guysolamour/hootsuite/graphs/contributors)

This package is bootstrapped with the help of [melihovv/laravel-package-generator](https://github.com/melihovv/laravel-package-generator).

###  Health Score

37

↑

LowBetter than 83% of packages

Maintenance62

Regular maintenance activity

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~108 days

Recently: every ~212 days

Total

9

Last Release

1064d ago

Major Versions

v1.4 → v2.02022-04-11

### Community

Maintainers

![](https://www.gravatar.com/avatar/45a6375d79a9d7c7b3947473bef714f03a02bb0341d06e6c17ca114b82b0b01d?d=identicon)[guysolamour](/maintainers/guysolamour)

---

Top Contributors

[![guysolamour](https://avatars.githubusercontent.com/u/22590722?v=4)](https://github.com/guysolamour "guysolamour (17 commits)")[![antoinevdsk](https://avatars.githubusercontent.com/u/4246589?v=4)](https://github.com/antoinevdsk "antoinevdsk (1 commits)")

---

Tags

facebooktwitterlinkedinsocial networkshootsuite

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/guysolamour-laravel-hootsuite/health.svg)

```
[![Health](https://phpackages.com/badges/guysolamour-laravel-hootsuite/health.svg)](https://phpackages.com/packages/guysolamour-laravel-hootsuite)
```

###  Alternatives

[hwi/oauth-bundle

Support for authenticating users using both OAuth1.0a and OAuth2 in Symfony.

2.4k21.5M69](/packages/hwi-oauth-bundle)[esign/laravel-conversions-api

A laravel wrapper package around the Facebook Conversions API

69145.4k](/packages/esign-laravel-conversions-api)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[joelbutcher/laravel-facebook-graph

Laravel wrapper for the Facebook Graph SDK for PHP 7.4 and PHP 8.

74144.4k](/packages/joelbutcher-laravel-facebook-graph)[gourmet/social-meta

Adds Facebook Open Graph and Twitter Cards support to CakePHP 3.x

255.1k](/packages/gourmet-social-meta)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
