PHPackages                             isu73/laravel-bootstrap5 - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. isu73/laravel-bootstrap5

ActiveProject[Utility &amp; Helpers](/categories/utility)

isu73/laravel-bootstrap5
========================

Laravel &gt;=11 + Bootstrap 5 + Vite (Sass @use ready) starter template.

v1.0.1(6mo ago)09MITBladePHP ^8.2

Since Oct 18Pushed 3mo agoCompare

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

READMEChangelogDependencies (10)Versions (3)Used By (0)

Laravel 12 + Bootstrap 5 Starter Template
=========================================

[](#laravel-12--bootstrap-5-starter-template)

[![Laravel](https://camo.githubusercontent.com/7abb0dafe4cc1cb973d321a94dc2cfedf6ab029968144f873d4110771ce6daa8/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d31322e782d6666326432303f6c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://laravel.com)[![PHP](https://camo.githubusercontent.com/bc150dbdcd0cc496bcd039c34fa3fb36c8c72684f7f2b36721f65ccfd2db0456/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d254532253839254135382e322d3737376262343f6c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://www.php.net/)[![Node](https://camo.githubusercontent.com/a3a3e43f8a09fb88dc02c597ba1aaa502399772c0c6871b134a0629608be4a70/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4e6f64652e6a732d25453225383925413531382d3333393933333f6c6f676f3d6e6f64652e6a73266c6f676f436f6c6f723d7768697465)](https://nodejs.org/)[![License: MIT](https://camo.githubusercontent.com/7013272bd27ece47364536a221edb554cd69683b68a46fc0ee96881174c4214c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e737667)](LICENSE)[![Packagist Downloads](https://camo.githubusercontent.com/1207bb0efb18ae41b8ab609f56ee8f8a2a1606431266f62413752546cc349da7/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f69737537332f6c61726176656c2d626f6f747374726170353f636f6c6f723d627269676874677265656e)](https://packagist.org/packages/isu73/laravel-bootstrap5)

A modern Laravel 12 + Bootstrap 5 starter kit designed for clean front-end development and maintainable builds with Vite and Sass.

This template follows an “use ready” Sass structure, which means Bootstrap 5 components are imported modularly, rather than relying on precompiled CSS. This approach allows you to:

- Include only the Bootstrap modules you actually use.
- Easily override variables (\_variables.scss) and theme tokens.
- Enjoy a faster, optimized build process via Vite.

Using Bootstrap via Sass rather than a CDN or static .css file makes your project:

- lighter (tree-shaken styles),
- more customizable, and
- future-proof for long-term scalability.

🧠 Why “@use ready” and why Bootstrap via Sass?
----------------------------------------------

[](#-why-use-ready-and-why-bootstrap-via-sass)

This template follows an **“@use ready” Sass structure**, meaning Bootstrap 5 components are imported **modularly**, rather than relying on precompiled CSS.

### Benefits

[](#benefits)

- 🧩 Import only the Bootstrap modules you actually need
- 🎨 Easily override variables (`_variables.scss`) and customize themes
- ⚡ Faster, optimized builds via **Vite**
- 🔧 Consistent modular Sass that scales for long-term projects

Using Bootstrap via Sass instead of a CDN or static `.css` file makes your project:

- **lighter** (tree-shaken output),
- **easier to maintain**, and
- **future-proof** for advanced theme or component customization.

---

🧩 Features
----------

[](#-features)

- Laravel 12 Framework
- Bootstrap 5 (via Vite + Sass @use)
- Ready-to-use Sass architecture (`resources/sass`)
- Pre-configured `vite.config.js`
- Sanctum / Tinker / Pint / UI (dev)
- Windows + Linux-compatible Composer scripts
- Optional SQLite setup in `.env.example`

---

⚙️ Requirements
---------------

[](#️-requirements)

ComponentMinimum Version**PHP**8.2 or higher**Composer**2.6+**Node.js**18 or higher (LTS 20 or 24 recommended)**NPM**9 or 11**Database**SQLite (default), MySQL 8+, MariaDB 10+, PostgreSQL 14+**OS**Linux / macOS / Windows 10+> Make sure PHP includes these extensions:
> `pdo_mysql`, `pdo_pgsql`, `openssl`, `mbstring`, `tokenizer`, `xml`, `ctype`, `fileinfo`, `json`, `curl`.

---

🗂️ Directory Structure
----------------------

[](#️-directory-structure)

```
├── app/                 → Application logic
├── bootstrap/           → App bootstrap files
├── config/              → Configuration files
├── database/            → Migrations / seeders / SQLite DB
├── public/              → Web root (index.php + assets)
├── resources/
│   ├── js/              → Custom JavaScript
│   ├── sass/            → Bootstrap 5 + custom Sass
│   └── views/           → Blade templates
├── routes/              → Web / API routes
├── storage/             → Logs / cache / sessions
├── artisan              → Laravel CLI
├── composer.json        → PHP dependencies + scripts
├── package.json         → NPM dependencies
└── vite.config.js       → Vite configuration

```

🚀 Installation
--------------

[](#-installation)

### Create a new project

[](#create-a-new-project)

```
composer create-project isu73/laravel-bootstrap5 myapp
cd myapp
```

### Install Node dependencies

[](#install-node-dependencies)

```
npm install
npm run build   # or: npm run dev
```

### Environment setup

[](#environment-setup)

```
cp .env.example .env
php artisan key:generate
```

If you prefer SQLite, simply run:

```
php artisan migrate
```

If you prefer MySQL or PostgreSQL, don’t forget to edit your `.env` file accordingly:

```
DB_CONNECTION=mysql      # or: pgsql
DB_HOST=127.0.0.1
DB_PORT=3306             # or: 5432 for PostgreSQL
DB_DATABASE=my_database
DB_USERNAME=my_user
DB_PASSWORD=my_password
```

🧪 Development Server
--------------------

[](#-development-server)

```
php artisan serve
npm run dev
```

Laravel server → Vite HMR →

Run both in parallel:

```
composer run dev
```

⚡ Composer Scripts
------------------

[](#-composer-scripts)

Command Description

`composer setup` Install dependencies, copy .env, migrate, and build

`composer dev` Run Laravel server + queue + Vite concurrently

`composer test` Run Laravel test suite

`composer update` Update PHP dependencies

###  Health Score

36

—

LowBetter than 81% of packages

Maintenance79

Regular maintenance activity

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

203d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3d61f86bc491a44478b5bc808c8561ab7db9cda1afc03a0c4ae21319d4d46dd5?d=identicon)[isu73](/maintainers/isu73)

---

Top Contributors

[![isu73](https://avatars.githubusercontent.com/u/66928320?v=4)](https://github.com/isu73 "isu73 (15 commits)")

---

Tags

laravelbootstrap

###  Code Quality

TestsPHPUnit

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/isu73-laravel-bootstrap5/health.svg)

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

###  Alternatives

[unopim/unopim

UnoPim Laravel PIM

9.4k1.8k](/packages/unopim-unopim)[blair2004/nexopos

The Free Modern Point Of Sale System build with Laravel, TailwindCSS and Vue.js.

1.2k2.3k](/packages/blair2004-nexopos)

PHPackages © 2026

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