rizal / todo
Buat aplikasi todolist menggunakan konsep oop, database mysql, composer dan unit testing
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 0
Type:project
Requires
- phpunit/phpunit: 9.5.28
README
About This repository is an application that implements OOP Principles, specifically a Todolist. which I have been learning and implement on for 2 weeks.
A brief description of your project, what it is used for.
Getting started
Installing Project Via Composer
composer create-project rizal/todo
Installing Project Via Github
git clone https://github.com/RizalFIrdaus/TodolistPHPMysql-Composer-PhpUnit.git composer update composer dump-autoload
Connect Database
Modified Config file database in App/Config/Database.
$host = "localhost"; $port = 3306; $dbname = "your dbname"; $username = "your username"; $password = "your password";
Test Connection
If your database successfull connected, log will feedback "Berhasil Terhubung"
cd (Your Director)
vendor/bin/phpunit ./src/Tests/DatabaseTest.php
How to running
cd (Your Directory)/src php .\App.php
Built With
PHP Object Oriented Programming Principles