Download the PHP package backstage/laravel-users without Composer

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

Laravel Users

A modern user management package for Laravel, built by Backstage.


✨ Introduction

backstage/laravel-users is a full-featured Laravel package that provides a complete user management foundation for Laravel 10 & 11 applications. It leverages Laravel Sanctum and Spatie Permissions to deliver robust authentication, authorization, and user preference handling.

This package includes support for user login tracking, traffic monitoring, preferences, factory seeding, and customizable scaffoldingβ€”all designed to scale with your application.


πŸ“¦ Features


🧰 Requirements


βš™οΈ Installation

Install via Composer:

Publish configuration, migration, and seeder files:

Run database migrations:


πŸ›  Configuration

1. Set the User Provider

Update config/auth.php to use the package's custom user model:

2. Enable Sanctum API Tokens

If you haven't already:

3. Setup Spatie Permissions

Ensure Spatie permissions are published:

Edit config/permission.php to adjust your roles and permission settings.


🧩 Customization

You can modify config/users.php to change:


πŸ§‘β€πŸ’» Artisan Commands

The package includes a suite of CLI tools:

Command Description
artisan make:user Create a new user interactively
artisan users:list List users in a table format
artisan users:delete Delete a user by ID or email

Example:


🧱 Architecture

Key Classes

Migrations Included


πŸ§ͺ Testing

Run PHPUnit tests via:

Ensure your .env.testing or phpunit.xml is configured with a test database.


πŸ”¬ Development

Local Package Development

If you're contributing or using this in a monorepo:

  1. Clone the package into packages/ or your preferred folder
  2. Add this to your Laravel app's composer.json:

  3. Require the package:

  4. Refresh autoload:

🀝 Contributing

Contributions are welcome! Please follow the PSR-12 coding standard and submit pull requests with clear descriptions.


πŸ“„ License

This package is open-sourced software licensed under the MIT license.


πŸ‘€ Author

Manoj Hortulanus
Developer at Backstage
πŸ“§ [email protected]


🏁 Credits


All versions of laravel-users with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
spatie/laravel-package-tools Version ^1.16
illuminate/contracts Version >=10.0
spatie/laravel-permission Version >=6.0
lorisleiva/laravel-actions Version >=2.8
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 backstage/laravel-users contains the following files

Loading the files please wait ...