php-orm-pdo
php-orm-pdo copied to clipboard
how to use it as a framework
I've downloaded the package and i'm trying to make it work as a framework but I can´t get it done. I have the following folder structure my_project/app/controllers my_project/app/models my_project/app/views
my_project/index.php
I just copied the folder app located in vendor\arojunior\php-orm-pdo\app into my_project folder but if I type localhost/my_project/users in the browser it doesn´t show the list of users in my db (index function) in users controllers Is there anything to change in index.php file??
In order to use it as a framework, you should download the repository and build your application inside the app
folder, following the convention described in the README.
There's a sample of Controller, Model, and View inside the app folder.