PHPackages                             amitavdevzone/foundation - 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. amitavdevzone/foundation

ActiveLibrary

amitavdevzone/foundation
========================

The foundation package for Inferno

0.0.5(9y ago)2271[1 issues](https://github.com/amitavdevzone/foundation/issues)MITCSS

Since Mar 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/amitavdevzone/foundation)[ Packagist](https://packagist.org/packages/amitavdevzone/foundation)[ RSS](/packages/amitavdevzone-foundation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (6)Versions (6)Used By (0)

Inferno
=======

[](#inferno)

This is a Laravel admin package built using AdminLTE theme and VueJs components. The basic idea for this package is to get going with a ready made admin theme and concentrate of the idea on which you want to work on and leave all the boilerplate code to this package.

Features
--------

[](#features)

1. User login
2. Forgot password (uses Laravel mail to sendout emails)
3. Watchdog

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

[](#requirements)

1. Laravel Passport
2. Spatie Laravel Permission

The application uses Vue components for many of the widgets in the app. And many of them needs the Laravel passport package installed and setup so that the package can consume apis. For more details on how to install Laravel Passport, you can refer to the docs:

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

[](#installation)

The first step is to install this package using composer require and you need to run the below command:

```
composer require amitavdevzone/foundation

```

Once done, you will need to add the ServiceProvider to the app.php file inside your config folder

```
Inferno\Foundation\FoundationServiceProvider::class
```

Once, done you will need to run the publish command. Inferno has a lot of things to publish like the migrations, seeders, assets for themes, views etc. Plus we would also need to get some of the migrations from Spatie Laravel Permission.

```
php artisan vendor:publish --provider="Inferno\Foundation\FoundationServiceProvider" --force
php artisan vendor:publish --provider="Spatie\Permission\PermissionServiceProvider" --tag="migrations"
```

Once this is done, you will need to make a few additions to your user model like

Additions to User model
-----------------------

[](#additions-to-user-model)

1. You need to add the Presentable trait to the User model. We will be using the Presenter package from Laracasts and so this setting is important.
2. You need to add the HasRoles trait which comes with Spatie Permission package
3. You need to add the HasApiTokens trait from Laravel Passport for ApiTokens
4. You will need to add the profile relation with the user

Add the following code to your User model inside your app directory

```
use Notifiable, PresentableTrait, HasRoles, HasApiTokens;

protected $presenter = UserPresenter::class;

protected $fillable = [
    'name', 'email', 'password', 'active'
];

public function profile()
{
    return $this->hasOne('Inferno\Foundation\Models\Profile');
}

public function token()
{
    return $this->hasMany('Inferno\Foundation\Models\\Token');
}
```

And make sure you have an additional $fillable property 'active' which we are using to detect whether the user is active or not.

You need to also add:

```
    Passport::routes();
```

to the AuthServiceProvider as per the Passport installation process and you need to add the middleware to web section of the middleware groups so that the ApiToken is created for each request to any api route as per Passport installation.

```
    \Laravel\Passport\Http\Middleware\CreateFreshApiToken::class,
```

Then, as part of the Passport installation, we need to tell Laravel that we are going to use passport for authentication so inside config/auth.php we need to change the guards =&gt; api driver to **passport**.

And then, we need to run two commands:

```
php artisan migrate
php artisan passport:install
php artisan inferno:install
```

Once these steps are done, you can run the migrations and run the seeders to get started with your Inferno app and start coding for your next big idea.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity57

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

Total

5

Last Release

3314d ago

### Community

Maintainers

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

---

Top Contributors

[![amitavroy](https://avatars.githubusercontent.com/u/1438890?v=4)](https://github.com/amitavroy "amitavroy (46 commits)")

---

Tags

infernolaravel-5-packagevuejs2

### Embed Badge

![Health badge](/badges/amitavdevzone-foundation/health.svg)

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

###  Alternatives

[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[althinect/filament-spatie-roles-permissions

340954.7k9](/packages/althinect-filament-spatie-roles-permissions)[typicms/base

A modular multilingual CMS built with Laravel, enabling developers to manage structured content like pages, news, events, and more.

1.6k20.3k](/packages/typicms-base)

PHPackages © 2026

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