Download the PHP package malico/teams without Composer

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

Laravel Teams

A Laravel package that provides team management functionality for multi-tenant applications. Create teams, manage members, send invitations, and handle role-based permissions with a simple, extensible API.

Features

Requirements

Installation

Install the package via Composer:

Run the installation command to set up the package:

Available installation options:

The installation process will:

Configuration

User Model Setup

Add the HasTeams trait to your User model:

Team Roles Configuration

Define team roles in your TeamsServiceProvider or AppServiceProvider:

Note: Team owners automatically have all permissions (['*']) and don't need to be explicitly defined.

Usage

Creating Teams

Managing Team Members

Updating Teams

Checking Team Permissions

Working with Current Team

Deleting Teams

Frontend Integration

This package supports Livewire with planned Inertia.js support. The installation command will scaffold the appropriate components.

Livewire Stack

After installation with --stack=livewire, you'll have:

Inertia.js Stack

Support for Inertia.js (React/Vue) components is planned for future releases.

Events

The package dispatches several events that you can listen to:

Team Events:

Member Events:

Invitation Events:

Authorization

The package includes authorization policies and gates:

Customization

Override Default Actions

You can override any action in your TeamsServiceProvider:

Customize Models

You can specify custom models:

Configure Invitation Duration

Available Contracts

The package provides these contracts for dependency injection:

Testing

Run the package tests:

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Write tests for your changes
  4. Ensure all tests pass
  5. Submit a pull request

Credits

This package is a fork of Laravel Jetstream teams functionality, extracted into a standalone package for use in any Laravel application.

Special thanks to the Laravel team and contributors for the original implementation.

License

The MIT License (MIT). Please see License File for more information.


All versions of teams with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
illuminate/console Version ^11.0|^12.0
illuminate/support Version ^11.0|^12.0
symfony/console Version ^7.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 malico/teams contains the following files

Loading the files please wait ...