{"id":19273107,"url":"https://github.com/remonhasan/php-oop","last_synced_at":"2025-02-23T20:41:38.946Z","repository":{"id":246150007,"uuid":"820240856","full_name":"Remonhasan/php-oop","owner":"Remonhasan","description":"OOP concepts and problem solving in PHP 📣","archived":false,"fork":false,"pushed_at":"2024-06-26T06:55:15.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-05T13:43:56.911Z","etag":null,"topics":["oop-principles","php-oop","php-oop-pdo"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Remonhasan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-06-26T04:57:03.000Z","updated_at":"2024-06-26T09:01:57.000Z","dependencies_parsed_at":"2024-06-26T06:45:07.056Z","dependency_job_id":null,"html_url":"https://github.com/Remonhasan/php-oop","commit_stats":null,"previous_names":["remonhasan/php-oop"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Remonhasan%2Fphp-oop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Remonhasan%2Fphp-oop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Remonhasan%2Fphp-oop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Remonhasan%2Fphp-oop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Remonhasan","download_url":"https://codeload.github.com/Remonhasan/php-oop/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240378878,"owners_count":19792039,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["oop-principles","php-oop","php-oop-pdo"],"created_at":"2024-11-09T20:40:59.909Z","updated_at":"2025-02-23T20:41:38.911Z","avatar_url":"https://github.com/Remonhasan.png","language":"PHP","readme":"Certainly! Here's a README template for your GitHub repository \"php-oop\":\n\n---\n\n# PHP Object-Oriented Programming (OOP) Examples\n\nWelcome to the PHP Object-Oriented Programming (OOP) Examples repository! This repository contains a collection of examples covering various topics in PHP OOP. Each topic is organized into separate folders for clarity and ease of understanding.\n\n## Topics Covered\n\n1. **Class and Object**\n   - Basic class definition and object instantiation.\n\n2. **Compare and Iterating Object Properties**\n   - Examples demonstrating how to compare and iterate over object properties.\n\n3. **Constructor and Destructor**\n   - Understanding constructor and destructor methods in PHP classes.\n\n4. **Dependency Injection**\n   - Examples illustrating dependency injection principles in PHP.\n\n5. **Design Patterns**\n   - Implementation of common design patterns such as Singleton, Factory, and Observer.\n\n6. **Encapsulation**\n   - Encapsulation principles and usage of getters and setters.\n\n7. **Exceptions**\n   - Handling exceptions and creating custom exception classes.\n\n8. **Hinting and Checking**\n   - Type hinting in function/method parameters and type checking.\n\n9. **Inheritance**\n   - Extending classes and overriding methods.\n\n10. **Interfaces and Abstract Classes**\n    - Defining interfaces and implementing abstract classes.\n\n11. **Iterators**\n    - Implementing iterators for custom classes.\n\n12. **Magic Methods**\n    - Examples showcasing magic methods in PHP classes.\n\n13. **Methods**\n    - Various examples of methods within PHP classes.\n\n14. **PHP Standard Recommendations (PSRs)**\n    - Following PHP-FIG coding standards and best practices.\n\n15. **Polymorphism**\n    - Examples demonstrating polymorphism through interfaces and inheritance.\n\n16. **Traits and Namespaces**\n    - Usage of traits for code reuse and organizing classes within namespaces.\n\n## Problem Solutions\n- Solutions to common OOP-related problems and challenges.\n\n## Contributing\nContributions are welcome! If you have examples or improvements to existing examples, feel free to submit a pull request. Please ensure that your contributions adhere to PHP coding standards and include clear explanations.\n\n## License\nThis repository is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n\n---\n\nFeel free to customize this README as per your specific repository structure or additional details you want to include. Good luck with your PHP OOP learning journey!\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremonhasan%2Fphp-oop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremonhasan%2Fphp-oop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremonhasan%2Fphp-oop/lists"}