https://github.com/gharib110/larago
Like Laravel for PHP
https://github.com/gharib110/larago
go-laravel go-module golang-module golang-tools laravel
Last synced: about 1 year ago
JSON representation
Like Laravel for PHP
- Host: GitHub
- URL: https://github.com/gharib110/larago
- Owner: Gharib110
- License: gpl-3.0
- Created: 2025-01-27T18:44:49.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-16T10:51:45.000Z (over 1 year ago)
- Last Synced: 2025-03-16T11:31:17.795Z (over 1 year ago)
- Topics: go-laravel, go-module, golang-module, golang-tools, laravel
- Language: Go
- Homepage:
- Size: 338 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# LaraGo
Like Laravel for PHP
LaraGo is a Go-based framework inspired by Laravel, offering a structured approach to web application development. It includes features like routing, middleware, dependency injection, and more.
This repository consists of two main components:
1. **Lara Module** – The core framework providing Laravel-like functionalities in Go.
2. **test-app** – A sample project that demonstrates how to use the Lara module.
## Features
### 1. Routing System
LaraGo includes a powerful and flexible routing system similar to Laravel's. It allows developers to define routes for handling HTTP requests efficiently.
### 2. Middleware Support
Middleware enables request processing before they reach the controller logic, allowing functionalities such as authentication, logging, and data transformation.
---
## **Filesystem Support**
LaraGo supports multiple storage backends, making it easier to handle file operations across different environments. Supported filesystems include:
- **Local Filesystem** – Allows reading from and writing to files on the server using Go's built-in filesystem operations.
- **Amazon S3** – Enables cloud storage capabilities via the AWS SDK for Go, supporting scalable file storage.
- **WebDAV** – Provides integration with WebDAV-based storage services, allowing remote file management.
- **FTP** – Supports file uploads and downloads over FTP, making it compatible with traditional hosting environments.
Developers can extend LaraGo to integrate additional storage options as needed.
---
## **Mailing Support**
LaraGo allows sending emails through different mail transport protocols. The framework does not include built-in mailing services but supports:
- **SMTP** – Sending emails via standard mail servers using Go's `net/smtp` package.
- **Gomail** – A more feature-rich third-party library for email handling, supporting attachments and HTML email formats.
Developers can easily integrate mailing functionalities into their applications by configuring SMTP servers or third-party email APIs.
---
## **Installation**
To install and use LaraGo, developers can retrieve the package via Go modules.
---
## **Running the Example Application**
The provided test application demonstrates how to use the Lara module. Running the application launches a web server and showcases the core functionalities.
---
## **Contributing**
Contributions are welcome! Developers can contribute by submitting pull requests, reporting issues, or suggesting improvements.
---
## **License**
LaraGo is released under the [GNU General Public License v3.0](LICENSE)
---