Download the PHP package bjitgroup/reusable-lib-laravel without Composer
On this page you can find all versions of the php package bjitgroup/reusable-lib-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download bjitgroup/reusable-lib-laravel
More information about bjitgroup/reusable-lib-laravel
Files in bjitgroup/reusable-lib-laravel
Package reusable-lib-laravel
Short Description A BJIT Reusable Laravel Package
License MIT
Informations about the package reusable-lib-laravel
BJIT Reusable Library Package
Overview
The BJIT Reusable Library Package is a lightweight and modular Laravel package designed to provide reusable components and features to streamline development.
Features
- 🔥 Boilerplate Structure
- 🔐 Auth Module
- 🏗 Sample Module
- 🎛 Permissions & Roles Management
- 📝 Blog Module
- 📁 Centralized File Handling
- 🔔 Notifications (Email, Database, Push)
Installation
Requirements
- Laravel v8+ (Latest Supported)
- PHP with
exec
function enabled - Composer v2+ (Recommended)
Step 1: Install Laravel
Step 2: Install the Reusable Library
Version Compatibility
Laravel Version | Package Version | Installation Command |
---|---|---|
11.x | Latest | composer require bjitgroup/reusable-lib-laravel |
9.x - 10.x | 2.x | composer require bjitgroup/reusable-lib-laravel:2.* |
8.x | 1.x | composer require bjitgroup/reusable-lib-laravel:1.* |
- Laravel 11.x : Use
composer require bjitgroup/reusable-lib-laravel
- Laravel 9.x to 10.x : Use
composer require bjitgroup/reusable-lib-laravel:2.*
- Laravel 8.x : Use
composer require bjitgroup/reusable-lib-laravel:1.*
Step 3: Configure the .env File
Ensure the correct database connection and APP_URL
settings:
Step 4: Install the Reusable Library
Step 5: Serve the Application
Push Notification Setup
For Laravel 11.x (Reverb)
For Laravel 8.x - 10.x (Websockets)
For Queue Processing
Client-Side Configuration
- Configure the client application with Key, Host, and Port.
- Build the frontend application:
API Documentation (Swagger)
Access the API documentation by opening your browser and navigating to:
File Structure
The package follows a modular structure:
- Route - Configure API routes.
- Controller - Handle requests and responses.
- Request - Form validation logic.
- Service - Business logic handling.
- Repository - Database operations (CRUD).
- Resource - API response formatting.
Generate Module Files
Options:
-m
→ Create migration-s
→ Create seed file-f
→ Create factory
You can also use -mfs --all
at the end of the command to generate a migration, seed, and factory simultaneously.
Generate Service or Repository
Remove a Module
Uninstall Reusable Library
License
This package is open-source software licensed under the MIT License.