Installation & Publishing
redot/core is a foundation package for Laravel admin applications. Installing it brings the dashboard, website, authentication, sidebar, toastify, datatables, and language-extractor features online and wires them into your Laravel app.
Requirements
- PHP 8.3+
- Laravel 13+
- Livewire 4.2+
The package pulls in its own runtime dependencies (Sanctum, the Spatie permission package, Intervention Image, the image optimizer, and a phone-number library), so you don't install those separately.
Install via Composer
composer require redot/coreThe package is auto-discovered — there is nothing to register in your app. As soon as it is installed you get its config, routes, migrations, layouts, Artisan commands, and global helpers (such as setting() and hashed_asset()) with no extra setup. See Service Provider for the full list of what it sets up for you.
Publishing resources
Every resource works without publishing — config is merged at runtime, and migrations and stubs are loaded straight from the package. Publish a resource only when you want to override it; your published copy then wins over the packaged default.
Config — redot::config
Copies config/redot.php into your app so you can customize it.
php artisan vendor:publish --tag=redot::configSee Configuration for the keys it exposes (features, locales, routing, settings).
Stubs — redot::stubs
Copies the generator stubs used by the make commands into your app's stubs/ directory. Once published, your edited copies take precedence so scaffolded views use your markup.
php artisan vendor:publish --tag=redot::stubsSee Scaffolding & Stubs.
Migrations — redot::migrations
Copies the package migrations into your app and stamps them with the current time, then run them.
php artisan vendor:publish --tag=redot::migrations
php artisan migrateSub-package publish tags
The bundled packages expose their own tags, all following the package::resource convention. Their config, views, lang, and routes load automatically; publish only to override.
- Datatables —
datatables::config,datatables::views,datatables::lang. See Datatables. - Toastify —
toastify::config. See Toastify. - Auth, Sidebar, LangExtractor — nothing to publish; they are wired up for you.
Publish everything at once
To copy all redot/core resources, or to choose tags interactively:
php artisan vendor:publish --provider="Redot\RedotServiceProvider"
php artisan vendor:publishRelated
- Service Provider — what the package sets up for you.
- Configuration — the
config/redot.phpkeys. - Project Structure — where things go in your app.