Skip to content

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 ​

bash
composer require redot/core

The 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.

bash
php artisan vendor:publish --tag=redot::config

See 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.

bash
php artisan vendor:publish --tag=redot::stubs

See Scaffolding & Stubs.

Migrations — redot::migrations ​

Copies the package migrations into your app and stamps them with the current time, then run them.

bash
php artisan vendor:publish --tag=redot::migrations
php artisan migrate

Sub-package publish tags ​

The bundled packages share the Redot configuration and publish tags: their settings live in config/redot.php (under datatables and toastify), and their assets are published by php artisan redot:publish. Views and translations load automatically; publish only to override.

  • Datatables — redot::datatables-views, redot::datatables-lang. See Datatables.
  • Toastify, Auth, Sidebar, LangExtractor — nothing extra to publish; they are wired up for you.

Publish everything at once ​

To copy all redot/core resources, or to choose tags interactively:

bash
php artisan vendor:publish --provider="Redot\RedotServiceProvider"
php artisan vendor:publish

Proprietary — for use within the Redot Dashboard. Product site: redot.dev