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

https://github.com/tyn-tian/php-blogs

In this project, I am creating a PHP blog that is similar to Medium but only includes the basic features. It uses PHP Native, MVC architecture with Repository and Service layers, as well as a router. Additionally, I am conducting unit tests with PHPUnit.
https://github.com/tyn-tian/php-blogs

blogs composer mvc-architecture mysql-database phpunit router tinymce-plugin

Last synced: about 1 month ago
JSON representation

In this project, I am creating a PHP blog that is similar to Medium but only includes the basic features. It uses PHP Native, MVC architecture with Repository and Service layers, as well as a router. Additionally, I am conducting unit tests with PHPUnit.

Awesome Lists containing this project

README

        

### PHP Blogs

PHP Blogs is a project created to mimic the application medium.com, but it only adopts its basic features. The aim is to hone programming logic and PHP Native skills.

## Get started with PHP Blogs

Getting started with the PHP Blogs is easy, and for simple configurations can be done in less than 5 minutes.

### 1. Clone Project
``` bash
git clone https://github.com/Tyn-Tian/PHP-Blogs.git
```

### 2. Create Database
use Database.sql to create database.

### 3. Install Dependencies
``` bash
composer install
```

### 4. Run Project
``` bash
cd public
php -S localhost:8080
```

### 5. Tests Project (Optional)
``` bash
.\vendor\bin\phpunit .\tests\
```

## Features
- User Register
- User Login
- User Logout
- Session (Database)
- CRUD Blogs
- CRD Comments

## Assets

### 1. Architecture
![Architecture](/architecture.png)

### 2. Database Design
![Database Design](/PHP-Blog.jpg)