Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

khalil.bz's avatar

Laravel API Generator

Hi guys, I have a project and I'm only responsible for the Back-End development. In the Back-End I have to create an API that generally have CRUD operations, and the problem is that they are a lot, so to explain exactly here is an example:

Demand => Create a CRUD for Article(Id:number, Title:string, Thumbnail:picture, Content:text, Tags:text)

Explanation => I have to create everything needed so the Front-end can send requests to Create, Read, List, Update or Delete an Article (Return data as JSON)

Problem => I'm searching for a package or a tool that generates that automatically, knowing that a request could contain files or pictures not only text data.

{{ Please Don't Forget }}

  • I'm not seeking for a view generator [I'm not working for the Front-End] I'm only responsible for the Back-End
  • Everything I need do exist in other frameworks, but I want to work with Laravel
  • I wish you give me tools or packages that you have used not from Google searches because I'm searching for the 4th day
  • I found this http://labs.infyom.com/laravelgenerator/ but it seems that it have a little bit complicated documentation (Maybe the problem in me)
0 likes
1 reply
J_shelfwood's avatar
Level 13

Seems kind of unnessecary to look for a package to generate an API so long while you could've used that time to build it yourself. I think it'd take you longer to tweak such a huge amount of resources to your liking than to build them yourself. You could use fractal or something to speed up your progress. I actually just build a functional API that doesn't consist of that much code.

1 like

Please or to participate in this conversation.