Skip to content

rogervila/laravel-legacy-ui

 
 

Repository files navigation

Legacy UI Presets with Auth scaffolding for Laravel 8 & 9

Total Downloads Latest Stable Version License

Introduction

This project brings old Auth scaffolding to Laravel 8 & 9 for projects that cannot migrate to Jetstream

NOTE: Laravel released laravel/breeze, a new scaffolding package that could fit on projects that cannot migrate to Jetstram. I recommend trying it before using this fork.

While Laravel does not dictate which JavaScript or CSS pre-processors you use, it does provide a basic starting point using Bootstrap, React, and / or Vue that will be helpful for many applications. By default, Laravel uses NPM to install both of these frontend packages.

We are not accepting new presets.

Official Documentation

While Laravel does not dictate which JavaScript or CSS pre-processors you use, it does provide a basic starting point using Bootstrap, React, and / or Vue that will be helpful for many applications. By default, Laravel uses NPM to install both of these frontend packages.

The Bootstrap and Vue scaffolding provided by Laravel is located in the rogervila/laravel-legacy-ui Composer package, which may be installed using Composer:

composer require rogervila/laravel-legacy-ui

Once the rogervila/laravel-legacy-ui package has been installed, you may install the frontend scaffolding using the ui Artisan command:

// Generate basic scaffolding...
php artisan ui bootstrap
php artisan ui vue
php artisan ui react

// Generate login / registration scaffolding...
php artisan ui bootstrap --auth
php artisan ui vue --auth
php artisan ui react --auth

Bootstrap scaffolding requires a modification for webpack.mix.js file:

mix.js('resources/js/app.js', 'public/js')
    .sass('resources/sass/app.scss', 'public/css');

The rest of documentation can be found on the Laravel website.

Contributing

Thank you for considering contributing to UI! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

License

Laravel UI is open-sourced software licensed under the MIT license.

About

laravel/ui with auth scaffolding for Laravel 8 & 9

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 94.1%
  • JavaScript 4.7%
  • Vue 1.2%