PHPackages                             lmendes/template - 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. [Templating &amp; Views](/categories/templating)
4. /
5. lmendes/template

ActiveLibrary[Templating &amp; Views](/categories/templating)

lmendes/template
================

A ready-to-use Laravel template package with auth, dashboard, Blade components and helpers.

1.0.0(1mo ago)01MITBladePHP ^8.1

Since Apr 16Pushed 1mo agoCompare

[ Source](https://github.com/Leo-76/lmendes-template)[ Packagist](https://packagist.org/packages/lmendes/template)[ RSS](/packages/lmendes-template/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

lmendes/template
================

[](#lmendestemplate)

A ready-to-use Laravel template package with authentication, dashboard, reusable Blade components, and helpers — installable in any existing Laravel project.

---

Requirements
------------

[](#requirements)

- PHP **8.1+**
- Laravel **10, 11 or 12**

---

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

[](#installation)

```
composer require lmendes/template
```

Then run the install command:

```
php artisan template:install
```

This will publish the config, views and run the migrations.

---

What's included
---------------

[](#whats-included)

FeatureDetails**Auth**Login, Register, Logout controllers &amp; views**Dashboard**Clean sidebar layout with stats**Profile**Edit name/email + change password**Blade Components**``, ``, ``, ``, ``**Helpers**`template_config()`, `initials()`, `money()`, `template_menu()`, `template_theme()`---

Routes
------

[](#routes)

URLNameMiddleware`/template/login``template.login`guest`/template/register``template.register`guest`/template/dashboard``template.dashboard`auth`/template/profile``template.profile`auth---

Configuration
-------------

[](#configuration)

After install, edit `config/template.php`:

```
return [
    'name'  => 'My App',        // App name shown in sidebar
    'theme' => 'light',         // 'light' | 'dark' | 'auto'
    'color' => '#6366f1',       // Brand color (CSS hex)

    'auth' => [
        'register_enabled'     => true,
        'redirect_after_login' => '/dashboard',
    ],

    'menu' => [
        ['label' => 'Dashboard', 'icon' => 'home',  'route' => 'template.dashboard'],
        ['label' => 'Profile',   'icon' => 'user',  'route' => 'template.profile'],
    ],
];
```

Or use `.env` variables:

```
TEMPLATE_THEME=dark
TEMPLATE_COLOR=#f43f5e
TEMPLATE_REGISTER=false
```

---

Blade Components
----------------

[](#blade-components)

### Card

[](#card)

```

    Content here

```

### Alert

[](#alert)

```

    Your changes have been saved.

```

Types: `info` | `success` | `warning` | `danger`

### Button

[](#button)

```
Save
Cancel
Saving…
```

Variants: `primary` | `secondary` | `danger` | `ghost`

### Badge

[](#badge)

```
Active
```

Colors: `indigo` | `green` | `red` | `yellow` | `gray`

### Modal

[](#modal)

```

    Are you sure?
    Cancel
    Delete

Open modal
```

---

Helpers
-------

[](#helpers)

```
template_config('name')        // Get config value
template_menu()                // Get sidebar menu array
template_theme()               // 'light' | 'dark' | 'auto'
initials('Jean Dupont')        // 'JD'
money(1500.50)                 // '1 500,50 €'
```

---

Publish views to customise
--------------------------

[](#publish-views-to-customise)

```
php artisan vendor:publish --tag=template-views
```

Views will be copied to `resources/views/vendor/template/` and will take priority over package views.

---

Artisan command options
-----------------------

[](#artisan-command-options)

```
php artisan template:install --force          # Overwrite existing files
php artisan template:install --no-migration   # Skip migrations
```

---

License
-------

[](#license)

MIT — © lmendes

###  Health Score

36

—

LowBetter than 79% of packages

Maintenance89

Actively maintained with recent releases

Popularity1

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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

Unknown

Total

1

Last Release

55d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e5b8976e374fe398e250b83dde310685d3df348f7b992298812beab9b00d5f5c?d=identicon)[Leo-76](/maintainers/Leo-76)

---

Top Contributors

[![Leo-76](https://avatars.githubusercontent.com/u/209856038?v=4)](https://github.com/Leo-76 "Leo-76 (14 commits)")

---

Tags

laravelauthtemplateboilerplatedashboardstarter

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lmendes-template/health.svg)

```
[![Health](https://phpackages.com/badges/lmendes-template/health.svg)](https://phpackages.com/packages/lmendes-template)
```

###  Alternatives

[nasirkhan/laravel-starter

A CMS like modular Laravel starter project.

1.4k2.7k](/packages/nasirkhan-laravel-starter)[vikdiesel/admin-one-laravel-dashboard

Admin One - Laravel Dashboard Preset (SPA)

1415.5k](/packages/vikdiesel-admin-one-laravel-dashboard)[hieu-le/laravel-dashboard

A starting template for Laravel 5 dashboards

322.6k](/packages/hieu-le-laravel-dashboard)

PHPackages © 2026

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