saalikmubeen / goravel

PHP's Laravel like web framework supercharged with Go
MIT License
61 stars 0 forks source link
badgerdb golang golang-migrate mysql postgresql redis-cache

Goravel

Goravel

Release

PHP's Laravel like web framework supercharged with Go.

Features overview

Why Goravel?

Installation

  1. Install Goravel CLI tool:
go install github.com/saalikmubeen/goravel/cmd/goravel@v1.6.0
  1. Make sure to add $GOPATH/bin to your $PATH so that you can run the Goravel CLI tool from anywhere. If you don't have it, you can add it to your ~/.bashrc or ~/.bash_profile or ~/.zshrc file:
export GOPATH="$HOME/go"
export PATH=$PATH:$GOPATH/bin
  1. Create a new Goravel project:
goravel new myapp
  1. Change directory to your project:
cd myapp
  1. Install the dependencies (just in case):
go mod tidy
  1. Run the server:
go run ./*.go
  1. Visit http://localhost:4000 in your browser to see the welcome page.

Goravel

Example Usage

Check out the Goravel Demo App to see how to use Goravel to build an application with user authentication, cache management, sending JSON and XML responses, email sending, password reset, remember me functionality using cookies, API routes, and much more. It will help you to get started with Goravel quickly.

Goravel Command Line Tool

Goravel comes with a command line tool that makes your life easier with Goravel. You can use the Goravel CLI tool to create a new Goravel project, generate handlers, models, migrations, run migrations, start the server, and much more.

Here are some of the commands that you can use with the Goravel CLI tool:

License

Goravel is open-source software licensed under the MIT license.