PHPackages                             ctl/socialmapfavorites - 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. ctl/socialmapfavorites

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

ctl/socialmapfavorites
======================

Basic Packaging for Favoriting and Unfavoriting users

1.2.0(9y ago)021EPL v1.0PHPPHP &gt;=5.5.9 || 7.0.\*

Since Apr 19Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Core-Tech-Labs/SocialMapFavorites)[ Packagist](https://packagist.org/packages/ctl/socialmapfavorites)[ Docs](https://github.com/Core-Tech-Labs/SocialMapFavorites)[ RSS](/packages/ctl-socialmapfavorites/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (6)Dependencies (12)Versions (10)Used By (0)

Social Map Favorites
====================

[](#social-map-favorites)

[![Latest Stable Version](https://camo.githubusercontent.com/683a01d6aa78aa530a3ada67f723b116392cf4fc0f81d299ef13c210dc56da86/68747470733a2f2f706f7365722e707567782e6f72672f63746c2f736f6369616c6d61706661766f72697465732f762f737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/ctl/socialmapfavorites)[![Software License](https://camo.githubusercontent.com/752ba0bf8b15f5ab8da14afb06fe2a5e94a493dbfd8f7b7817dcbe849db3d4ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d45504c2d677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/22af5c793a08e181a65e25ee9f842923ff583d5b37e1f74c073a3bb812cc5b94/68747470733a2f2f7472617669732d63692e6f72672f436f72652d546563682d4c6162732f536f6369616c4d61704661766f72697465732e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Core-Tech-Labs/SocialMapFavorites)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2ffafefecd8ee437ebbee112da07a495201b3cc26970cecaeb18791bea57a4ed/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f436f72652d546563682d4c6162732f536f6369616c4d61704661766f72697465732f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Core-Tech-Labs/SocialMapFavorites/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/91ff654576466cf0810500e7df7d50c4e5518658599a4c362360c6ae8c9e39f2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f436f72652d546563682d4c6162732f536f6369616c4d61704661766f72697465732f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/Core-Tech-Labs/SocialMapFavorites/?branch=master)[![Total Downloads](https://camo.githubusercontent.com/228ba751be79b4c9b34eec24a5457d991f44a0c174a6f8c0aeeede7cf18a625a/68747470733a2f2f706f7365722e707567782e6f72672f63746c2f736f6369616c6d61706661766f72697465732f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/ctl/socialmapfavorites)[![Latest Unstable Version](https://camo.githubusercontent.com/c4179b6125c616acefe8d1b3d761166e3aee502f5b9126ec47e9559883f55860/68747470733a2f2f706f7365722e707567782e6f72672f63746c2f736f6369616c6d61706661766f72697465732f762f756e737461626c653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/ctl/socialmapfavorites)

**A PHP Package for Favoriting and Unfavoriting Authenticated Users**

Currently only supported for Laravel 5.2

Install
-------

[](#install)

Via Composer

```
$ composer require ctl/socialmapfavorites
```

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

[](#installation)

```
$ php artisan vendor:publish
```

Add the service provider to the `'providers'` array in `config/app.php`

```
CTL\SocialMapFavorites\SocialMapFavoritesServiceProvider::class,
```

Navigate to `App/Jobs/FavAUser`. Replace `use CTL\SocialMapFavorites\Jobs\Job;` with `use App\Jobs\Job;`

Repeat above with `unFavAUser`

Navigage to `App\Users`. Add `ActionableTrait` like so....

```
