Decouple PHP code from framework (Symfony)

I have a task to write simple blog with symfony, storing title and description in database.

The main problem is to write decoupled code which can be easily moved for example to Laravel.

How can i accomplish that. If you can provide some links or tutorials solving similar issue it would be helpful.

Thanks!

Source: Symfony Questions

Was this helpful?

0 / 0

Leave a Reply 0

Your email address will not be published. Required fields are marked *