{"id":15109139,"url":"https://github.com/chalarangelo/30-seconds-of-php","last_synced_at":"2025-09-27T10:31:12.154Z","repository":{"id":43642356,"uuid":"135924216","full_name":"Chalarangelo/30-seconds-of-php","owner":"Chalarangelo","description":"Short PHP code snippets for all your development needs","archived":true,"fork":false,"pushed_at":"2021-01-22T07:41:57.000Z","size":3062,"stargazers_count":2504,"open_issues_count":0,"forks_count":342,"subscribers_count":112,"default_branch":"master","last_synced_at":"2024-06-29T08:17:16.322Z","etag":null,"topics":["education","learn-to-code","learning-resources","php","programming","snippets","snippets-collection","snippets-library"],"latest_commit_sha":null,"homepage":"https://www.30secondsofcode.org/php/p/1","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"cc0-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chalarangelo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-06-03T17:08:50.000Z","updated_at":"2024-06-25T14:02:59.000Z","dependencies_parsed_at":"2022-07-14T17:17:45.273Z","dependency_job_id":null,"html_url":"https://github.com/Chalarangelo/30-seconds-of-php","commit_stats":null,"previous_names":["30-seconds/30-seconds-of-php"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalarangelo%2F30-seconds-of-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalarangelo%2F30-seconds-of-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalarangelo%2F30-seconds-of-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chalarangelo%2F30-seconds-of-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chalarangelo","download_url":"https://codeload.github.com/Chalarangelo/30-seconds-of-php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219871974,"owners_count":16554475,"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":["education","learn-to-code","learning-resources","php","programming","snippets","snippets-collection","snippets-library"],"created_at":"2024-09-25T23:00:48.351Z","updated_at":"2025-09-27T10:31:06.846Z","avatar_url":"https://github.com/Chalarangelo.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Logo](/logo.png)](https://30secondsofcode.org/php/p/1)\n\n# 30 seconds of code\n\n\u003e Short PHP code snippets for all your development needs\n\n* Visit [our website](https://30secondsofcode.org) to view our snippet collection.\n* Use the [Search page](https://30secondsofcode.org/search) to find snippets that suit your needs. You can search by name, tag, language or using a snippet's description. Just start typing a term and see what comes up.\n* Browse the [PHP Snippet List](https://30secondsofcode.org/php/p/1) to see all the snippets in this project or click individual tags at the top of the same page to narrow down your search to a specific tag.\n* Click on each snippet card to view the whole snippet, including code, explanation and examples.\n* You can use the button on the right side of a snippet card to copy the code to clipboard.\n* If you like the project, give it a star. It means a lot to the people maintaining it.\n\n## Want to contribute?\n\n* If you want to help us improve, take a minute to read the [Contribution Guidelines](/CONTRIBUTING.md) first.\n* Use the [Snippet Template](/snippet-template.md) to add new snippets to the collection.\n* If you find a problem with a specific snippet, please [open an issue](https://github.com/30-seconds/30-seconds-of-php/issues/new).\n* If you find a problem with the website, please [report it in the web repository](https://github.com/30-seconds/30-seconds-web/issues/new).\n\n## Credits \u0026 Sponsors\n\n* This repository is maintained by the [30-seconds organization on GitHub](https://github.com/30-seconds).\n* All snippets are licensed under the CC0-1.0 License, unless explicitly stated otherwise.\n* Logos, names and trademarks are not to be used without the explicit consent of the maintainers or owners of the 30 seconds GitHub organization.\n* Our website is powered by [Netlify](https://www.netlify.com/), [Gatsby](https://www.gatsbyjs.org/), [Travis CI](https://travis-ci.com/) \u0026 [GitHub](https://github.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalarangelo%2F30-seconds-of-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchalarangelo%2F30-seconds-of-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchalarangelo%2F30-seconds-of-php/lists"}