Fractal
REST Layer
Our great sponsors
Fractal | REST Layer | |
---|---|---|
4 | 1 | |
3,511 | 1,246 | |
0.3% | - | |
0.0 | 0.0 | |
about 1 month ago | over 2 years ago | |
PHP | Go | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Fractal
-
Coming from PHP, looking for Go equivalent of PHPLeague's Fractal
So, I've been developing in PHP for quite some time and have recently made my transition to Go. I'm trying to figure out if there's a way to get similar feature sets of https://fractal.thephpleague.com.
-
Best way of removing data from api response.
I have had luck utilizing Fractal Basically it is what you are asking for, you create a rule and transform the data
- Aprende eloquent con ejemplos!!! - Lección 3: Modelos, Tinker y Base de datos heredadas
-
Why PHP is a fantastic language to program in
BTW if more of us started implementing at least some of the json:api standard things would go a lot better. Fractal works well with this resource-centric thinking, as does the repository pattern.
REST Layer
-
Coming from PHP, looking for Go equivalent of PHPLeague's Fractal
Sounds like you might be looking for this thing I just found: https://github.com/rs/rest-layer
What are some alternatives?
Serializer - Library for (de-)serializing data of any complexity (supports JSON, and XML)
Iris - The fastest HTTP/2 Go Web Framework. New, modern and easy to learn. Fast development with Code you control. Unbeatable cost-performance ratio :rocket:
YaLinqo - Yet Another LINQ to Objects for PHP [Simplified BSD]
goa - 🌟 Goa: Elevate Go API development! 🚀 Streamlined design, automatic code generation, and seamless HTTP/gRPC support. ✨
PHP Collections - General Purpose Collection Library for PHP
Beego - beego is an open-source, high-performance web framework for the Go programming language.
JsonMapper - Map nested JSON structures onto PHP classes
go-kit - A standard library for microservices.
Collections
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Zend Serializer
go-server-timing - Go (golang) library for creating and consuming HTTP Server-Timing headers