Skip to content

13.8.0

Latest

Choose a tag to compare

@takielias takielias released this 05 Sep 07:27
27aa8ad

The installer can export the auth scaffolding for you, so a manual install is one command shorter.

Added

  • php artisan tablar:install --with-auth exports the auth scaffolding as part of the install, so you no longer need a separate tablar:export-auth step. The flag is opt-in and a plain install behaves exactly as before, which matters if you already use Breeze, Fortify or Jetstream, or if you do not want Tablar's auth views and routes. With the flag the installer publishes the migrations too, so the next thing it tells you to run is php artisan migrate.
composer require takielias/tablar
php artisan tablar:install --with-auth
php artisan migrate
npm install && npm run build

Fixed

  • tablar:export-auth appended the auth route include and the /home route to routes/web.php every time it ran, so running it twice left a duplicate pair in the file. Nothing broke, Laravel keeps the last definition of a named route, but the file grew on each run. The include is now added only when it is not already there, which is also what makes tablar:install --with-auth safe to run again.

Requires PHP 8.3+, Laravel 12 or 13, Node 20.19+.

composer update takielias/tablar