https://github.com/giangmd/php-basic-mvc-structor
https://github.com/giangmd/php-basic-mvc-structor
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/giangmd/php-basic-mvc-structor
- Owner: giangmd
- Created: 2020-01-02T09:59:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-01-02T10:01:16.000Z (over 5 years ago)
- Last Synced: 2024-12-28T06:42:35.805Z (5 months ago)
- Language: PHP
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
```
├── app # Main MVC file structure directory
│ ├── controllers # Controllers directory
│ │ └── example.php # Example Controller with functionality explanation
│ ├── models # Models directory
│ │ └── example.php # Example Model with functionality explanation
│ └── views # Views directory, views are recommended in pure html, possible =$variable?> additions
├── core # Basically mvc engine directory
│ ├── app.php # Main framework file
│ ├── classes # Classes directory for possible autoloading
│ │ ├── controller.php
│ │ └── model.php
│ ├── config # Configuration directory
│ │ ├── database.php
│ │ └── session.php
│ └── helpers # Autoloaded helpers directory
│ └── examplehelper.php
├── index.php # Endpoint url
├── public # Directory for all public resources, javascript files, stylesheets and vendor plugins
│ ├── javascripts
│ ├── stylesheets
│ └── vendor
└── .htaccess # htaccess rewriting all of requests to MVC endpoint /index.php
```