PHPackages                             salt/core - 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. salt/core

ActiveLibrary[Framework](/categories/framework)

salt/core
=========

This package houses the core logic, templates and components used by Salt web applications

1.1.4(3y ago)07.8k[3 PRs](https://github.com/salthq/salt-core/pulls)MITPHPPHP ^8.1

Since Feb 9Pushed 2y ago3 watchersCompare

[ Source](https://github.com/salthq/salt-core)[ Packagist](https://packagist.org/packages/salt/core)[ Docs](https://github.com/salt/core)[ GitHub Sponsors](https://github.com/salt)[ RSS](/packages/salt-core/feed)WikiDiscussions main Synced 1mo ago

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

[![Latest Version on Packagist](https://camo.githubusercontent.com/713aaf977c205e57bb8ba58584443d09bf8836d1171ba92b81bf46f81bd6ddc5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f73616c742f636f72652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/salt/core)[![GitHub Tests Action Status](https://camo.githubusercontent.com/4753c6751c91a9a61e06d9cfe6656cd9271fc7f331458800202f98ec08fea582/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f70616e676f2d73747564696f2f73616c742d636f72652f72756e2d74657374733f6c6162656c3d7465737473)](https://github.com/pango-studio/salt-core/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/d781057d850c314aafacec51821efe2297a7ad197459df377b87601849d4861e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f70616e676f2d73747564696f2f73616c742d636f72652f436865636b253230262532306669782532307374796c696e673f6c6162656c3d636f64652532307374796c65)](https://github.com/pango-studio/salt-core/actions?query=workflow%3A%22Check+%26+fix+styling%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/d4418f91a9a5b0b9a7f5e994d93f491c2d96061ba84a9c5e7aaa43666c7ade06/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f73616c742f636f72652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/salt/core)

[Netlify - Package Documentation Home](https://salt-core-package.netlify.app/)

This package houses core logic, templates and components used by Laravel applications built by the Salt team.

It has the following features:

- [Custom collection traits](https://salt-core-package.netlify.app/guide/collection-traits.html)
- [A Mandrill mail sender service](https://salt-core-package.netlify.app/guide/mail.html)
- [A dynamic menu builder](https://salt-core-package.netlify.app/guide/menu-builder.html)
- [Permissions and roles](https://salt-core-package.netlify.app/guide/permissions-roles.html)
- [Settings](https://salt-core-package.netlify.app/guide/settings.html)

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

[](#installation)

You can install the package via composer:

```
composer require salt/core
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="core-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="core-config"
```

This is the contents of the published config file:

```
use App\Options\RoleOptions;
use App\Options\PermissionOptions;

return [
    'mail' => array(
        'mandrill' => array(
            'key' => env('MANDRILL_KEY', ''),
            'template' => env('MANDRILL_TEMPLATE', '')
        )
    ),
    'permissions' => PermissionOptions::$permissionsArray,
    'roles' => RoleOptions::$rolesArray,
    'url' => env('APP_URL', ''),
    'user' => \App\Models\User::class
];
```

Documentation
-------------

[](#documentation)

[View the documentation for this package here](https://salt-core-package.netlify.app/)

Testing
-------

[](#testing)

```
composer test
```

Releasing a new version
-----------------------

[](#releasing-a-new-version)

To release a new version, first create a tag on the `main` branch with the new version number. E.g "1.0.1":

```
git tag -a 1.0.1 -m "Release version 1.0.1"

```

Then push that tag up to GitHub:

```
git push origin 1.0.1

```

A new version will automatically be created on packagist which will then be available for installation.

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](.github/CONTRIBUTING.md) for details.

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

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Salt](https://github.com/salt)
- [All Contributors](../../contributors)

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Recently: every ~32 days

Total

22

Last Release

1124d ago

Major Versions

0.0.9 → 1.0.02022-07-06

0.1.0 → 1.1.22023-01-09

PHP version history (2 changes)0.0.1PHP ^8.0

1.0.3PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![JasonTame](https://avatars.githubusercontent.com/u/15672948?v=4)](https://github.com/JasonTame "JasonTame (28 commits)")[![lukesiedle](https://avatars.githubusercontent.com/u/1730288?v=4)](https://github.com/lukesiedle "lukesiedle (18 commits)")[![cwbmuller](https://avatars.githubusercontent.com/u/1436311?v=4)](https://github.com/cwbmuller "cwbmuller (14 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (11 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (11 commits)")[![JonathanAspeling](https://avatars.githubusercontent.com/u/42679894?v=4)](https://github.com/JonathanAspeling "JonathanAspeling (3 commits)")[![paulschoeman](https://avatars.githubusercontent.com/u/10022618?v=4)](https://github.com/paulschoeman "paulschoeman (2 commits)")

---

Tags

laravelcoresalt

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/salt-core/health.svg)

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

###  Alternatives

[lunarstorm/laravel-ddd

A Laravel toolkit for Domain Driven Design patterns

17959.0k](/packages/lunarstorm-laravel-ddd)[bezhansalleh/filament-plugin-essentials

A collection of essential traits that streamline Filament plugin development by taking care of the boilerplate, so you can focus on shipping real features faster

27584.7k16](/packages/bezhansalleh-filament-plugin-essentials)[jonpurvis/squeaky

A Laravel Validation Rule to Help Catch Profanity.

706.0k](/packages/jonpurvis-squeaky)

PHPackages © 2026

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