Skip to content

zibu9/customLogin

Repository files navigation

Laravel Logo

Custom Login with Laravel

This repository demonstrates a simple custom login system built with Laravel, offering flexibility without relying on external packages like Breeze or Fortify.

Getting Started

Step 1: Clone the Repository

Clone this repository to your local machine using the following command:

git clone https://github.com/zibu9/customLogin.git

Step 2: Navigate to the Project Directory

Clone this repository to your local machine using the following command:

cd customLogin

Step 3: Copy Environment Configuration

Copy the env.example file to create a new .env file:

cp .env.example .env

Step 4: Generate Application Key

Generate the application key with the following command:

php artisan key:generate

Step 5: Set up the Database

Create a SQLite database for the project:

touch database/database.sqlite

If you are using a different database, update your .env file accordingly.

Step 6: Run Migrations

Run the migrations to create the necessary database tables:

php artisan migrate

Step 7: Start the Development Server

Start the Laravel development server:

php artisan serve

Visit http://localhost:8000 in your browser to access the custom login application.