PHPackages                             slenix/veil - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. slenix/veil

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

slenix/veil
===========

Authentication scaffolding for the Slenix Framework

v1.4.0(1mo ago)640MITCSSPHP &gt;=8.1

Since Apr 28Pushed 1mo agoCompare

[ Source](https://github.com/claudiovictors/Veil)[ Packagist](https://packagist.org/packages/slenix/veil)[ RSS](/packages/slenix-veil/feed)WikiDiscussions main Synced 3w ago

READMEChangelogDependenciesVersions (9)Used By (0)

Slenix Veil

[](#slenix-veil)

[![Veil Logo](src/Stubs/public/logo.png)](src/Stubs/public/logo.png)

[![PHP Version](https://camo.githubusercontent.com/83dd395020c37276225039739320f6c8e7e99963ab21ee3d09282cb48dad2a60/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e312532422d626c7565)](#)[![Version](https://camo.githubusercontent.com/3ed2fcf5bdceadd7eef992e9ee0471f04fc8059381fd36f64203bc101390dcb5/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f56657273696f6e2d312e302d677265656e)](#)[![Slenix Version](https://camo.githubusercontent.com/9aae77d56c3ce093f8e8aaff3f5848e03be63049ff16c34a92fbc8a7f7c245d0/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f536c656e69782d322e352532422d707572706c65)](#)[![License](https://camo.githubusercontent.com/df9ef5ebbc360b212bf361fcc971ca3855b214c20dd7aad432691210fac99575/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f4c6963656e73652d4d49542d6f72616e6765)](#)

---

About Veil
----------

[](#about-veil)

Veil is the official authentication scaffolding package for the Slenix Framework. Inspired by Laravel Breeze, it gives you a clean and minimal auth starter in seconds.

Veil is a **code generator** — it copies controllers, middlewares, views and migrations directly into your project, giving you full ownership of the generated code from day one.

What Veil provides out of the box:

- Login and Register pages
- AuthMiddleware and GuestMiddleware
- Users migration
- Beautiful Luna views with minimal CSS
- Auth routes auto-appended to `routes/web.php`
- Zero runtime overhead — install and forget

---

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

[](#installation)

Install the package via Composer:

```
composer require slenix/veil
```

Then run the installer via the Celestial CLI:

```
php celestial veil:install
```

To overwrite already published files:

```
php celestial veil:install --force
```

---

What gets generated
-------------------

[](#what-gets-generated)

After running `veil:install`, the following files are added to your project:

```
app/
├── Controllers/
│   └── AuthController.php
└── Middlewares/
    ├── AuthMiddleware.php
    └── GuestMiddleware.php

views/
└── auth/
    ├── layout.luna.php
    ├── login.luna.php
    ├── register.luna.php
    └── dashboard.luna.php

database/
└── migrations/
    └── xxxx_xx_xx_xxxxxx_create_users_table.php

routes/
└── web.php  ← auth routes appended automatically

```

---

After install
-------------

[](#after-install)

Run the migration to create the users table:

```
php celestial migrate
```

Then visit `/login` or `/register` in your browser.

---

How it works
------------

[](#how-it-works)

Veil is purely a scaffolding tool. When you run `veil:install`:

1. Stubs are **copied** into your project as real `.php` files
2. Routes are **appended** to `routes/web.php`
3. The package itself is **no longer needed at runtime**

This means Veil has zero runtime overhead — it is a dev-time tool, just like Laravel Breeze.

---

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

[](#requirements)

DependencyVersionPHP&gt;= 8.1Slenix&gt;= 2.5---

Roadmap
-------

[](#roadmap)

- Login / Register / Logout scaffolding
- AuthMiddleware and GuestMiddleware
- Beautiful Luna views
- Users migration
- Full auth() integration (Slenix 2.6)
- Password reset flow
- Email verification

---

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

If you discover a security vulnerability within Veil, please report it responsibly by opening a private issue or contacting the maintainers.

All security vulnerabilities will be handled promptly.

---

License
-------

[](#license)

Veil is open-source software licensed under the **MIT License**.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance94

Actively maintained with recent releases

Popularity16

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

Recently: every ~14 days

Total

8

Last Release

31d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5f3c763b9bf688267c55b17c14b46b943b299dcf36e1516c445e7740114ecc3d?d=identicon)[claudiovictors](/maintainers/claudiovictors)

---

Top Contributors

[![claudiovictors](https://avatars.githubusercontent.com/u/157994325?v=4)](https://github.com/claudiovictors "claudiovictors (9 commits)")

### Embed Badge

![Health badge](/badges/slenix-veil/health.svg)

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

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)[firemultimedia/mautic-multi-captcha-bundle

This plugin brings Google's reCAPTCHA, hCaptcha, and Cloudflare Turnstile integration to mautic.

141.3k](/packages/firemultimedia-mautic-multi-captcha-bundle)

PHPackages © 2026

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