More Premium Hugo Themes Premium Nextjs Themes

Breeze Next

An application / authentication starter kit frontend in Next.js for Laravel Breeze.

Breeze Next

An application / authentication starter kit frontend in Next.js for Laravel Breeze.

Author Avatar Theme by laravel
Github Stars Github Stars: 1663
Last Commit Last Commit: Mar 24, 2025 -
First Commit Created: Dec 18, 2023 -
Breeze Next screenshot

Overview:

The Laravel Breeze - Next.js Edition is an implementation of the Laravel Breeze application/authentication starter kit frontend in Next.js. It provides all the necessary boilerplate code for authentication, powered by Laravel Sanctum. This allows developers to quickly pair their Next.js frontend with a powerful Laravel backend.

Features:

  • Ready-to-use Authentication Boilerplate: All the authentication boilerplate code is already written, allowing developers to skip the repetitive tasks of setting up authentication from scratch.
  • Powered by Laravel Sanctum: The authentication functionality is powered by Laravel Sanctum, providing a secure and reliable authentication solution.
  • Custom useAuth React Hook: The Next.js application includes a custom useAuth React hook that abstracts away all the authentication logic from the pages. It also provides easy access to the currently authenticated user.

Installation:

To install the Laravel Breeze - Next.js Edition, follow these steps:

  1. Install Laravel Breeze into a fresh Laravel application and install Breeze’s API scaffolding.
  2. Set the environment variables APP_URL and FRONTEND_URL to http://localhost:8000 and http://localhost:3000, respectively.
  3. Serve the Laravel application using the serve Artisan command.
  4. Clone the repository and install its dependencies using yarn install or npm install.
  5. Copy the .env.example file to .env.local and provide the URL of your backend.
  6. Run the application via npm run dev. The application will be available at http://localhost:3000.

Summary:

The Laravel Breeze - Next.js Edition provides a seamless integration of Laravel Breeze authentication frontend with Next.js. It comes with all the necessary authentication boilerplate code and is powered by Laravel Sanctum. The installation process is straightforward, and developers can quickly start building their Next.js frontend with a secure and reliable Laravel backend. Overall, this implementation simplifies the authentication process and speeds up the development workflow.