Download the PHP package skybluesofa/laravel-followers without Composer

On this page you can find all versions of the php package skybluesofa/laravel-followers. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package laravel-followers

Laravel 5 Followers

Build Status Code Climate Test Coverage Total Downloads Version

Gives Eloquent models the ability to manage their followers.

Models can:

Installation

First, install the package through Composer.

Then include the service provider inside config/app.php.

Publish config and migrations

Configure the published config in

Finally, migrate the database

Setup a Model

How to use

Check the Test file to see the package in action

Methods

Send a Follow Request

Will trigger a Skybluesofa\LaravelFollowers\Events\FollowRequest event.

Accept a Follow Request

Will trigger a Skybluesofa\LaravelFollowers\Events\FollowRequestAccepted event.

Deny a Follow Request

Will trigger a Skybluesofa\LaravelFollowers\Events\FollowRequestDenied event.

Remove Follow

Will trigger a Skybluesofa\LaravelFollowers\Events\Unfollow event.

Block a User

Will trigger a Skybluesofa\LaravelFollowers\Events\FollowingBlocked event.

Unblock a User

Will trigger a Skybluesofa\LaravelFollowers\Events\FollowingUnblocked event.

Check if User is Following another User

Check if User is being Followed by another User

Check if User has a pending Follow request from another User

Check if User sent a pending Follow request to another User

Check if User has blocked another User

Check if User is blocked by another User

Get a single friendship

Get a list of all Friendships

Get a list of pending Friendships

Get a list of accepted Friendships

Get a list of denied Friendships

Get a list of blocked Friendships

Get a list of pending Friend Requests

Get the number of Friends

Friends

To get a collection of friend models (ex. User) use the following methods:

Get Friends

Get Friends Paginated

Events

These events are triggered during the lifecycle of following/unfollowing/accept/deny followers:

To listen for and react to these events, follow the instructions available in the Laravel Documentation.

Thank you

The basis of this code was garnered from https://github.com/hootlex/laravel-friendships. Although it was a jumping off point, much of the code has been rewritten to allow for Following as opposed to Mutual Friendship.

Contributing

See the CONTRIBUTING guide.


All versions of laravel-followers with dependencies

PHP Build Version
Package Version
Requires php Version >=7.1.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package skybluesofa/laravel-followers contains the following files

Loading the files please wait ....