Skip to content

paljinov/php-data-structures

Repository files navigation

php-data-structures

Implementation of well-known data structures in PHP.

Contribution

Feel free to fork this repository and solve something in better, i.e. more optimal way.

php-data-structures is dockerized for everyone who prefers to debug in the browser instead of in the console.

If you have docker installed:

  1. Pull php-data-structures project
  2. Open console and change directory to project root
  3. Run the following command:
docker-compose up -d
  1. Now you can open any data structure in your favorite browser, e.g.
http://localhost/src/Stack.php
  1. If you need to enter a running container:
docker exec -it php-data-structures_app_1 /bin/bash

Test data structures

PHPUnit is used for testing implemented data structures:

Tests can be run using command:

./vendor/bin/phpunit tests/

Copyright and License

Copyright (c) 2015 - 2019 Pave Aljinović
Licensed under the MIT License

About

Data structures implemented in PHP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published