Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrrezoo/php-mvc-framework
sample php mvc framework
https://github.com/mrrezoo/php-mvc-framework
mvc mvc-framework php
Last synced: about 13 hours ago
JSON representation
sample php mvc framework
- Host: GitHub
- URL: https://github.com/mrrezoo/php-mvc-framework
- Owner: MrRezoo
- License: gpl-3.0
- Created: 2021-06-22T21:22:07.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-07-22T08:24:33.000Z (over 3 years ago)
- Last Synced: 2023-03-05T08:02:37.212Z (over 1 year ago)
- Topics: mvc, mvc-framework, php
- Language: PHP
- Homepage:
- Size: 10.7 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# PHP MVC Framework
![PHP](default-pic.jpg)
Hello friends of these are [Mr.Rezoo](https://www.linkedin.com/in/reza-mobaraki/) | [Miss.mary](https://www.linkedin.com/in/maryam-ostovar-64b497210/)
---
Home | Login | register | 403 |
:-------------------------:|:-------------------------:|:-------------------------:|:-------------------------:
![](zz/home.png) | ![](zz/login.png) | ![](zz/register.png) | ![](zz/403.png)
404 | all | detail | contact |
![](zz/404.png) | ![](zz/all.png) | ![](zz/detail.png) |![](zz/contact.png)
| search |
![](zz/search.png) |## Table of contents
* [General info](#General-info)
* [Technologies](#Technologies)
* [Help](#Help)
* [Setup](#Setup)
* [Credits](#credits)
* [Contributors](#Contributors)
* [License](#license)## General info
We started the project on April 17th, In order to find a new path for how to code pure.
If today it is very easy to build a platform with advanced frameworks, but unfortunately we do not know the story behind it.
Now that we have this opportunity, we have implemented all the basic concepts including web development protocols, framework development structure and design templates to implement the best practice with PHP.
Items that have been considered in this project:
- Use design pattern >> ex:singleton(abstract)
- protocol web >> exception handling
- section handling >> ex:flash session
- query handling >> orm(find_one, find_all, search, save, . . . )
- Routing for url
- template engine >> for handler >> input handler
- onion middlewares >> isguest## Technologies
Project is created with:
* php: 8.0.8
* composer: 2.1.3
* vlucas/phpdotenv: 5.3## Help
If you are considering a particular method, more modern technology Add to my
project and send merge request, I will add you in the credits and contributors
section## Setup
* initial composer if not exists
```shell
composer init
```* install third party packages
```shell
composer install
```
* build tables and run migrations | build tables
```shell
php migrations.php
```
---
* if want to run project on LOCAL
```shell
do - php -S localhost:8080 -t public/
```
---## Credits
* [thecodeholic](https://github.com/thecodeholic)
## Contributors
* [Mr.Rezoo](https://github.com/MrRezoo)
* [Miss.maryam](https://github.com/maryost1998)
* [Jalallinux](https://github.com/jalallinux)## License
Distributed under the GPL License. See [license](LICENSE) for more information.