PHPackages                             adygcode/blade-sanctum-kit - 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. adygcode/blade-sanctum-kit

ActiveProject[Framework](/categories/framework)

adygcode/blade-sanctum-kit
==========================

A Laravel Blade Template with Sanctum Authentication built in

1.1.0(2mo ago)048MITBladePHP ^8.4

Since Jan 2Pushed 2mo agoCompare

[ Source](https://github.com/AdyGCode/blade-sanctum-kit)[ Packagist](https://packagist.org/packages/adygcode/blade-sanctum-kit)[ RSS](/packages/adygcode-blade-sanctum-kit/feed)WikiDiscussions main Synced 1mo ago

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

Laravel Blade with Sanctum Kit (BSK)
====================================

[](#laravel-blade-with-sanctum-kit-bsk)

A Laravel Blade Template with Sanctum Authentication built in.

*Based on the Blade &amp; Breeze Starter Kit provided with Laravel versions before Laravel 12.*

Primarily used for teaching purposes at [North Metropolitan TAFE](https://northmetrotafe.wa.edu.au).

### Built With

[](#built-with)

[![PHP](https://camo.githubusercontent.com/aa94e7d13f75251c4a8916c502f8104bcbe21a9e875b363baaab2ab12944db53/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5068702d3737374242343f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://inertiajs.com)[![Laravel](https://camo.githubusercontent.com/5a580364ff3bd338370177402c5c050ff81a1933927e1e475c920c90850b38a3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c2d4646324432303f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://laravel.com)[![Livewire](https://camo.githubusercontent.com/7fe9c8ad845316a67be0089be17eca587a11344a7f6279730aea0f5f3b5371e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c697665776972652d3445353641363f7374796c653d666f722d7468652d6261646765266c6f676f3d6c69766577697265266c6f676f436f6c6f723d7768697465)](https://livewire.laravel.com)[![Inertia](https://camo.githubusercontent.com/372f1ab75d56b557b8ab0fcfe38a24cf49c6ee0bf2b630b56c228e3543d6f40c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e65727469612d3935353345393f7374796c653d666f722d7468652d6261646765266c6f676f3d696e6572746961266c6f676f436f6c6f723d7768697465)](https://inertiajs.com)[![Sanctum](https://camo.githubusercontent.com/c101d57c6e06c8913fdf2f1b76db509921e52cce2975c336930da268b008f5b1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53616e6374756d2d3462393264363f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://laravel.com)[![Tailwindcss](https://camo.githubusercontent.com/8c570969cde36d713826c3e6ee7e5a26e57751baed23d2dc2f0718bdeda35ced/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5461696c77696e646373732d3036423644343f7374796c653d666f722d7468652d6261646765266c6f676f3d7461696c77696e64637373266c6f676f436f6c6f723d7768697465)](https://tailwindcss.com)

### Editor of choice

[](#editor-of-choice)

[![PhpStorm](https://camo.githubusercontent.com/d6784cda91d483dd0230b6edcfb51e8a75d00ebecd551de3782aa5181457a863/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f70687073746f726d2d3030303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d70687073746f726d266c6f676f436f6c6f723d7768697465)](https://www.jetbrains.com/phpstorm/)[![JetBrains](https://camo.githubusercontent.com/3f2de3a42c5f4df36828762a0a519b08855e6fa3e36790363874db37fea471e7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4a6574427261696e732d3030303030303f7374796c653d666f722d7468652d6261646765266c6f676f3d6a6574627261696e73266c6f676f436f6c6f723d7768697465)](https://jetbrains.com)

Repo Stats
----------

[](#repo-stats)

[![Forks](https://camo.githubusercontent.com/334651c93b77e31b0af2db260f0301b2c85ae8f6ff8ab4671e01e681cc52a14e/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f61647967636f64652f626c6164652d73616e6374756d2d6b69742e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/AdyGCode/blade-sanctum-kit/network/members)[![Issues](https://camo.githubusercontent.com/b99b2cf97dd458d9cb700b85728383860dd4ba0577bf668353012414f35f1148/687474703a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f61647967636f64652f626c6164652d73616e6374756d2d6b69742e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/adygcode/blade-sanctum-kit/issues)[![Educational Community Licence](https://camo.githubusercontent.com/ce241cbb80cc27565ad14c7e2f28d674700f409e4d3883a724959403ee98c38c/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f61647967636f64652f626c6164652d73616e6374756d2d6b69742e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/adygcode/blade-sanctum-kit/blob/main/License.md)

([🔝 Back to top](#top))

Description
-----------

[](#description)

A starter kit for Laravel based on Laravel's Blade templating engine, TailwindCSS v4, HyperUI components and FontAwesome Free icons.

It contains three sections:

- **Web**:
    - Static Layout, Controller and Pages
- **Client**:
    - Authenticated User Layout and Pages
- **Admin**:
    - Administration Layout, Controller and Pages

The project is developed as a re-write of the "Retro Blade Kit" and "Base Blade Kit" also by Adrian Gould.

It provides a base template for the creation of a "SaaS" style application, omitting sections that may tie to a specific vendor such as a payment system.

([🔝 Back to top](#top))

Table of Contents
-----------------

[](#table-of-contents)

- [Badges](#built-with)
- [Description](#description)
- [Installation](#installation)
- [Extending the Kit](#extending-Kit)
- [Screenshots](#screenshots)
- [Tests](#tests)
- [Credits](#credits)
- [Contact](#contact)
- [Licence](#licence)

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

[](#installation)

Remember to run `composer install`, `php artisan migrate`, `php artisan  key:generate` to make sure a key is generated, all tables are created, and packages correctly installed.

Alternatively, you may use `composer setup` to install all packages, set a key, migrate and other common Laravel setup steps (using `pnpm`for Node.js package management). Using `composer setup-npm` will perform the same process but using `npm` for package management.

### Via Laravel Herd

[](#via-laravel-herd)

One-click install a new application using this starter kit through [Laravel Herd](https://herd.laravel.com):

[![Install_with_Laravel_Herd](https://camo.githubusercontent.com/4de7f09f2005f9f39e42c2816ad61856c0b2f1cb6c1af80d928e9440474295b4/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f496e7374616c6c5f776974685f486572642d4646324432303f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://herd.laravel.com/new?starter-kit=adygcode/blade-sanctum-kit)

### Via the Laravel Installer

[](#via-the-laravel-installer)

Create a new Laravel application using this starter kit through the official [Laravel Installer](https://laravel.com/docs/12.x/installation#installing-php):

```
  laravel new my-app --using=adygcode/blade-sanctum-kit
```

to use PNPM in place of NPM use:

```
  laravel new my-app -pnpm --using=adygcode/blade-sanctum-kit
```

To install with Pest, PNPM, Livewire, initialise a git repo, SQLite, ... (Typed in on a single command line):

```
  laravel new my-app --pnpm --git --database=sqlite \
    --pest --using=adygcode/blade-sanctum-kit
```

In either case, you must replace `my-app` with the name of your project, using kebab-case. For example `duck-quack-paddle`.

([🔝back to top](#top))

### Post setup

[](#post-setup)

The steps for post installation will depend on if you are a student.

#### What is `.env.dev`?

[](#what-is-envdev)

We provide a `.env.dev` file to use as a starter point for the application when developing.

This is because we have a setup script we execute for testing our student submissions that uses this file, and executes steps to install the packages from scratch, set up a database (usually MariaDB or MySQL), set up the MAIL configuration to use Mailpit, run migrations and seeders, and more.

#### Finishing the Set-up

[](#finishing-the-set-up)

> Remember that `app-name` is the name of the application you used when creating the project. It will be replaced by the project's name, for example `my-big-laravel-app`.

Switch into the project folder:

```
cd app-name
```

Execute the following steps to configure your development environment:

```
cp .env.dev .env
php artisan key:generate
php artisan migrate:fresh --seed
```

At this point you should be able to execute the development server.

#### Development Servers

[](#development-servers)

We have expanded the default composer run scripts provided with Laravel.

We have included:

- `dev` for general use, no MailPit
- `dev-win` for windows users, with MailPit
- `dev-linux`, for macOS and Linux uses, with MailPit and Log Watching

##### Dev

[](#dev)

Executes three scripts in parallel using the `concurrently` package.

- `php artisan serve`
- `php artisan queue:listen --tries=1`
- `npm run dev`

```
composer run dev
```

##### Dev-Win

[](#dev-win)

This is for Windows users who are not using WSL or Docker.

Executes four scripts in parallel using the `concurrently` package.

- `php artisan serve`
- `php artisan queue:listen --tries=1`
- `npm run dev`
- `mailpit --smtp=0.0.0.0:2525`

```
composer run dev-win
```

##### Dev-Linux

[](#dev-linux)

This is for Linux and macOS users.

Ensure you have installed MailPit and Pail on your macOS/Linux system.

Executes five scripts in parallel using the `concurrently` package.

- `php artisan serve`
- `php artisan queue:listen --tries=1`
- `npm run dev`
- `mailpit --smtp=0.0.0.0:2525`
- `php artisan pail --timeout=0`

```
composer run dev-linux
```

##### PhpStan

[](#phpstan)

PHPStan is a static analysis package for PHP. It has been wrapped for Laravel use.

Installation details are in the Extending Kit section.

The command executes:

- `phpstan analyse --memory-limit=2G`

```
composer run phpstan
```

([🔝 Back to top](#top))

Extending Kit
-------------

[](#extending-kit)

If you wish to add packages for further functionality, then follow the usual documentation from each of their sites.

DevProdItemPurpose✔️✔️[![Livewire](https://camo.githubusercontent.com/7fe9c8ad845316a67be0089be17eca587a11344a7f6279730aea0f5f3b5371e0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c697665776972652d3445353641363f7374796c653d666f722d7468652d6261646765266c6f676f3d6c69766577697265266c6f676f436f6c6f723d7768697465)](https://livewire.laravel.com)Laravel based dynamic pages with minimal JS✔️✔️[![Spatie Permission](https://camo.githubusercontent.com/170a615f5647fe883aeb6e0d2e9149b50eb96bcb4c4d8e3a45d1bfbc64a7434f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5370617469655f5065726d697373696f6e2d3139373539333f7374796c653d666f722d7468652d6261646765266c6f676f3d6c6f676f266c6f676f436f6c6f723d7768697465)](https://spatie.be/docs/laravel-permission/v6/introduction)Roles and Permissions✔️✔️️[![Telescope](https://camo.githubusercontent.com/51852bbf7788068dd3e17f70e5022a8c0f075260887f7816a629a580ef04d181/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f54656c6573636f70652d3737363063623f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c266c6f676f436f6c6f723d7768697465)](https://telescope.laravel.com)Application performance tracking and debugging. May be resource usage heavy✔️❌[![DebugBar](https://camo.githubusercontent.com/62262d104cfec40166b35bd0c0572c0fb91945fea06f16449cf55d18830beccc/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726176656c5f44656275676261722d6562343433323f7374796c653d666f722d7468652d6261646765266c6f676f3d266c6f676f436f6c6f723d7768697465)](https://laraveldebugbar.com)In browser debug bar✔️❌[![Laradumps](https://camo.githubusercontent.com/7e4ed0efe40c0aee8f85bdb5581a7784dcefecec10f29345c2be2474ea888a75/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c61726164756d70732d6662633132303f7374796c653d666f722d7468652d6261646765266c6f676f3d6c6f676f266c6f676f436f6c6f723d626c61636b)](https://laradumps.dev)Debugging without dump and die✔️❌[![Larastan](https://camo.githubusercontent.com/4df3dc2d55401261f3aca029fb890d5b77c530cacc6d051c45d942be515d163b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6172617374616e2d3331393164303f7374796c653d666f722d7468652d6261646765266c6f676f3d6c6f676f266c6f676f436f6c6f723d7768697465)](https://github.com/larastan/larastan)Static analysis of code✔️❌[![Pint](https://camo.githubusercontent.com/9f583a5fa3bd43d62ed0866602dcffbee1720079fde8f8b00021e4bfc19bf949/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f50696e742d6634393933313f7374796c653d666f722d7468652d6261646765266c6f676f3d6c61726176656c266c6f676f436f6c6f723d626c61636b)](https://laravel.com/docs/pint)Opinionated code formatting### Installation of Packages

[](#installation-of-packages)

After completing an installation with the starter kit, you may want to update or add extra packages.

Updating is always a good idea before getting into the development process. And it should also be completed whilst development is progressing, but never on the main branch.

Adding additional packages will occur, usually as the development process is completed, again never on the main branch.

When updating or adding any package make sure you immediately run your tests to make sure nothing has got broken in the upgrade/addition process.

#### Static Analysis for Laravel

[](#static-analysis-for-laravel)

Use during development.

```
composer require larastan/larastan --dev
```

The project has a base `phpstan.neon` configuration file in the project's root folder.

#### Pint Opinionated Code Formatting and Linter

[](#pint-opinionated-code-formatting-and-linter)

Use during development

```
composer require laravel/pint --dev
```

#### Laradumps

[](#laradumps)

Use during development only.

```
composer require laradumps/laradumps --dev
```

#### Debug Bar

[](#debug-bar)

Use during development only.

```
composer require barryvdh/laravel-debugbar --dev
```

#### Telescope

[](#telescope)

To use during development only:

```
composer require laravel/telescope --dev
```

If you wish to use this for development and production, remove the `--dev`:

```
composer require laravel/telescope
```

#### Livewire 4.0 BETA

[](#livewire-40-beta)

```
composer require laravel/livewire
```

#### Spatie Permission

[](#spatie-permission)

```
composer require spatie/laravel-permission
```

([🔝 Back to top](#top))

### Updating Packages

[](#updating-packages)

If you wish to make sure that the basics are complete, and upgrades are also completed then the following may assist...

#### Dry Run Updates

[](#dry-run-updates)

Before doing so, do a dry run to see what is updated:

```
composer update --dry-run
npm update --dry-run
```

#### Composer Package Updates

[](#composer-package-updates)

Afterwards, you may update individually using commands such as those below:

```
composer update laravel/laravel
composer update laravel/sanctum
composer update --dev roave/security-advisories:dev-latest
composer update --dev laravel/breeze
composer update --dev laravel/pint
composer update --dev pestphp/pest
composer update --dev pestphp/pest-plugin-laravel
```

Or you may attempt a complete update using:

```
composer update
```

### Node.js Package Updates

[](#nodejs-package-updates)

We have shown how to check for updates to the Node.js packages, and likewise you may update all the packages using a single command:

```
npm update
```

([🔝 Back to top](#top))

Screenshots
-----------

[](#screenshots)

Below are sample pages from the kit.

### General Welcome/Home Page

[](#general-welcomehome-page)

[![Product Screenshot Welcome Page](public/kit-docs/screenshot-welcome.png)](public/kit-docs/screenshot-welcome.png)

### Authenticated User Dashboard

[](#authenticated-user-dashboard)

[![Product Screenshot Authenticated User Dashboard](public/kit-docs/screenshot-authenticated.png)](public/kit-docs/screenshot-authenticated.png)

### Admin Dashboard

[](#admin-dashboard)

[![Product Screenshot Admin Dashboard](public/kit-docs/screenshot-admin.png)](public/kit-docs/screenshot-admin.png)

### About Page

[](#about-page)

[![Product Screenshot About Page](public/kit-docs/screenshot-about.png)](public/kit-docs/screenshot-about.png)

### Privacy Policy Page

[](#privacy-policy-page)

[![Product Screenshot Privacy Policy Page](public/kit-docs/screenshot-privacy.png)](public/kit-docs/screenshot-privacy.png)

([🔝 Back to top](#top))

Tests
-----

[](#tests)

TBD

([🔝 Back to top](#top))

Credits
-------

[](#credits)

This template is built using:

- Font Awesome. (n.d.). Fontawesome.com.
- Laravel - The PHP Framework For Web Artisans. (2011). Laravel.com.
- Laravel Bootcamp - Learn the PHP Framework for Web Artisans. (n.d.). Bootcamp.laravel.com.
- PHP: Hypertext Preprocessor. (n.d.). [Www.php.net](http://Www.php.net).
- Professional README Guide. (n.d.). Coding-Boot-Camp.github.io. Retrieved April 15, 2024, from
- TailwindCSS. (2023). Tailwind CSS - Rapidly build modern websites without ever leaving your HTML. Tailwindcss.com.
- Free Open Source Tailwind CSS v4 Components | HyperUI. (2025). HyperUI.
- Shields.io. (2025). Shields.io.
- Simple Icons. (2025). Simpleicons.org.
- Roave/SecurityAdvisories: Security advisories as a simple composer exclusion list, updated daily. (2025). GitHub.

([🔝 Back to top](#top))

Contact
-------

[](#contact)

Adrian Gould: Lecturer (ASL1), [North Metropolitan TAFE](https://northmetrotafe.wa.edu.au), Perth WA, Australia.

- GitHub Pages:
- GitHub Repos:
- Starter Kit Repo: [Blade Sanctum Starter Kit](https://github.com/AdyGCode/blade-sanctum-kit)

([🔝 Back to top](#top))

Licence
-------

[](#licence)

The Laravel "Blade with Sanctum" Starter Kit is open-sourced software licensed under the MIT license.

([🔝 Back to top](#top))

---

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance88

Actively maintained with recent releases

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 92% 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 ~65 days

Total

2

Last Release

62d ago

PHP version history (2 changes)1.0.0PHP ^8.3

1.1.0PHP ^8.4

### Community

Maintainers

![](https://www.gravatar.com/avatar/ea8818278f9529ca44cfef22947fe1560aade6a6a152d413cf5394cda6cc674a?d=identicon)[AdyGCode](/maintainers/AdyGCode)

---

Top Contributors

[![Ady-Gould](https://avatars.githubusercontent.com/u/1639175?v=4)](https://github.com/Ady-Gould "Ady-Gould (23 commits)")[![AdyGCode](https://avatars.githubusercontent.com/u/60425995?v=4)](https://github.com/AdyGCode "AdyGCode (2 commits)")

---

Tags

frameworklaravelstarter-kit

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/adygcode-blade-sanctum-kit/health.svg)

```
[![Health](https://phpackages.com/badges/adygcode-blade-sanctum-kit/health.svg)](https://phpackages.com/packages/adygcode-blade-sanctum-kit)
```

###  Alternatives

[raugadh/fila-starter

Laravel Filament Starter.

614.9k](/packages/raugadh-fila-starter)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)

PHPackages © 2026

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