An open API service indexing awesome lists of open source software.

https://github.com/phaalonso/test


https://github.com/phaalonso/test

Last synced: 8 months ago
JSON representation

Awesome Lists containing this project

README

          

PhpFromZero

[![GitHub issues](https://img.shields.io/github/issues/Dahkenangnon/PhpFromZero)](https://github.com/Dahkenangnon/PhpFromZero/issues)
[![GitHub forks](https://img.shields.io/github/forks/Dahkenangnon/PhpFromZero)](https://github.com/Dahkenangnon/PhpFromZero/network)
[![GitHub stars](https://img.shields.io/github/stars/Dahkenangnon/PhpFromZero)](https://github.com/Dahkenangnon/PhpFromZero/stargazers)
[![GitHub license](https://img.shields.io/github/license/Dahkenangnon/PhpFromZero)](https://github.com/Dahkenangnon/PhpFromZero/blob/master/LICENSE)



Handcrafted PHP OOP project templates using MVC design with no dependencies.





## :dart: Objective

You just learned the basics of web developement with Php ?

Use this object oriented PHP project template to understand how to create from scratch a powerful website with no third party dependencies.

This code is well documented and easy to understand to all PHP junior developers to understand how to create a PHP project from scratch with very well structured code and maintainable code.

At the end:

:pushpin: You can create from scratch a php website with OOP approach

:pushpin: You will have a clear understand of how web apps work

:pushpin: You will have a clear understand of how frameworks work and can easily learn any framework you want.

:pushpin: You can create your own framework if you want with less effort

## :interrobang: Requirements

:red_circle: Wamp or Xampp

:red_circle: Mysql

:red_circle: Php 8

## :warning: Attention

:computer: You need Php 8 or uper to run this project.

:computer: This code is used to train new dev at (may be, you want to join us):

:computer: Use this template on your own risk

:computer: If you want to use this in a real project, you may improve it as this can have many security or performance issues

:computer: For any question, contact dah.kenangnon@gmail.com or join the discussion:

## :question: Try it in your computer

- Clone the repo
- Create a new database as mentioned in env.local.php
- Import php_from_zero.sql into a newest database
- Run in the project dir:

```bash
php -S localhost:9000 -t public
```

- Checkout your browser at and view pages

- NB: You can encounter some error based on your environnment's configuration

## :electric_plug: Extending

This project aim to allow junior dev to understand really how web apps work and be able to create their own Php project with well structured and maintenable architecture.

For education purpose, this project use the simplest way that junior developer can understand, it's the reason why you shouldn't use as it in real world.


________________________________________

The author is Software Developer at [Paonit.com](https://Paonit.com)

IDentity oriented(OpenID Connect and OAuth 2.0)

Mathematics and Numerical Simulation Engineer

Happy hacking :rocket: