Download the PHP package mcbanks/mcbankslaravel without Composer

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

MCBANKS Laravel

A Laravel starter template with role-based authentication, Livewire components, and a modern UI. Perfect for building web applications with user management and permission systems.


🚀 Features

🔒 Security Features

📚 Documentation

📦 Installation

Quick Start

The setup script automatically:

Manual Setup

  1. Clone the repository

  2. Install dependencies

  3. Environment setup

  4. Configure database
  1. Run migrations

  2. Build assets

  3. Start development server

🎯 Quick Setup Script

Use the built-in composer script for automated setup:

This script will:

🔧 Development

Development server with all services:

This command runs multiple services concurrently:

Run tests:

The test command clears configuration cache before running tests for consistent results.

� Geographical Data Included

This package comes with comprehensive geographical data that's automatically seeded during installation:

🌐 International Data

🇰🇪 Kenyan Administrative Data

💰 Currency Information

📊 Database Schema

🔧 Usage Examples

��️ Authentication System

Registration (RegistrationForm)

Blade integration:


Login (LoginForm)

Blade integration:


🛠️ Role Setup (Critical)

1. Create Roles Before Registering Users

Use the provided Artisan command to create roles:

Command Features:

This uses the CreateRole console command in app/Console/Commands/CreateRole.php.

2. Super Admin Feature

3. Assign Roles Manually

4. Adding New Roles

5. Role-Based Redirection Logic

The login system redirects users based on their roles:


🔒 Two-Factor Authentication

Overview

Enterprise-grade two-factor authentication system using TOTP (Time-based One-Time Password) with comprehensive recovery options.

Features

TOTP Authentication

Recovery System

Security Features

User Interface

Configuration

Environment Variables

Dependencies

Usage Examples

Enable Two-Factor Authentication

Verify Two-Factor Authentication

Disable Two-Factor Authentication

Blade Integration

Routes

Security Considerations


⚡ Rate Limiting System

Overview

Advanced rate limiting system with endpoint-specific rules, IP blacklisting, and suspicious activity detection.

Features

Granular Rate Limits

Security Protection

Monitoring & Statistics

Configuration

Middleware Registration

Environment Variables

Usage Examples

Check Rate Limits

Get Rate Limit Status

IP Blacklisting

Log Suspicious Activity

Rate Limiting Rules

Authentication Endpoints

API Endpoints

Profile Management

Response Headers

All rate limited responses include:

Security Benefits


� User Activity Audit Logging

Overview

Comprehensive audit logging system that tracks all user activities, security events, and system changes for compliance and security monitoring.

Features

Comprehensive Logging

Data Tracking

Search & Analysis

Configuration

Database Migration

Middleware Registration

Usage Examples

Manual Logging

Query Audit Logs

Model Logging

Audit Log Events

Authentication Events

Two-Factor Events

Profile Events

Social Authentication Events

Database Schema

Audit Logs Table

Advanced Features

Statistics & Analytics

Suspicious Activity Detection

Security Anomaly Detection

Export & Compliance

Performance Considerations

Database Indexes

Caching Strategy

Data Retention

Compliance & Security

GDPR Compliance

Security Monitoring

Privacy Protection


Overview

The package includes a complete user profile management system with avatar uploads, privacy controls, and profile completion tracking.

Features

Profile Management (ProfileEditor)

Avatar System (AvatarUpload)

Privacy Controls

Usage Examples

Accessing Profile Data

Profile Completion Tracking

Privacy Settings

Blade Integration

Profile Editor

Avatar Upload

Display User Avatar

Routes

Profile Management

API Endpoints

Database Schema

Profiles Table

Avatars Table

File Storage

Image Processing


� Social Authentication System

Overview

The package includes a comprehensive social authentication system using Laravel Socialite, supporting OAuth login with Google, GitHub, and Twitter. Features include account linking, smart conflict resolution, and seamless integration with the existing user profile system.

Supported Providers

Features

Social Login (SocialLogin)

Account Management (SocialAccountManager)

Account Linking System

Configuration

Environment Variables

Add these to your .env file:

OAuth App Setup

Google:

  1. Go to Google Cloud Console
  2. Create new project or select existing
  3. Enable Google+ API
  4. Create OAuth 2.0 credentials
  5. Add authorized redirect URI

GitHub:

  1. Go to GitHub Developer Settings
  2. Create new OAuth App
  3. Set authorization callback URL
  4. Copy Client ID and Secret

Twitter:

  1. Go to Twitter Developer Portal
  2. Create new project and app
  3. Enable OAuth 2.0
  4. Set callback URL
  5. Generate Client ID and Secret

Usage Examples

Social Login Button

Account Management

Programmatic Social Login

Social Account Data

Routes

Authentication Routes

Database Schema

Social Accounts Table

Security Features

Token Management

Account Protection

Session Security

Integration with User Profiles

Profile Sync

Privacy Integration

Error Handling

Common Scenarios

User Feedback


� Available Commands

Composer Scripts

Artisan Commands

Role Creation Examples

Database Seeding

The project includes comprehensive data seeders:

Run individual seeders:


🎨 UI Components

Auth Layout

Form Features

📁 Project Structure

�️ Security

📚 Customization

Registration Fields

Login Redirects

UI Styling

Update resources/views/layouts/auth.blade.php:

🔄 Available Routes

Authentication Routes

Guest Routes (middleware: guest)

Authenticated Routes

Email Verification Routes (middleware: auth)

General Routes

Route Implementation Details

🛠️ Dependencies

Security & Authentication Dependencies

Development Dependencies

📝 Environment Variables

Key environment variables in .env:

Email Configuration

The project includes an EmailService for handling welcome emails and notifications. Configure your mail settings in the .env file for email verification to work properly.

🚀 Deployment

  1. Copy environment:

  2. Migrate database:

  3. Optimize assets:

  4. Start queue (if needed):

🤝 Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Commit changes
  4. Push
  5. Open PR

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🆘 Support

If you encounter any issues:

  1. Check the documentation
  2. Search existing issues
  3. Create a new issue with detailed information

🔄 Version History

📊 Project Statistics

📚 Documentation Files

🔍 Key Features Deep Dive

Social Authentication System

The social authentication system provides complete OAuth integration:

User Profiles System

The profiles system provides a complete user experience with:

SubCounty Model Advanced Features

The SubCounty model includes specialized query methods for Kenyan administrative data:

Email Service Integration

The project includes a dedicated EmailService that handles:

Avatar Upload Service

The AvatarUploadService provides:

Social Auth Service

The SocialAuthService handles:

Security Features

Enterprise Security Features


🚀 Quick Security Setup

Enable Two-Factor Authentication

Configure Rate Limiting

Enable Audit Logging

Security Best Practices

  1. Enable 2FA on all admin accounts
  2. Monitor audit logs regularly for suspicious activity
  3. Configure rate limits appropriately for your use case
  4. Set up alerts for security events
  5. Regular cleanup of old audit logs (90 days default)
  6. Review security statistics and analytics weekly

Built with ❤️ using Laravel


All versions of mcbankslaravel with dependencies

PHP Build Version
Package Version
Requires php Version ^8.2
intervention/image Version ^3.8
laravel/framework Version ^12.0
laravel/socialite Version ^5.24
laravel/tinker Version ^2.10.1
livewire/livewire Version ^4.1
spatie/laravel-permission Version ^6.24
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 mcbanks/mcbankslaravel contains the following files

Loading the files please wait ...