Download the PHP package litepie/users without Composer

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

πŸš€ Litepie Users - Complete Laravel User Management System

Latest Version on Packagist Total Downloads License PHP Version Require Laravel Compatible Tests

A production-ready, feature-rich Laravel user management package designed for modern applications requiring advanced user management, multi-tenancy, sophisticated role-based access control, and seamless integration with the Litepie ecosystem.

πŸ“– Table of Contents

🌟 Overview

Litepie Users is a comprehensive, enterprise-grade user management package built specifically for Laravel applications. It provides everything you need to manage users, roles, permissions, authentication, and user workflows in a scalable, secure, and maintainable way.

Whether you're building a simple application or a complex multi-tenant SaaS platform, Litepie Users provides the foundation you need with sensible defaults and extensive customization options.

🎯 Built for Modern Laravel Applications

✨ Key Features

πŸ—οΈ Core User Management

πŸ” Advanced Authentication & Security

🏒 Enterprise Multi-Tenancy

πŸ”‘ Role-Based Access Control (RBAC)

πŸ”„ Workflow Integration

πŸ“ File Management

πŸ“Š Analytics & Reporting

🌐 API-First Design

🎯 Why Choose Litepie Users?

πŸ† Production-Ready from Day One

Unlike other user management packages that require extensive configuration and customization, Litepie Users comes with sensible defaults and production-ready features out of the box:

πŸ”§ Seamless Integration

Integrates perfectly with your existing Laravel application and the broader Litepie ecosystem:

🎨 Highly Customizable

While it works great out of the box, every aspect can be customized to fit your needs:

πŸ“‹ Requirements

πŸ–₯️ System Requirements

Component Minimum Version Recommended Version
PHP 8.2 8.3+
Laravel 11.0 12.0+
MySQL 8.0 8.0+
PostgreSQL 13.0 15.0+
Redis 6.0 7.0+
Node.js 18.0 20.0+

πŸ“¦ Required Laravel Packages

These packages are automatically installed as dependencies:

πŸ—οΈ Litepie Ecosystem Packages

The following Litepie packages are required and provide additional functionality:

πŸš€ Quick Start

Get up and running in under 5 minutes:

1️⃣ Install the Package

2️⃣ Run the Installer

This command will:

3️⃣ Create Your First Admin User

4️⃣ Start Using the Package

That's it! You now have a fully functional user management system.

πŸ“¦ Installation

πŸ“₯ Method 1: Automatic Installation (Recommended)

The easiest way to get started:

πŸ”§ Method 2: Manual Installation

For more control over the installation process:

🐳 Method 3: Docker Installation

Using Docker for development:

☁️ Method 4: Cloud Deployment

Deploy directly to cloud platforms:

βš™οΈ Configuration

πŸŽ›οΈ Core Configuration

The package publishes a comprehensive configuration file to config/users.php:

πŸ”§ Environment Variables

Add these variables to your .env file:

πŸ”§ Basic Usage

πŸ‘€ User Management

Creating Users

Updating Users

User Status Management

πŸ”‘ Authentication & Security

Basic Authentication

Two-Factor Authentication

Session Management

🎭 Roles & Permissions

Role Management

Permission Management

πŸ“ File Management

Avatar Management

File Attachments

πŸ—οΈ Advanced Features

πŸ”„ User Workflows

Workflows automate complex user processes like registration, approval, and onboarding:

Custom Workflows

Create your own workflows:

πŸ“Š Analytics & Reporting

Built-in Statistics

Custom Reports

πŸ” Advanced Search & Filtering

πŸ”Œ API Documentation

🌐 REST API Endpoints

The package provides a comprehensive REST API for all user management operations:

Authentication Endpoints

User Management Endpoints

Profile Management Endpoints

Role & Permission Endpoints

File Management Endpoints

Bulk Operations Endpoints

Analytics Endpoints

πŸ“ API Request Examples

User Registration

User Login

Get Users with Filtering

Bulk User Operations

πŸ“Š API Response Format

All API responses follow a consistent structure:

Success Response

Paginated Response

Error Response

🏒 Multi-Tenancy

πŸ—οΈ Tenant Isolation

The package provides complete multi-tenant support with automatic data isolation:

πŸ”§ Tenant Configuration

πŸŽ›οΈ Tenant Management

πŸ” Security & Authentication

πŸ›‘οΈ Security Features

Advanced Password Security

Account Lockout Protection

Suspicious Activity Detection

πŸ” Advanced Authentication

Device Management

Session Security

πŸ”„ Workflows & Automation

🎯 Built-in Workflows

User Registration Workflow

Client Approval Workflow

πŸ”„ Custom Workflow Creation

Create your own workflows for specific business needs:

πŸ“Š Analytics & Reporting

πŸ“ˆ Real-time Analytics

User Metrics Dashboard

Security Analytics

πŸ“Š Custom Reports

Report Builder

Advanced Reporting Queries

πŸ“ˆ Performance Monitoring

πŸ§ͺ Testing

πŸ”¬ Comprehensive Test Suite

The package includes extensive tests covering all functionality:

πŸ§ͺ Test Utilities

User Factory and Helpers

API Testing

πŸ”’ Security Testing

πŸ› οΈ Extending & Customization

🎨 Custom User Types

Create specialized user types for your application:

Register your custom user type:

πŸ”§ Custom Fields & Validation

Add custom fields to user profiles:

Register the extension:

🎣 Event Hooks & Listeners

Extend functionality with comprehensive event system:

πŸ”Œ Custom Middleware

Create custom middleware for advanced user handling:

πŸš€ Performance Optimization

⚑ Caching Strategies

The package implements intelligent caching for optimal performance:

Cache Usage Examples

πŸ—„οΈ Database Optimization

Intelligent Indexing

Query Optimization

Connection Pooling & Read Replicas

πŸš€ Queue Optimization

Asynchronous processing for better performance:

🌐 Frontend Integration

βš›οΈ React Components

Pre-built React components for rapid development:

🎨 Vue.js Components

Vue 3 composition API components:

πŸ“± Mobile-First Design

Responsive components that work across all devices:

πŸ› Troubleshooting

πŸ” Common Issues

Database Migration Issues

Authentication Problems

Permission & Role Issues

Performance Issues

πŸ› οΈ Debug Mode

Enable comprehensive debugging:

πŸ“Š Health Checks

Monitor system health:

πŸ“– Migration Guide

πŸ”„ From v1.x to v2.x

Breaking Changes

🏒 Tenant Migration

🎯 Roadmap

πŸš€ Upcoming Features

🌟 Community Contributions

We welcome contributions! Please see our Contributing Guide for details.

πŸ“„ License

The Litepie Users package is open-sourced software licensed under the MIT license.

πŸ™ Credits


**[⬆ Back to Top](#-litepie-users-package)** Made with ❀️ by [Litepie](https://litepie.com) β€’ [Documentation](https://docs.litepie.com) β€’ [Community](https://discord.gg/litepie)

bash composer require litepie/users bash composer require litepie/tenancy composer require litepie/roles composer require litepie/filehub composer require litepie/flow composer require litepie/actions bash php artisan vendor:publish --provider="Litepie\Users\Providers\UsersServiceProvider" --tag="config" bash php artisan vendor:publish --provider="Litepie\Users\Providers\UsersServiceProvider" --tag="config" --force bash php artisan vendor:publish --provider="Litepie\Users\Providers\UsersServiceProvider" --tag="migrations" bash php artisan migrate bash php artisan migrate --force php artisan db:seed --class=UsersSeeder # Optional: seed with sample data bash

Configure enhanced authentication

php artisan config:cache

Set up Laravel 12's improved queue system

php artisan queue:table php artisan migrate

Configure Laravel 12's enhanced cache system

php artisan cache:clear php artisan config:cache bash php artisan vendor:publish --provider="Litepie\Users\Providers\UsersServiceProvider" --tag="assets" bash

Register a new user (Laravel 12 enhanced)

POST /api/auth/register { "name": "John Doe", "email": "[email protected]", "password": "SecureP@ssw0rd123", "password_confirmation": "SecureP@ssw0rd123", "user_type": "regular", "device_name": "iPhone 15 Pro", "timezone": "America/New_York", "preferences": { "language": "en", "theme": "dark" } }

Login with Laravel 12 enhanced security

POST /api/auth/login { "email": "[email protected]", "password": "SecureP@ssw0rd123", "device_name": "iPhone 15 Pro", "remember_device": true, "two_factor_code": "123456" }

Get authenticated user (Laravel 12 enhanced response)

GET /api/auth/me Authorization: Bearer {token} X-Device-ID: {device_id}

Logout with device tracking

POST /api/auth/logout Authorization: Bearer {token} { "logout_all_devices": false } bash

List users with Laravel 12 enhanced filtering (admin/manager only)

GET /api/users?filter[status]=active&filter[user_type]=client&sort=-created_at

Get user details with enhanced security

GET /api/users/{id} Authorization: Bearer {token} X-Tenant-ID: {tenant_id}

Update user with Laravel 12 validation

PUT /api/users/{id} { "name": "Updated Name", "status": "active", "preferences": { "notifications": true, "theme": "light" } }

Delete user with soft delete (Laravel 12 feature)

DELETE /api/users/{id} { "force_delete": false, "reason": "Account closure requested" }

Laravel 12 enhanced bulk operations

POST /api/bulk/users/activate { "user_ids": [1, 2, 3], "reason": "Bulk activation", "notify_users": true }

POST /api/bulk/users/assign-role { "user_ids": [1, 2, 3], "role": "manager", "scope": "tenant", "expires_at": "2025-12-31T23:59:59Z" } bash

Get profile with Laravel 12 enhanced data

GET /api/profile

Update profile with advanced validation

PUT /api/profile { "first_name": "John", "last_name": "Doe", "preferences": { "theme": "dark", "language": "en", "timezone": "America/New_York", "notifications": { "email": true, "push": true, "sms": false } } }

Upload avatar with Laravel 12 enhanced file handling

POST /api/profile/avatar Content-Type: multipart/form-data { "avatar": , "crop_data": { "x": 10, "y": 10, "width": 200, "height": 200 } }

Get user activity with enhanced filtering

GET /api/profile/activity?type=login&from=2025-08-01&to=2025-08-31 bash

Run all tests

composer test

Run tests with Laravel 12 parallel testing

composer test -- --parallel

Run tests with coverage

composer test-coverage

Run Laravel 12 specific feature tests

php artisan test --testsuite=Laravel12Features

Run performance tests (Laravel 12 feature)

php artisan test --testsuite=Performance --profile



## πŸ“Š Database Schema

The package creates several database tables optimized for Laravel 12:

- `users` - Main user table with Laravel 12 performance indexes
- `user_profiles` - Extended user profile information with JSON columns
- `user_login_attempts` - Login attempt tracking with enhanced analytics
- `user_password_histories` - Password history tracking with encryption
- `user_sessions` - Active session management with device tracking
- `user_preferences` - User preferences and settings (Laravel 12 feature)
- `user_security_events` - Security event logging (Laravel 12 feature)
- `user_device_tokens` - Device verification tokens (Laravel 12 feature)

## πŸ› οΈ Extending the Package

### Custom User Types

Create custom user types with Laravel 12 enhanced features:

Register your custom user type:

### Custom Workflows

Create custom registration workflows with Laravel 12 enhanced features:

## 🀝 Contributing

Please see [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to this package.

## πŸ”’ Security

If you discover any security-related issues, please email [email protected] instead of using the issue tracker.

## πŸ“„ License

This package is open-sourced software licensed under the [MIT license](LICENSE.md).

## πŸ™ Credits

- [Litepie Team](https://github.com/litepie)
- [All Contributors](../../contributors)

## πŸ“ž Support

- Documentation: [https://docs.litepie.com/packages/users](https://docs.litepie.com/packages/users)
- Issues: [GitHub Issues](https://github.com/litepie/users/issues)
- Discussions: [GitHub Discussions](https://github.com/litepie/users/discussions)
- Email: [email protected]

## πŸ—ΊοΈ Roadmap

### Upcoming Features

- [ ] **Laravel 12 Specific Features**
  - [ ] Enhanced async processing for user operations
  - [ ] Advanced AI-powered fraud detection
  - [ ] Real-time collaboration features
  - [ ] Enhanced WebSocket integration
- [ ] **Social Authentication** (OAuth with Laravel 12 Socialite v6)
- [ ] **Advanced User Import/Export** with Laravel 12 streaming
- [ ] **Custom Field Management** with dynamic validation
- [ ] **User Groups and Teams** with hierarchical permissions
- [ ] **Advanced Reporting Dashboard** with Laravel 12 analytics
- [ ] **Mobile App API Enhancements** (Laravel 12 API platform)
- [ ] **GraphQL API Support** (Laravel 12 Lighthouse integration)
- [ ] **Real-time Notifications** (Laravel 12 Broadcasting v2)
- [ ] **Advanced Security Features**
  - [ ] Biometric authentication support
  - [ ] Device fingerprinting with Laravel 12 security
  - [ ] AI-powered anomaly detection
- [ ] **Integration Ecosystem**
  - [ ] Popular CRM systems (Salesforce, HubSpot)
  - [ ] Identity providers (Okta, Auth0)
  - [ ] Payment processors (Stripe, PayPal)

### Version History

- **v1.0.0** - Initial release with core features
- **v1.1.0** - Added workflow integration
- **v1.2.0** - Enhanced API endpoints
- **v1.3.0** - Multi-tenancy improvements
- **v2.0.0** - Major refactor with Laravel 11+ support
- **v2.5.0** - Laravel 12 compatibility and enhanced features
- **v3.0.0** - *(Coming Q4 2025)* Laravel 12 full optimization with AI features

---

Made with ❀️ by the [Litepie Team](https://litepie.com)

All versions of users with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2|^8.3
laravel/framework Version ^12.0
litepie/actions Version ^1.0
litepie/filehub Version ^1.0
litepie/flow Version ^1.0
litepie/logs Version ^1.0
litepie/otp Version ^1.0
litepie/repository Version ^1.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 litepie/users contains the following files

Loading the files please wait ...