Download the PHP package ctl/socialmapfavorites without Composer
On this page you can find all versions of the php package ctl/socialmapfavorites. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package socialmapfavorites
Social Map Favorites
A PHP Package for Favoriting and Unfavoriting Authenticated Users
Currently only supported for Laravel 5.2
Install
Via Composer
Installation
Add the service provider to the 'providers'
array in config/app.php
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....
Add "Core\\": "Core/"
to your project composer.json. It should look like this...
run composer dump-autoload
if changes does not take effect.
Change the namespace
of Core\Users\ActionableTrait
and Core\Users\UsersOrigin
Finally, run....
To create a favs table
Your Migration should look like
Extended Installation
Within blade files..
Within your controller
For Email Usage
Within the controller
For $this->mail->sendFavAUserNotificationEmail();
You would need to
Dont forget to add use Core\Users\Mail\FavAUserMail;
and use Core\Users\UsersOrigin;
at the top of your controller class.
Testing
Contributing
Please see CONTRIBUTING for details.
License
Eclipse Public License (EPL v1.0). Please see License for more information.
All versions of socialmapfavorites with dependencies
illuminate/support Version ^5.2
illuminate/contracts Version ^5.2
illuminate/auth Version ^5.2
mockery/mockery Version ^0.9.4
illuminate/bus Version ^5.2
illuminate/mail Version ^5.2
guzzlehttp/guzzle Version ^6.2
symfony/console Version ^3.1