Reputation: 177
I was wondering if the use of a database is necessary on Laravel or I can build an app without database.
I have researched throughout but there is no clear indication of these nor on the Laravel documentation website or other places, it is just vague.
Thanks
Upvotes: 11
Views: 13417
Reputation: 163758
Of course you can use Laravel without a database. You can read and save data using remote RESTful API, files etc or you can do not use any data layer at all. Laravel will work just fine.
Also, you can use pretty cool SQLite library which allows you to save all info to a single file. Laravel supports it out of box.
Upvotes: 1