PHPackages                             ramzyvirani/laravel-boilerplate - 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. [Framework](/categories/framework)
4. /
5. ramzyvirani/laravel-boilerplate

ActiveProject[Framework](/categories/framework)

ramzyvirani/laravel-boilerplate
===============================

Laravel boilerplate. Basic boilerplate to create laravel projects with Admin Panel, Role Based Access Control, i18n support, Swagger Doc using InfyOm (Laravel CRUD Generator).

5.8.1(6y ago)16764[1 issues](https://github.com/RamzyVirani/laravel-boilerplate/issues)[15 PRs](https://github.com/RamzyVirani/laravel-boilerplate/pulls)MITPHPPHP ^7.1.3CI failing

Since Dec 30Pushed 10mo ago2 watchersCompare

[ Source](https://github.com/RamzyVirani/laravel-boilerplate)[ Packagist](https://packagist.org/packages/ramzyvirani/laravel-boilerplate)[ RSS](/packages/ramzyvirani-laravel-boilerplate/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (23)Versions (18)Used By (0)

Laravel boilerplate
===================

[](#laravel-boilerplate)

[![Maintainability](https://camo.githubusercontent.com/37d82519c80e34bd2a8198f8f0ffd9ccbf01670c4d99082216c56c5d53ef869c/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63616333653662663433353532366662663031612f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/RamzyVirani/laravel-boilerplate/maintainability)[![Test Coverage](https://camo.githubusercontent.com/b1b335298622caa88f2307e82d586edd68cf4dab62f022e4e009da256f188c97/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63616333653662663433353532366662663031612f746573745f636f766572616765)](https://codeclimate.com/github/RamzyVirani/laravel-boilerplate/test_coverage)

Basic boilerplate to create laravel projects with Admin Panel, Role Based Access Control, i18n support, Swagger Doc using InfyOm (Laravel CRUD Generator).

PS: This boilerplate works on Database First Approach, After the installation, you should design your database through your preferred Database Administration tool then generate modules from the admin panel selecting your tables one by one.

Whats used?
-----------

[](#whats-used)

- **PHP 7.1**
- **Laravel 5.8**
- InfyOm Laravel Generator
- AdminLTE Theme
- Swagger Generator from InfyOm
- DataTables
- Entrust (ACL)
- Repository Pattern

Libraries
---------

[](#libraries)

**Laravel 5.8**

- laravel/framework: 5.8.\*,
- laravel/tinker: ^1.0,
- laravelcollective/html: ^5.8.0,
- fideloper/proxy: ^4.0,
- doctrine/dbal: ~2.3

**Image Processeing**

- intervention/image: ^2.4,

**Swagger Doc**

- appointer/swaggervel: ^2.3,

**JWT**

- tymon/jwt-auth: 1.\*,

**Breadcrumbs (Admin Panel)**

- davejamesmiller/laravel-breadcrumbs: ^5.0,

**i18n**

- dimsav/laravel-translatable: ^9.0,

**Cascade Soft Deletes**

- iatstuti/laravel-cascade-soft-deletes: ^1.4.0,

**InfyOm (with AdminLTE Template and DataTables)**

- infyomlabs/adminlte-templates: 5.8.x-dev,
- infyomlabs/laravel-generator: 5.8.x-dev,
- infyomlabs/swagger-generator: dev-master,
- yajra/laravel-datatables-buttons: 4.\*,
- yajra/laravel-datatables-oracle: ~9.0,

**Push Notification**

- edujugon/push-notification: ^2.2,

**RBAC (ACL)**

- zizaco/entrust: 1.9.1

Installation
------------

[](#installation)

- Download the zip of this repository or use `composer create-project ramzyvirani/laravel-boilerplate`
- Upload it on Web Server
- Install &amp; Update libraries with `composer update`
- Set your Database credentials in `.env`.
- Run Migration and Seeder `php artisan migrate:refresh --seed`

Boilerplate will create tables and insert basic modules, menus, users, roles, permissions in the database.

How To?
-------

[](#how-to)

**Step 1**

- Make Schema Architecture in your preferred database administration tool.
- Click on Module
- Click Create
- Select the table you want to create a module for
- Enter Module Name (Only alphanumeric characters and spaces are allowed for module names. Using spaces will Generate your classes with CamelCase and will add hyphens in your routes and permission names)
- Select the Icon for this module
- Next

**Step 2**

- Add / Remove Columns you want in the Module Index View (DataTable)

**Step 3**

- Add / Remove fields for forms. {Create / Edit}
- Type -&gt; HTML input type.
- Validation -&gt; laravel validations.
- Width -&gt; Bootstrap Columns.
- Select Yes if you want to generate migrations for this module.

**Check Generated Files:**

- DataTable,
- Admin Controller,
- Api Controller,
- Request,
- Model,
- Repositories,
- Migrations,
- Views,
- Tests,
- Tests Traits,
- routes/api.php,
- routes/admin.php,
- public/modules\_seeder.csv,
- public/menus\_seeder.csv,
- public/permissions\_seeder.csv,
- public/permission\_role\_seeder.csv,

Admin Credentials:
------------------

[](#admin-credentials)

- Super admin (development admin)
    - 'email' =&gt; ""
    - 'password' =&gt; 'superadmin123'
- Admin
    - 'email' =&gt; ""
    - 'password' =&gt; 'admin123'

Some Useful Scripts
-------------------

[](#some-useful-scripts)

**Want to use Searchable Dropdown?**

- Add class `select2` to your dropdown.

**Ask SW confirmation before delete?**

- Call function `confirmDelete()` on Onclick event.

**Want toggle switch instead of checkbox?**

- Add attribute `'data-toggle'=>'toggle'` on html checkbox.

**Want to add add fields from another related table in datatables?**

- please see DataTables/Admin/UserDataTable.php

**Want to add Translatable module?**

- please see Page Module For Reference.

**Make dependent dropdowns**

- Use class="select2" and data-url="route\_to\_fetch\_data" data-depends="parent\_name"

**Create Custom Validation Rules**

- /app/Http/Requests/Api/BaseApiRequest::validator has a sample custom validation rule. Uncomment and modify that code to create and use your custom validation rule for any API request.

***PS: Download the zip of this project to initialize git for your project repository***

---

*Build Something Amazing!!*
---------------------------

[](#build-something-amazing)

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance39

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 72.2% of commits — single point of failure

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 ~0 days

Total

2

Last Release

2325d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/030d8a2b101d8dd634ce38ef5f9b1eaeb5cde45fdea7fe68d35553ecc80abebf?d=identicon)[RamzyVirani](/maintainers/RamzyVirani)

---

Top Contributors

[![RamzyVirani](https://avatars.githubusercontent.com/u/8522676?v=4)](https://github.com/RamzyVirani "RamzyVirani (13 commits)")[![faaizulhasan](https://avatars.githubusercontent.com/u/18702122?v=4)](https://github.com/faaizulhasan "faaizulhasan (3 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![shakir-mirza](https://avatars.githubusercontent.com/u/41946272?v=4)](https://github.com/shakir-mirza "shakir-mirza (1 commits)")

---

Tags

adminboilerplategeneratorinfyomlaravelphprest-apiframeworklaraveli18nscaffoldingswaggerrbacboilerplateAdminLTEadmin-panel

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ramzyvirani-laravel-boilerplate/health.svg)

```
[![Health](https://phpackages.com/badges/ramzyvirani-laravel-boilerplate/health.svg)](https://phpackages.com/packages/ramzyvirani-laravel-boilerplate)
```

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[adr1enbe4udou1n/laravel-boilerplate

Laravel 5.7 Boilerplate based on Bootstrap 4 and Tabler for Backend.

2561.9k](/packages/adr1enbe4udou1n-laravel-boilerplate)[bpocallaghan/laravel-admin-starter

The Laravel Framework.

3511.4k](/packages/bpocallaghan-laravel-admin-starter)[balajidharma/laravel-vue-admin-panel

The Laravel Vue Admin Panel - Laravel Vue Admin Boilerplate.

3122.4k](/packages/balajidharma-laravel-vue-admin-panel)[balajidharma/basic-laravel-admin-panel

The Baic Laravel Admin Panel - Laravel Admin Boilerplate

2322.6k](/packages/balajidharma-basic-laravel-admin-panel)

PHPackages © 2026

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