mirror of
https://github.com/goravel/goravel.git
synced 2025-09-27 04:56:24 +08:00
Update README
This commit is contained in:
17
README.md
17
README.md
@@ -1,15 +1,12 @@
|
|||||||
<p align="center"><img src="https://user-images.githubusercontent.com/24771476/210227277-d2bbf608-1535-417a-98f0-a1103b813465.png" width="300"></p>
|
<p align="center"><img src="https://www.goravel.dev/logo.png" width="300"></p>
|
||||||
|
|
||||||
English | [中文](./README_zh.md)
|
English | [中文](./README_zh.md)
|
||||||
|
|
||||||
## About Goravel
|
## About Goravel
|
||||||
|
|
||||||
Goravel is a web application framework with complete functions and good scalability. As a starting scaffolding to help
|
Goravel is a web application framework with complete functions and good scalability. As a starting scaffolding to help Gophper quickly build their own applications.
|
||||||
Golang developers quickly build their own applications.
|
|
||||||
|
|
||||||
The framework style is consistent with [Laravel](https://github.com/laravel/laravel), let PHPer don't need to learn a
|
The framework style is consistent with [Laravel](https://github.com/laravel/laravel), let PHPer don't need to learn a new framework, but also happy to play around Golang! Tribute Laravel!
|
||||||
new framework, but also happy to play
|
|
||||||
around Golang! Tribute Laravel!
|
|
||||||
|
|
||||||
Welcome star, PR and issues!
|
Welcome star, PR and issues!
|
||||||
|
|
||||||
@@ -23,7 +20,7 @@ go run . artisan key:generate
|
|||||||
facades.Route.Get("/", userController.Show)
|
facades.Route.Get("/", userController.Show)
|
||||||
|
|
||||||
// ORM
|
// ORM
|
||||||
facades.Orm.Query().First(&user)
|
facades.Orm.Query().With("Author").First(&user)
|
||||||
|
|
||||||
// Task Scheduling
|
// Task Scheduling
|
||||||
facades.Schedule.Command("send:emails name").EveryMinute()
|
facades.Schedule.Command("send:emails name").EveryMinute()
|
||||||
@@ -78,9 +75,11 @@ Online documentation [https://www.goravel.dev](https://www.goravel.dev)
|
|||||||
|
|
||||||
## Group
|
## Group
|
||||||
|
|
||||||
Welcome more exchanges in Discord.
|
Welcome more discussion in Telegram.
|
||||||
|
|
||||||
[https://discord.gg/cFc5csczzS](https://discord.gg/cFc5csczzS)
|
[https://t.me/goravel](https://t.me/goravel)
|
||||||
|
|
||||||
|
<p align="left"><img src="https://www.goravel.dev/telegram.jpg" width="200"></p>
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
17
README_zh.md
17
README_zh.md
@@ -1,4 +1,4 @@
|
|||||||
<p align="center"><img src="https://user-images.githubusercontent.com/24771476/210227277-d2bbf608-1535-417a-98f0-a1103b813465.png" width="300"></p>
|
<p align="center"><img src="https://www.goravel.dev/logo.png" width="300"></p>
|
||||||
|
|
||||||
[English](./README.md) | 中文
|
[English](./README.md) | 中文
|
||||||
|
|
||||||
@@ -6,8 +6,7 @@
|
|||||||
|
|
||||||
Goravel 是一个功能完备、具有良好扩展能力的 Web 应用程序框架。作为一个起始脚手架帮助 Golang 开发者快速构建自己的应用。
|
Goravel 是一个功能完备、具有良好扩展能力的 Web 应用程序框架。作为一个起始脚手架帮助 Golang 开发者快速构建自己的应用。
|
||||||
|
|
||||||
框架风格与 [Laravel](https://github.com/laravel/laravel) 保持一致,让 PHPer 不用学习新的框架,也可以愉快的玩转 Golang!致敬
|
框架风格与 [Laravel](https://github.com/laravel/laravel) 保持一致,让 PHPer 不用学习新的框架,也可以愉快的玩转 Golang!致敬 Laravel!
|
||||||
Laravel!
|
|
||||||
|
|
||||||
欢迎 Star, PR, Issues!
|
欢迎 Star, PR, Issues!
|
||||||
|
|
||||||
@@ -21,7 +20,7 @@ go run . artisan key:generate
|
|||||||
facades.Route.Get("/", userController.Show)
|
facades.Route.Get("/", userController.Show)
|
||||||
|
|
||||||
// 数据库查询
|
// 数据库查询
|
||||||
facades.Orm.Query().First(&user)
|
facades.Orm.Query().With("Author").First(&user)
|
||||||
|
|
||||||
// 任务调度
|
// 任务调度
|
||||||
facades.Schedule.Command("send:emails name").EveryMinute()
|
facades.Schedule.Command("send:emails name").EveryMinute()
|
||||||
@@ -75,13 +74,13 @@ err := facades.Queue.Job(&jobs.Test{}, []queue.Arg{}).Dispatch()
|
|||||||
|
|
||||||
## 群组
|
## 群组
|
||||||
|
|
||||||
欢迎在 Discord 中更多交流。
|
|
||||||
|
|
||||||
[https://discord.gg/cFc5csczzS](https://discord.gg/cFc5csczzS)
|
|
||||||
|
|
||||||
微信入群,请备注 Goravel
|
微信入群,请备注 Goravel
|
||||||
|
|
||||||

|
<p align="left"><img src="https://www.goravel.dev/wechat.jpg" width="200"></p>
|
||||||
|
|
||||||
|
## 赞赏
|
||||||
|
|
||||||
|
<p align="left"><img src="https://www.goravel.dev/reward.jpg" width="200"></p>
|
||||||
|
|
||||||
## 开源许可
|
## 开源许可
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user