PHPackages                             bjitgroup/reusable-lib-laravel - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. bjitgroup/reusable-lib-laravel

ActiveLibrary[API Development](/categories/api)

bjitgroup/reusable-lib-laravel
==============================

A BJIT Reusable Laravel Package

v3.0.0(1y ago)54921MITPHP

Since Oct 14Pushed 1y ago1 watchersCompare

[ Source](https://github.com/rndbjitgroup/reusable-lib-laravel)[ Packagist](https://packagist.org/packages/bjitgroup/reusable-lib-laravel)[ RSS](/packages/bjitgroup-reusable-lib-laravel/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (11)Used By (0)

BJIT Reusable Library Package
=============================

[](#bjit-reusable-library-package)

Overview
--------

[](#overview)

The **BJIT Reusable Library Package** is a lightweight and modular Laravel package designed to provide reusable components and features to streamline development.

### **Features**

[](#features)

- 🔥 **Boilerplate Structure**
- 🔐 **Auth Module**
- 🏗 **Sample Module**
- 🎛 **Permissions &amp; Roles Management**
- 📝 **Blog Module**
- 📁 **Centralized File Handling**
- 🔔 **Notifications (Email, Database, Push)**

---

**Installation**
----------------

[](#installation)

### **Requirements**

[](#requirements)

- **Laravel** v8+ (Latest Supported)
- **PHP** with `exec` function enabled
- **Composer** v2+ (Recommended)

### **Step 1: Install Laravel**

[](#step-1-install-laravel)

```
composer create-project laravel/laravel rl-demo
```

### **Step 2: Install the Reusable Library**

[](#step-2-install-the-reusable-library)

```
cd rl-demo  # Navigate to the project root
composer require bjitgroup/reusable-lib-laravel
```

### **Version Compatibility**

[](#version-compatibility)

Laravel VersionPackage VersionInstallation Command11.xLatest`composer require bjitgroup/reusable-lib-laravel`9.x - 10.x2.x`composer require bjitgroup/reusable-lib-laravel:2.*`8.x1.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**

[](#step-3-configure-the-env-file)

Ensure the correct database connection and `APP_URL` settings:

```
APP_URL=http://localhost:8000
```

### **Step 4: Install the Reusable Library**

[](#step-4-install-the-reusable-library)

```
php artisan bjit:reusable-lib-install
```

### **Step 5: Serve the Application**

[](#step-5-serve-the-application)

```
php artisan serve
```

---

**Push Notification Setup**
---------------------------

[](#push-notification-setup)

### **For Laravel 11.x (Reverb)**

[](#for-laravel-11x-reverb)

```
php artisan reverb:start
```

### **For Laravel 8.x - 10.x (Websockets)**

[](#for-laravel-8x---10x-websockets)

```
php artisan websocket:serve
```

### **For Queue Processing**

[](#for-queue-processing)

```
php artisan queue:work
```

### **Client-Side Configuration**

[](#client-side-configuration)

- Configure the client application with **Key, Host, and Port**.
- Build the frontend application:

```
npm run build
```

---

**API Documentation (Swagger)**
-------------------------------

[](#api-documentation-swagger)

Access the API documentation by opening your browser and navigating to:

```
http://localhost:8000/api/documentation

```

---

**File Structure**
------------------

[](#file-structure)

The package follows a modular structure:

1. **Route** - Configure API routes.
2. **Controller** - Handle requests and responses.
3. **Request** - Form validation logic.
4. **Service** - Business logic handling.
5. **Repository** - Database operations (CRUD).
6. **Resource** - API response formatting.

### **Generate Module Files**

[](#generate-module-files)

```
php artisan bjit-make:model Products/Item -m --all
```

**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**

[](#generate-service-or-repository)

```
php artisan bjit-make:service Products/ProductBrand
php artisan bjit-make:repository Products/ProductBrand
```

### **Remove a Module**

[](#remove-a-module)

```
php artisan bjit-remove:all Products/Item
```

### **Uninstall Reusable Library**

[](#uninstall-reusable-library)

```
php artisan bjit:reusable-lib-remove
```

---

**License**
-----------

[](#license)

This package is open-source software licensed under the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance42

Moderate activity, may be stable

Popularity19

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~200 days

Total

7

Last Release

467d ago

Major Versions

v1.0.0 → v2.0.02022-07-08

v2.0.4 → v3.0.02025-01-29

### Community

Maintainers

![](https://www.gravatar.com/avatar/588efb31d2180863f07c922d32aaf28c6fbc13ef47ee485435f603ed5943afca?d=identicon)[rndbjitgroup](/maintainers/rndbjitgroup)

---

Top Contributors

[![rndbjitgroup](https://avatars.githubusercontent.com/u/91940733?v=4)](https://github.com/rndbjitgroup "rndbjitgroup (22 commits)")[![abdulhalim-bjit](https://avatars.githubusercontent.com/u/78464337?v=4)](https://github.com/abdulhalim-bjit "abdulhalim-bjit (19 commits)")[![abdullahqayum](https://avatars.githubusercontent.com/u/72572060?v=4)](https://github.com/abdullahqayum "abdullahqayum (6 commits)")[![islam-shaiful-bjit](https://avatars.githubusercontent.com/u/114920159?v=4)](https://github.com/islam-shaiful-bjit "islam-shaiful-bjit (5 commits)")

---

Tags

apicrossdomainlaravel-boilerplatebjitbjitgroupreusable libraryLaravel API BoilerplateLaravel Standard ArchitectureLaravel API Standard Architecture

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/bjitgroup-reusable-lib-laravel/health.svg)

```
[![Health](https://phpackages.com/badges/bjitgroup-reusable-lib-laravel/health.svg)](https://phpackages.com/packages/bjitgroup-reusable-lib-laravel)
```

###  Alternatives

[nelmio/cors-bundle

Adds CORS (Cross-Origin Resource Sharing) headers support in your Symfony application

1.9k94.4M153](/packages/nelmio-cors-bundle)[m165437/laravel-blueprint-docs

API Blueprint Renderer for Laravel

22779.0k](/packages/m165437-laravel-blueprint-docs)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
