Skip to content

My own Laravel Starter Kit, uses Laravel 11 and Bootstrap 5. It fits into who doesn't use tailwind from laravel breeze. Feel free if you want to contribute by sending pull request in this repository.

Notifications You must be signed in to change notification settings

ucencode/laravel-basic-starter-kit

Repository files navigation

Laravel Basic Starter Kit

>> For non-Docker user

Requirement

  • PHP 8.2 with composer
  • Any database (recommended : PostgreSQL or MySQL)

1. Clone this Repository

First, clone this repository to your local machine and navigate into the project directory.

git clone https://github.com/ucencode/laravel-basic-starter-kit.git
cd ./laravel-basic-starter-kit

2. Copy the .env

cp .env.example .env

3. DB Configuration

Set up your database configuration in the .env file.

4. Install Composer Dependencies

composer install

5. Generate App Key

php artisan key:generate

6. Run Migrations

php artisan migrate

7. Run the Development Server

php artisan serve

You can now access the server at http://localhost:8000

>> For developer using Docker

1. Clone the Repository

First, clone this repository to your local machine and navigate into the project directory.

git clone https://github.com/ucencode/laravel-basic-starter-kit.git
cd ./laravel-basic-starter-kit

2. Set Up Environment Variables

Create a new .env file by copying the example file.

cp .env.example .env

3. Set Up Permissions

If you are using Linux or MacOS. Set up the correct permissions for the project.

chmod -R 777 /var/www/storage /var/www/bootstrap/cache

4. Build the Docker Containers

Run the following command to install PHP dependencies.

docker-compose up -d

About

My own Laravel Starter Kit, uses Laravel 11 and Bootstrap 5. It fits into who doesn't use tailwind from laravel breeze. Feel free if you want to contribute by sending pull request in this repository.

Topics

Resources

Stars

Watchers

Forks