{"id":18654096,"url":"https://github.com/dstuecken/php7ify","last_synced_at":"2025-04-11T17:31:07.138Z","repository":{"id":56972943,"uuid":"47979926","full_name":"dstuecken/php7ify","owner":"dstuecken","description":"php7ify is a polyfill project that brings new php7 classes and exceptions to php 5.x","archived":false,"fork":false,"pushed_at":"2020-03-10T00:58:18.000Z","size":24,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T16:21:12.991Z","etag":null,"topics":["composer","php","php-polyfill","php7"],"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/dstuecken.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}},"created_at":"2015-12-14T14:30:09.000Z","updated_at":"2023-09-08T17:04:40.000Z","dependencies_parsed_at":"2022-08-21T12:50:10.350Z","dependency_job_id":null,"html_url":"https://github.com/dstuecken/php7ify","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dstuecken%2Fphp7ify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dstuecken%2Fphp7ify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dstuecken%2Fphp7ify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dstuecken%2Fphp7ify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dstuecken","download_url":"https://codeload.github.com/dstuecken/php7ify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248449694,"owners_count":21105543,"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":["composer","php","php-polyfill","php7"],"created_at":"2024-11-07T07:13:58.995Z","updated_at":"2025-04-11T17:31:06.822Z","avatar_url":"https://github.com/dstuecken.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php7ify\n\nphp7ify is a project that brings new php7 classes, functions and exceptions to php 5.x\n\n[![Build Status](https://travis-ci.org/dstuecken/php7ify.svg)](https://travis-ci.org/dstuecken/php7ify)\n[![License](https://poser.pugx.org/dstuecken/php7ify/license)](https://packagist.org/packages/dstuecken/php7ify)\n[![Latest Stable Version](https://poser.pugx.org/dstuecken/php7ify/v/stable)](https://packagist.org/packages/dstuecken/php7ify)\n[![Latest Unstable Version](https://poser.pugx.org/dstuecken/php7ify/v/unstable)](https://packagist.org/packages/dstuecken/php7ify)\n\n## Requirements\n\n* PHP 5.3\n\n## Installation\n\n### Using Composer\n\nTo install php7ify with composer, just add the following to your composer.json file:\n\n```json\n{\n    \"require\": {\n        \"dstuecken/php7ify\": \"1.0\"\n    }\n}\n```\n\nor by running the following command:\n\n```shell\ncomposer require dstuecken/php7ify\n```\n\n# Usage\n\nJust use the new \\Throwable interface in your php 5 project, or catch an \\Error exception.\n\n```php\ntry \n{\n    mysql_query();\n}\ncatch (Error $e)\n{\n    echo $e-\u003egetMessage() . \"\\n\\n\";\n    echo $e-\u003egetTraceAsString();\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdstuecken%2Fphp7ify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdstuecken%2Fphp7ify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdstuecken%2Fphp7ify/lists"}