B
B
bestauction2020-09-11 11:58:32
PHP
bestauction, 2020-09-11 11:58:32

REST API framework to replace Silex?

They have already been interested a thousand times, but my task is more specifically set.

You need to make a REST API and an admin panel for it (backend and fronend, so to speak). More precisely, rewrite the entire code of the current api. Now implemented on silex 1.3. Ancient old code. Pimple and all. And in general, he died

Inside the api itself:
- There will be practically no direct work with the database. There will be only redis, sphinx, memcache. And little things.
- Working with queues
- Correspondingly, queue handlers in the crown

Inside the admin panel:
- Editing configs
- Viewing entities in the database

And now I can't decide.

Slim
Everything is good, configurable, lightweight. But you can mess up, since I don’t have much experience from scratch with

Lumen / Laravel
Lightweight, fast. Components from older Laravel. But still cut down. Does it make sense to use Lumen, or just switch to Laravel?

Symfony
Now Symfony seems to be able to put the minimum functionality, and it will not be a bulky cow. But there will be a doctrine that seems to be more complicated than Laravel's Eloquent, and slower.
Previously, the code was written in Silex, but in an ancient version. It was written clumsily, as there was no experience in using dependency injection. Accordingly, I gained experience, but freedom of action still hurt.

What to choose so as not to step on the same rake? So that the code is updated (of the framework), so that there is absolutely no freedom of action, in order to fully use the templates, and not "write as the first thing came to mind"

UPDATE: below he answered his own question, after a while

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daria Motorina, 2020-09-11
@bestauction

On laravel it will be more convenient, on symfony you will have to write half from scratch or use the api platform, in which the devil will break his leg)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question