Rewrite rules instead of a router for a small project, possible?

I’ve learnt a little about project architecture and I have a silly question. Should I use an architecture for a project that is not a large one too? What if, for example, I use an htaccess file and rewrite rules instead of a router for an API? I don’t want to do it really I just ask to know what I don’t know [or where I’m wrong].

I have moved this topic to General Web Development. The topic is broad and can go into different languages. This also wasn’t strictly a PHP question.

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.