magic
API Platform
Our great sponsors
magic | API Platform | |
---|---|---|
142 | 50 | |
951 | 8,277 | |
- | 0.5% | |
9.9 | 8.3 | |
20 days ago | 14 days ago | |
TypeScript | TypeScript | |
GNU General Public License v3.0 only | 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.
magic
-
No more Mr. Open Source Guy
In addition I've got zero contributions to my primary projects. Some guy contributed to Lizzie a couple of years ago, but my primary project has zero contributions. Notice, I happen to know for a fact that there are a whole range of really, really, really rich companies using Magic for instance, some of whom are cashing in millions of dollars in profit every single year.
-
Magic is no longer Open Source
In addition Magic Cloud has now become a real business model, with a quite substantial amount of revenue, through our AI and Low-Code hosting provider. So to avoid having leeches exploiting our work for free without contributing in any ways, it's therefor with heavy heart we announce that all future releases of Magic will be in the form of closed source distributions.
Starting from today Magic's open source GitHub repository will no longer be actively maintained. Due to recent events, we've unfortunately been forced to exclusively continuing maintenance of Magic Cloud as a close source project.
-
The Mechanics of Silicon Valley Pump and Dump Schemes
I have an open source project myself, and I am building an AI and Low-Code/No-Code platform company on top of it. Contrary to SupaBase though, I have spent 4 years creating real value in my platform. The project solves a real problem, it consists of a lot of real innovations, and I’ve spent a lot of time building it.
-
How we Built a 20 Billion Dollar Company in 20 minutes
Warning - This is not going to make any sense for anyone reading this, including me, so I won't try to make any sense of it - I'll let the reader interpret it in whatever way the reader wants to interpret it. However, when you're building an open source platform, such as our Magic Clouc, the first thing investors will ask you about is how many users you have.
-
Celebrating 10 Million Downloads
We've always been an open source company. Our entire platform is open source, and it gives us great pleasure contributing to our community with free software.
When the article was published, it rapidly broke all records, and became the 5th most read article Microsoft had ever published. Today the article is a bit dated, and if you're interested in learning Hyperlambda, you're much better off reading its official documentation.
-
Hyper IDE, using No-Code and Low-Code to Generate Software
Our means to accomplish the above is Magic.
-
Create a Registration API in 15 minutes
/* * Allows the user to verify his or her email address * * Very cool app! */ .arguments token:string username:string /* * Returns the specified [key] configuration setting. * * Notice, to traverse into for instance magic.foo.bar, you'll have to colon separate * your path as follows "magic:foo:bar". */ execute:magic.workflows.actions.execute name:config filename:/misc/workflows/actions/misc/config.hl arguments key:"magic:auth:secret" /* * Joins the specified [values] into a single string. * * Notice, the [separator] is inserted between each string. If no [separator] argument is provided, * the strings will simply be concatenated instead. */ execute:magic.workflows.actions.execute name:strings-join filename:/misc/workflows/actions/strings/strings-join.hl arguments values .:x:@.arguments/*/username .:x:--/execute/=config/*/value separator:, /* * Creates a hash of the specified [input]. * * Use [algorithm] to override the default hashing algorithm used. The default hashing algorithm * is SHA 256. */ execute:magic.workflows.actions.execute name:hash filename:/misc/workflows/actions/misc/hash.hl arguments input:x:--/execute/=strings-join/*/result algorithm:sha256 /* * Executes the specified [action] if the specified [condition] is true. * * Will pass in all arguments specified to the action. The [condition] can be two different * values or expressions, and the [comparison] can be eq, neq, mt, mte, lt, lte, or some other * comparison operator. * * The action will use the [comparison] to compare the [lhs] and [rhs] values/expressions. */ execute:magic.workflows.actions.execute name:execute-action-if filename:/misc/workflows/actions/misc/execute-action-if.hl arguments lhs:x:--/execute/=hash/*/result comparison:neq rhs:x:@.arguments/*/token action:/misc/workflows/actions/misc/error.hl arguments message:Bogus token, go home!! status:400 public:true /* * Associates the specified [username] with the specified [roles] roles. * * Notice, does not remove roles from user, only adds roles. This action will also throw * if you try to associate a user with a role the user is already associated with. */ execute:magic.workflows.actions.execute name:roles-add filename:/modules/registration/workflows/actions/roles-add.hl arguments roles .:guest username:x:@.arguments/*/username // Redirects the client to the specified [url]. execute:magic.workflows.actions.execute name:http-redirect filename:/misc/workflows/actions/http/http-redirect.hl arguments url:"https://ainiro.io"
In the video below I am demonstrating how to use Magic's No-Code and Low-Code features to create it from scratch, in 15 minutes.
API Platform
- Nginx Unit – Universal web app server
-
Shot in the dark
Probably API-platform. The website is down at the moment, but: https://github.com/api-platform/api-platform It's Symfony based (and plays nice in that ecosystem), also allows you to describe entities via Schema org vocab, has a client generator, and comes with docker-compose and helm charts. I've used it extensively to build various headless services. It's really easy to expose annotated Doctrine entities.
-
API Platform up and running in 5 minutes 🚀
API Platform is a framework for API-first projects, built on top of Symfony components. Let's see how to create a minimal and lightweight starter project in just 5 minutes!
-
Questions about getting started with PHP
On the Symfony side, a headless API can be built really quickly with https://api-platform.com/. You describe your domain entities with Schema.org vocabulary, can use a client generator to hammer out a UI in Next, Nuxt, Quasar, or whatever as a starter, it comes with an admin backend, and a Helm chart to deploy on Kubernetes. Works great for APIs when paired with, say Nuxt SSGs/PWAs if you want more of a JAMstack approach.
-
What is the best way to write a dedicated server?
It could be implemented with STOMP, or Mercure (goes well with API-Platform, written in PHP/Symfony), you could write your own with the help of nchan and scale it via Redis. If it's a web service, the best practices for operating and scaling are well established, Godot then just becomes another client.
-
PSX - Build fully typed REST APIs
Why would someone use this over API Platform?
-
Anti-Laravel trends?
That looks like out-of-the-box api-platform. It even auto-updates the data on screen, no JS needed. Pretty powerful stuff and if it can be done in PHP, it can be done in other language.
-
Framework for REST API that builds a complete-ish API given a model?
https://api-platform.com is exactly what you are asking for.
-
I cant comprehend what an API is
I don't know what is the stack that you'd like to use, but, in my case, reading the docs and using API platform, helped me tremendously.
-
Convert Request Data to DTO Input Objects With Symfony
I highly recommend you check out API Platform. It does all this automatically with you only writing the DTO class.
What are some alternatives?
Symfony DataTables Bundle - DataTables bundle for Symfony
Apigility
Fusio - Open source API management platform
PHP-CRUD-API - Single file PHP script that adds a REST API to a SQL database
Kong - 🦍 The Cloud-Native API Gateway and AI Gateway.
Hateoas - A PHP library to support implementing representations for HATEOAS REST web services.
Symfony GraphQl Bundle - Pure PHP implementation of GraphQL Server – Symfony Bundle
Restler - Simple and effective multi-format Web API Server to host your PHP API as Pragmatic REST and/or RESTful API
Firebase Admin SDK for PHP - Unofficial Firebase Admin SDK for PHP
DreamFactory - DreamFactory API Management Platform
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.
OverblogGraphQLBundle - This bundle provides tools to build a complete GraphQL API server in your Symfony App.