Simple PHP console-app for learning english words
- Creating own words
- Removing words from database
- Quiz with random words
Name | Version |
---|---|
PHP | ^8.1 |
MySQL | ^8.0 |
Name | Version |
---|---|
respect/validation | 2.2 |
phpunit/phpunit | 9.5 |
vlucas/phpdotenv | 5.4 |
Clone the project
git clone https://github.com/CubeStorm/eng-words
Go to the project directory
cd eng-words
Install dependencies
composer install
Create .env file
Copy .env.example content and paste to .env file
Use there your own database settings
Create database in mysql named "engwords'
Run app
php index.php
Before you run tests you should create separate database named "test_engwords".
To run tests, run the following command
php vendor/bin/phpunit tests
- Divide words to own categories