Skip to content

Core

Core provides stable building blocks shared by Artisan Toolbox packages. Applications normally receive it as a transitive dependency, but it can also be installed directly when its public components are needed.

  • PHP 8.5 or later
  • Laravel 13 components
Terminal window
composer require artisan-toolbox/core

Publish all package resources:

Terminal window
php artisan vendor:publish --tag="core"

Individual publish tags are available for configuration, migrations, views, translations, and public assets:

Terminal window
php artisan vendor:publish --tag="core-config"
php artisan vendor:publish --tag="core-migrations"
php artisan vendor:publish --tag="core-views"
php artisan vendor:publish --tag="core-lang"
php artisan vendor:publish --tag="core-assets"

Run migrations after publishing them:

Terminal window
php artisan migrate