Download the PHP package properos/laravel-users without Composer

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

Properos Users Package

Laravel 11 package for user management, authentication, authorization (roles & permissions), and user profiles.

Requirements

Dependencies

This package requires the following packages:

Package Version Purpose
laravel/sanctum ^4.0 API authentication
intervention/image ^3.0 Image processing (avatars, uploads)
intervention/image-laravel ^1.0 Laravel integration for Intervention Image
laravel/ui ^4.0 Authentication scaffolding
laravel/socialite ^5.0 Social authentication (optional)

Installation

1. Install the package

2. Publish configuration files

3. Run migrations

This will create the following tables:

4. Run seeders (optional)

Add the following to database/seeders/DatabaseSeeder.php:

Then run:

Configuration

1. Database Configuration

In config/database.php, ensure MySQL configuration uses:

2. Authentication Configuration

In config/auth.php, update the guards and providers:

3. Service Providers

In config/app.php, add to the providers array:

4. Middleware Registration

In app/Http/Kernel.php, register the middleware:

5. Social Authentication (Optional)

If you want to enable social authentication (Facebook, Google), install Socialite:

Add to config/services.php:

Add to your .env:

6. Environment Variables

Add to your .env:

Asset Compilation

1. Install npm dependencies

2. Configure webpack.mix.js

Add to webpack.mix.js:

3. Configure bootstrap.js

In resources/assets/bootstrap.js, add:

4. Compile assets

Usage

Using Models

Using Routes

Add to routes/web.php:

Using Middleware

Using Classes

Features

User Management

Authentication

Authorization

User Profile

Activity Logging

Troubleshooting

Migration errors

If you get migration errors about duplicate tables:

Service provider not found

Make sure the service provider is registered in config/app.php:

Middleware not working

Ensure middleware is registered in app/Http/Kernel.php with the correct aliases.

Image upload not working

  1. Check that intervention/image and intervention/image-laravel are installed
  2. Ensure the public disk is configured in config/filesystems.php
  3. Check file permissions on storage/app/public

Vue components not rendering

  1. Ensure assets are compiled: npm run prod
  2. Check that webpack.mix.js is configured correctly
  3. Verify that bootstrap.js includes the required dependencies

Sanctum authentication not working

  1. Ensure laravel/sanctum is installed
  2. Run php artisan vendor:publish --provider="Laravel\Sanctum\SanctumServiceProvider"
  3. Add Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful to app/Http/Kernel.php
  4. Configure stateful domains in config/sanctum.php

Breaking Changes from Previous Versions

License

MIT License. See LICENSE file for details.


All versions of laravel-users with dependencies

PHP Build Version
Package Version
Requires laravel/sanctum Version ^4.0
intervention/image Version ^3.0
intervention/image-laravel Version ^1.0
laravel/ui Version ^4.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 properos/laravel-users contains the following files

Loading the files please wait ...