Skip to content

Kamleshpaul/laravel-caddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

laravel-caddy

This is a caddy template for laravel

NOTE : There is better way to host caddy with laravel read here : https://codingtricks.co/boost-laravel-performance-running-octane-with-frankenphp-in-production?utm=github

Prerequisites

  • Caddy v2

How install caddy

https://caddyserver.com/docs/install

Deployment

Step 1 : -

cd /etc/caddy/

Step 2 : -

git clone https://github.com/Kamleshpaul/laravel-caddy.git

Step 3 : -

edit Caddyfile based on the example Caddyfile


Usage

import snippets/*

# Use the "laravel-app" snippet for our site:
import laravel-app exmaple.com /var/www/html/laravel-app

NOTE : - Edit you php version here which you want to use and install in you OS