Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

mspace's avatar

Upload laravel project to github

I want to upload my laravel project to my github repo. I'm currently using laragon as my local host. How can i do this?

0 likes
6 replies
Fajar's avatar

@thedesignlog

  1. create account on github
  2. create new repositori
  3. access youre project example using linux "cd Code/Youre_Project_here" using window "cd c:\xampp\htdocs\Youre_project_here"
  4. type here git init
  5. git remote add origin https://github.com/username/coba.git
  6. git config --global user.name "username_on_github" 7.git config --global user.email "youre_email_on_github" 8.git add .
  7. git commit -m "first commit"
  8. git push -u origin master
note :
for run commang git 
using bing run aplikasi git bash

hope this helps you

1 like
ehsanUmar's avatar

just you need to do this -> 1-Create a repository in your GitHub 2-Open your project and in the terminal cd your project 3-in the terminal write this (git init) 4-git add . 5-git commit -m "Your Comment " 6-git status 7-git remote add origin YourURL repository.git 8-git push -u origin master Change your branch to the master that's all

1 like

Please or to participate in this conversation.