{"id":21502943,"url":"https://github.com/kimmyxpow/php-dsa","last_synced_at":"2026-01-29T20:02:51.156Z","repository":{"id":263937739,"uuid":"891846248","full_name":"kimmyxpow/php-dsa","owner":"kimmyxpow","description":"This repository contains fundamental Data Structures and Algorithms implemented in PHP, designed for learning and exploring PHP's capabilities in computational problem-solving.","archived":false,"fork":false,"pushed_at":"2024-11-21T04:16:25.000Z","size":5,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-11T01:03:52.514Z","etag":null,"topics":["algorithm","algorithms","data-structures","data-structures-and-algorithms","php","php-data-structures","php-data-structures-and-algorithms"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/kimmyxpow.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-21T03:55:19.000Z","updated_at":"2024-11-25T04:18:57.000Z","dependencies_parsed_at":"2024-11-21T05:30:12.885Z","dependency_job_id":null,"html_url":"https://github.com/kimmyxpow/php-dsa","commit_stats":null,"previous_names":["kimmyxpow/dsa-php"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kimmyxpow/php-dsa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimmyxpow%2Fphp-dsa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimmyxpow%2Fphp-dsa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimmyxpow%2Fphp-dsa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimmyxpow%2Fphp-dsa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kimmyxpow","download_url":"https://codeload.github.com/kimmyxpow/php-dsa/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kimmyxpow%2Fphp-dsa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28883997,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-29T19:55:09.949Z","status":"ssl_error","status_checked_at":"2026-01-29T19:55:08.490Z","response_time":59,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithm","algorithms","data-structures","data-structures-and-algorithms","php","php-data-structures","php-data-structures-and-algorithms"],"created_at":"2024-11-23T18:18:43.091Z","updated_at":"2026-01-29T20:02:51.109Z","avatar_url":"https://github.com/kimmyxpow.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Data Structures and Algorithms in PHP\n\nThis repository provides implementations of basic **Data Structures** and **Algorithms** in PHP. The folder structure is organized for better clarity and scalability, making it easy to find and run examples for specific topics.\n\n## Table of Contents\n\n- [Data Structures and Algorithms in PHP](#data-structures-and-algorithms-in-php)\n  - [Table of Contents](#table-of-contents)\n  - [Introduction](#introduction)\n  - [Folder Structure](#folder-structure)\n  - [Data Structures](#data-structures)\n  - [Algorithms](#algorithms)\n    - [Sorting](#sorting)\n    - [Searching](#searching)\n    - [Graph Algorithms](#graph-algorithms)\n  - [Coming Soon](#coming-soon)\n  - [How to Use](#how-to-use)\n  - [Contributing](#contributing)\n  - [License](#license)\n\n## Introduction\n\nData Structures and Algorithms are essential for writing efficient, scalable, and optimized code. This repository demonstrates these concepts using **PHP**, showcasing how PHP can be used beyond web development for algorithmic and computational tasks.\n\n## Folder Structure\n\n```plaintext\n.\n├── data_structures/\n│   ├── Stack.php\n│   ├── Queue.php\n│   ├── LinkedList.php\n│\n├── algorithms/\n│   ├── Sorting/\n│   │   ├── BubbleSort.php\n│   │\n│   ├── Searching/\n│   │   ├── BinarySearch.php\n│   │\n│   ├── Graph/\n│       ├── (Coming Soon)\n```\n\n- **`data_structures/`**: Contains implementations of foundational data structures.\n- **`algorithms/`**: Contains categorized subdirectories for different types of algorithms:\n  - **`Sorting/`**: Sorting algorithms like Bubble Sort.\n  - **`Searching/`**: Searching algorithms like Binary Search.\n  - **`Graph/`**: Graph-related algorithms (coming soon).\n\n## Data Structures\n\n1. **Stack (LIFO)**: A linear data structure where the last element added is the first one removed.\n2. **Queue (FIFO)**: A linear data structure where the first element added is the first one removed.\n3. **Linked List**: A dynamic structure made of nodes, where each node points to the next.\n\n## Algorithms\n\n### Sorting\n\n1. **Bubble Sort**: A simple sorting algorithm that repeatedly compares adjacent elements and swaps them if needed.\n\n### Searching\n\n1. **Binary Search**: An efficient algorithm for finding a value in a sorted array.\n\n### Graph Algorithms\n\nComing Soon: Algorithms like Depth-First Search (DFS) and Breadth-First Search (BFS) will be added here.\n\n## Coming Soon\n\nThe repository will be expanded to include:\n\n1. **Advanced Data Structures**:\n   - Binary Search Trees\n   - Hash Tables\n   - Graphs\n2. **More Algorithms**:\n   - Quick Sort\n   - Merge Sort\n   - Depth-First Search (DFS)\n   - Breadth-First Search (BFS)\n\n## How to Use\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/kimmyxpow/php-dsa.git\n   ```\n2. Navigate to the project directory:\n   ```bash\n   cd php-dsa\n   ```\n3. Run the examples for a specific data structure or algorithm:\n   ```bash\n   php data_structures/Stack.php\n   php algorithms/Sorting/BubbleSort.php\n   php algorithms/Searching/BinarySearch.php\n   ```\n\n## Contributing\n\nContributions are welcome! If you'd like to add new algorithms, improve existing ones, or fix issues, feel free to:\n1. Fork the repository.\n2. Create a new branch.\n3. Submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License. See the `LICENSE` file for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimmyxpow%2Fphp-dsa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkimmyxpow%2Fphp-dsa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkimmyxpow%2Fphp-dsa/lists"}