This package houses the core logic, templates and components used by Salt web applications
salt/core is a Laravel package for this package houses the core logic, templates and components used by salt web applications.
It currently has 0 GitHub stars and 7.844 downloads on Packagist (latest version 1.1.4).
Install it with composer require salt/core.
Discover more Laravel packages by salt
or browse all Laravel packages to compare alternatives.
Last updated
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:
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
];
View the documentation for this package here
composer test
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.
Please see CHANGELOG for more information on what has changed recently.
Please see CONTRIBUTING for details.
Please review our security policy on how to report security vulnerabilities.