salt/core

This package houses the core logic, templates and components used by Salt web applications
7,844
Install
composer require salt/core
Latest Version:1.1.4
PHP:^8.1
Laravel:10 – 13
Older releases:8
License:MIT
Last Updated:Oct 9, 2023
Links: GitHub  ·  Packagist
Maintainer: cwbmuller

Latest Version on Packagist GitHub Tests Action Status GitHub Code Style Action Status Total Downloads

Netlify - Package Documentation Home

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

It has the following features:

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

View the documentation for this package here

Testing

composer test

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

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING for details.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

Related Packages

arx/core

Core packages for your Laravel extended project

525 0
oval/laravel-bootstrap

Core files including helpers for Laravel

5,509 0
cloudteam/core

Cloudteam Core

1,799 0
wi-development/core

wi core packaage

58 0
ldynia/core

Core lib for any Laravel project -the aim is to facilitate development of common...

20 0

Version History

Version Released PHP Laravel License
1.1.4 ^8.1 MIT
1.1.3 ^8.0 MIT
1.1.2 ^8.0 MIT
1.1.1 ^8.0 MIT
1.1.0 ^8.1 MIT