UrbanDict is a compilation of common slangs. It is a simple project that demonstrates the use of simple and basic programming concepts.
Classes
The phpunit framework for testing is used to perform unit test on the classes. The TDD principle has been employed to make the application robust
Run this in your terminal to execute the tests
/vendor/bin/phpunit
composer require `dara/urbandict`
$dictionary = new DictStore();
$dictTool = new DictTool();
$meaning = $dictTool->getSlang($dictionary,'crash');
$add = $dictTool->addSlang($dictionary, 'jump', 'To run from the police', 'Tunde will jump despite the warning from the judge');
$edit = $dictTool->editSlang($dictionary,'tight','A very impressive performance');
$delete = $dictTool->deleteSlang($dictionary,'tight');
Please check out CHANGELOG file for information on what has changed recently.
Please check out CONTRIBUTING file for detailed contribution guidelines.
Open-source Evangelist is maintained by Dara Oladosu
.
UrbanDict is released under the MIT Licence. See the bundled LICENSE file for more details.