Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 928 Bytes

README.md

File metadata and controls

12 lines (10 loc) · 928 Bytes

php-date-time-tracker

This is a basic PHP web page that allows recording the date/times that something happened.

Requirements

  • You must have a MySQL database setup. The database can be named whatever you want, but it needs to have a records table with 2 columns: id (int Auto Increment) and dt (datetime).
  • The database connection information is to be saved in the src/config/config.php file. There is a sample file in that same directory.

Setup

  • Clone this repository to your local machine.
  • Install the composer libraries composer install.
  • Depending on how you deploy this project to your HTTP server, you may need to redirect all public traffic to public/index.php so that routing works correctly. This can be done using something like an .htaccess (Apache) or web.config (IIS) file.
  • To run the application locally, using the built-in php HTTP server, use the following terminal command composer start.