Download the PHP package eloquent-works/fellowship without Composer

On this page you can find all versions of the php package eloquent-works/fellowship. 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 fellowship

🤝 Laravel Fellowship

Tests Latest Release

A complete fellowship and social-connection package for Laravel applications.

Laravel Fellowship adds fellowship requests, accepted connections, blocking, mutual fellowships, request expiration, resend cooldowns, lifecycle events, optional web routes, and maintenance commands to your Eloquent models.

✨ Highlights

📋 Requirements

Laravel PHP Orchestra Testbench
12.x 8.2+ 10.x
13.x 8.3+ 11.x

📦 Installation

Install Fellowship through Composer:

Publish the configuration and migrations:

Publish the optional route snippet during installation:

Run the migrations:

🧩 Add the Trait

Add HasFellowships to every Eloquent model that can participate in a fellowship:

📨 Fellowship Requests

Send a request:

Accept or deny an incoming request:

Cancel an outgoing request:

Check whether a request can be sent:

🤝 Accepted Fellowships

Check whether two models share an accepted fellowship:

Retrieve accepted fellowships:

Remove an accepted fellowship:

removeFellowshipWith() remains available as a compatibility alias.

👥 Mutual Fellowships

Retrieve mutual connections:

Count mutual connections:

Singular compatibility helpers are also available:

🚫 Blocking

Block or unblock another user:

Inspect blocking state:

Retrieve blocked users:

Blocking removes an existing request or accepted fellowship between the two models and prevents new requests until the blocker unblocks the other user.

🔎 Relationships and Status

Retrieve the stored relationship model:

Retrieve its status:

The status is one of the package status values, such as pending, accepted, denied, canceled, expired, or blocked; otherwise, it is null.

Request collections:

Relationship queries:

🛣️ Web Routes

Fellowship does not load web routes automatically. Register them where you want them in routes/web.php:

Customize the route group:

The macro registers routes for sending, accepting, denying, canceling, and removing fellowships, along with blocking and unblocking users.

⚙️ Configuration

Publish the configuration file:

Important defaults:

Set expires_after_days to null when pending requests should never expire. Set request_cooldown_days to null or 0 to disable resend cooldowns.

📣 Events

Fellowship can dispatch the following lifecycle events:

Use these events for notifications, activity feeds, auditing, achievements, analytics, and other application-specific side effects.

Disable all package events through configuration:

⏳ Expiration and Scheduling

Expire stale pending requests manually:

Process records with a custom chunk size:

Schedule automatic expiration in your application:

📚 Documentation

✅ Quality Checks

Run the complete quality suite:

Or run each check separately:

Format the package source:

🔒 Security

Please report security vulnerabilities privately according to SECURITY.md. Do not disclose unresolved vulnerabilities through public GitHub issues.

🤝 Contributing

See CODE_OF_CONDUCT.md.

🙏 Credits

Built by Eloquent Works.

📄 License

Laravel Fellowship is open-source software licensed under the MIT License.


All versions of fellowship with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/database Version ^12.0 || ^13.0
illuminate/events Version ^12.0 || ^13.0
illuminate/pagination Version ^12.0 || ^13.0
illuminate/support Version ^12.0 || ^13.0
illuminate/routing Version ^12.0 || ^13.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 eloquent-works/fellowship contains the following files

Loading the files please wait ...