twill
goa
twill | goa | |
---|---|---|
10 | 41 | |
3,563 | 5,469 | |
0.5% | 0.6% | |
9.2 | 9.3 | |
5 days ago | 3 days ago | |
PHP | Go | |
Apache License 2.0 | 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.
twill
-
Pocketbase alternative made with php
Since you're asking for PHP, it sounds like you want a framework to build your site with, and to manage content. There's Twill based on Laravel, or Ghost and Wordpress if you want tools in that space.
-
Go with PHP
PHP has a lot of top tier CMSes. IMHO bunch of them are even better than Statamic. Craft CMS (https://craftcms.com/) is a lot more mature database based CMS. Kirby (https://getkirby.com/) is better at flat-file and has a lot better admin interface. Twill (https://twillcms.com/) is better integrated in Laravel and is fully open-source. Statamic mostly feels like it's sitting besides Laravel and they call themselves Laravel based for marketing.
-
Workplaces for digital nomads: the API
I've worked with Twill before, so I decided to use it for my project: an open, free system with rich features and good support. Why not? :-)
-
Any suggestions for a "client-oriented" CMS? More info into the post.
Twill is a great one for content focused admins.
-
What technologies for these requirements?
PHP Headless Or you go with a Headless PHP CMS. Some options for that are Bolt CMS, Suru, Twill and ExpressionEngine. A Headless CMS doesn't have any frontend. It can provide you with a REST API or you create it in their template engine and integrate your JS stuff there. There are so many, i can't count them all. You can also search for Cockpit and Strapi.
-
Strapi-like Laravel CMS?
Perhaps Twill comes close. It supports running it as a headless CMS. However, I am not so sure whether RESTful API's are provided out of the box. But it seems like the Twill (PHP) API allows you to relatively easy create the required REST API's.
-
CMS recommendations
I'm building something similar. Intranet/wiki site first and then later going to build the marketing site on top of it. Using Twill: https://twill.io/
-
To API or not to API... Svelte and InertiaJS (Laravel / PHP)
So currently I set the goal for myself to learn inertia via https://laracasts.com/series/build-modern-laravel-apps-using-inertia-js and also maybe connect it to twill cms.
- I'm looking for a decent CMS package that can integrate into an existing application.
-
Best Laravel Vue Projects GitHub
Twill
goa
-
IBM to Acquire HashiCorp, Inc
My experience of Golang is that dependency injection doesn't really have much benefit. It felt like a square peg in a round hole exercise when my team considered it. The team was almost exclusively Java/Typescript Devs so it was something that we thought we needed but I don't believe we actually missed once we decided to not pursue it.
If you are looking at OpenAPI in Golang I can recommend having a look at https://goa.design/. It's a DSL that generates OpenAPI specs and provides an implementation of the endpoints described. Can also generate gRPC from the same definitions.
We found this removed the need to write almost all of the API layer and a lot of the associated validation. We found the generated code including the server element to be production ready from the get go.
-
Microservices communication
See https://goa.design/. It automates all the comms stuff, so you just write: 1) a design file showing your functions, 2) an implantation of those functions, and 3) a very generic "main.go" (basically the same for all your services) that decides "how is this exposed over gRPC or REST or other comms?". The rest of the code is generated.
-
Create Production-Ready SDKs with Goa
Perhaps the easiest way to find out how to do something (especially when using Meta) is to search the test cases when you have cloned the source code.
-
Which is the best framework to create web apps with go?
If you really need a framework, you can take a look at Echo or, for a contract-first approach, https://goa.design/
-
OpenAPI v4 Proposal
Few folks in here are (rightly) frustrated with the code generation story and broader tooling support around the OpenAPI standard. I've found a few alternative approaches quite nice to work with:
- Use a DSL to describe your service and have it spit out the OpenAPI spec as well as server stubs. In other words, I wouldn't bother writing OpenAPI directly - it's an artifact that is generated at build time. As a Go user, I quite like Goa (https://goa.design/) but there are others shared in here like TypeSpec.
- There are situations where sticking a backend-for-frontend (BFF) in front of APIs can yield great productivity boosts. For example, in the past we built a thin GraphQL proxy that calls out to a poorly structured REST API. Integrating with that was much more convenient. Most recently, I've been playing with a BFF built with tRPC (https://trpc.io/) which calls out to a REST API. It seemed to provide an even better experience if you use TypeScript on the front-end and in the BFF. It does not have a codegen step and I was really pleased with how fast I could iterate with it - granted it was a toy project.
-
Beginner-friendly API made with Go following hexagonal architecture.
One of the biggest issues I see is that you are using the same models for API as you are for the database. That wouldn’t fly in a real work system. And even though your doing simple CRUD I would introduce another layer for business logic. You should never have the Controller calling you database code directly. It never “stays” that simplistic. One of the easiest ways to deal with this is to use Goa. https://goa.design/ It takes care of generating your API models and it creates the Interfaces to implement for your business logic. Furthermore it creates OpenAPI documentation (something missing in this design that is a must for commercial development).
-
Go with PHP
I left PHP for Go.
- with http://sqlc.dev I don't have to write ORM or model code anymore.
- with http://goa.design I can have well-documented API's that any team can generate a client for in any language. It also generates the HTTP JSON and gRPC servers for me so I can focus on my logic.
- with https://github.com/99designs/gqlgen I can define GraphQL revolvers that play well with sqlc (any RDBMS) or I can use a key-value store.
- speaking of key-value stores, Go allows them to be embedded! Even SQLite now has the https://litestream.io/ project to make it super simple to use a durable, always backed-up SQLite database even in a serverless context.
Go is faster, uses less memory, and has really-well designed stdlib without all the bugs I used to face trying to use the PHP stdlib.
-
Do you really need microservices?
Goa and Kong are some of the best frameworks to develop and deploy microservices. They provide features such as out-of-the-box support for service discovery, routing and authentication that make it easier to build more complex applications. There are also newer architectural frameworks with less steep learning curves like GPTDeploy that lets you build and deploy microservices with a single command.
-
Dumb question about APIs, Mux and Go
Or the one we use at work: https://goa.design/ Goa does a lot more and maybe more than you need. We use it as it can generate both REST and gRPC as well as API models and OpenAPI documentation (JSON and YAML).
- Why is gin so popular?
What are some alternatives?
sharp - Laravel 10+ Content management framework
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.
laravel-vue-crud-starter - Laravel 8 + Vue 2 + AdminLTE 3 based Crud Starter template
go-kit - A standard library for microservices.
inertia - Inertia.js lets you quickly build modern single-page React, Vue and Svelte apps using classic server-side routing and controllers.
GoSwagger - Swagger 2.0 implementation for go
Symfony - The Symfony PHP framework
oapi-codegen - Generate Go client and server boilerplate from OpenAPI 3 specifications
Laravel-Vue-First-CRUD - Simple demo project for Laravel 5.5 and Vue.js with one CRUD operation.
Echo - High performance, minimalist Go web framework
laravel-vue-spa - A Laravel-Vue SPA starter kit.
gqlgen - go generate based graphql server library