Skip to content

Latest commit

 

History

53 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Practice_oop

oop php

About

Redoing this legacy project that i did couple years ago which is a pretty simple project based on ShopCart Application. Taking from some inspiration from Laravel i tried making it a bit more from scratch.

Setting Up

Requirements

  • Use PHP 7.3

Entry Point too the program is Index.php no FE currently

Running Tests [Testing]

  • Run ./vendor/bin/phpunit Test/Integration/Model/CustomerModelTest.php to make sure you have the right database details
  • Run ./vendor/bin/phpunit Test/Integration/Model/ProductModelTest.php
  • Run ./vendor/bin/phpunit Test/Unit/Validation/CustomerTest.php
  • Run ./vendor/bin/phpunit Test/Unit/Validation/CurrencyTest.php

TODO:

  • Finish off Models
  • Add in necessary validation involved
  • Add methods for transaction model
  • Need too add test for transaction model

About

oop php

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages