Download the PHP package stats4sd/filament-team-management without Composer

On this page you can find all versions of the php package stats4sd/filament-team-management. 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 filament-team-management

Filament Team Management

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Package for an opinionated 'teams' setup, including invites and integration with Laravel Filament + Spatie User Roles.

Installation

You can install the package via composer:

Then, run the provided installation script. It's recommended to do a git commit before running this command, as it will update several files in your app. You will want to review these changes after running the command.

The script will ask you if you want to use the concept of "programs" in your app. It will then make the following changes:

  1. It will publish the appropriate migration files.
  2. It will update your .env file with the appropriate variables.
  3. It will offer to add some example Database Seeders to your main database/seeders/DatabaseSeeder.php file.

Integration into your app

Models

The package provides 3 Eloquent Models that you can use in your app:

In theory, you can use these models as-is in your app. However, in practice, you will likely want to extend them to add your own fields and functionality. To do this, create your own Models that extend the package Models. For example, you might create App\Models\Team like this:

Then, update your .env file to point to your own model:

[!NOTE] You are not required to call your custom models Team, Program or User. You can name them whatever you like, as long as you update the .env variables to point to your custom models. Use the other .env variables to point to the correct database tables, foreign key column names and pivot tables if you have changed them.

Filament Panels

The package does not provide its own Filament Panel (yet). Instead, you are expected to integrate the package's pages and resources into your own Filament Panels.

The package's resources and pages are namespaced into 3 groups, depending on their intended panel:

The default approach is that you will have 2 or 3 different Filament Panels in your app:

App Panel

The "App" panel is the main entry point for your application. This is where your users will log in and manage their teams.

To configure your "App" panel to use the authentication and team management features from this package,, do the following:

You can edit any of the pages or resources from the package by creating new classes and extending the package classes. For example, to customize the ManageTeam page, create a new class in your app like this:

Then, update the tenantProfile method in your panel provider to point to your new class.

Program Panel

If you are using the "program" concept in your app, you may want to create a separate Filament Panel for program managers. This panel will allow program managers to manage users and teams within their own program.

To configure your "Program" panel, do the following:

Admin Panel

The "Admin" panel is for site-wide administrators to manage users, teams and programs. To configure your "Admin" panel, do the following:

Invitations and User Registration

This package includes the needed setup to let your users invite other users via email. You can invite a new user to join a specific team, a specific program, or with an assigned site-wide role.

The setup described above uses the package's Auth pages for login and registration through the defualt 'App' panel. These pages include the needed functionality to handle invitations and user registration. Through this default setup:

TODO: check how invitation email customisation can work.

Changelog

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

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

TODO:


All versions of filament-team-management with dependencies

PHP Build Version
Package Version
Requires php Version ^8.4
filament/filament Version ^4.2
spatie/laravel-package-tools Version ^1.15.0
awcodes/shout Version ^3.0
althinect/filament-spatie-roles-permissions Version ^3.x-dev
livewire/livewire Version ^3.6.4
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 stats4sd/filament-team-management contains the following files

Loading the files please wait ...