M
M
Mikhail Solovyov2018-01-26 22:34:29
ORM
Mikhail Solovyov, 2018-01-26 22:34:29

How to use Laravel model NOT to work with a table?

Hello! Recently began to study Laravel, and then a question related to models appeared.
As I understand it, in Laravel models use ORM - Eloquent, i.e. each model is a database handler.
But what if I need to use the model not to work with the database, but to perform other operations? For example, processing images and issuing a result without writing to a table. What should be done in terms of the architecture of this framework?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question