{"id":23507690,"url":"https://github.com/timesplinter/php5-ext-template","last_synced_at":"2025-05-13T00:40:44.694Z","repository":{"id":33492219,"uuid":"37138035","full_name":"TiMESPLiNTER/php5-ext-template","owner":"TiMESPLiNTER","description":"A basic template for a PHP5 extension","archived":false,"fork":false,"pushed_at":"2015-06-11T07:22:50.000Z","size":128,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T19:22:47.504Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/TiMESPLiNTER.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}},"created_at":"2015-06-09T14:45:03.000Z","updated_at":"2020-01-16T18:20:49.000Z","dependencies_parsed_at":"2022-09-12T21:52:02.834Z","dependency_job_id":null,"html_url":"https://github.com/TiMESPLiNTER/php5-ext-template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiMESPLiNTER%2Fphp5-ext-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiMESPLiNTER%2Fphp5-ext-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiMESPLiNTER%2Fphp5-ext-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TiMESPLiNTER%2Fphp5-ext-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TiMESPLiNTER","download_url":"https://codeload.github.com/TiMESPLiNTER/php5-ext-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253850841,"owners_count":21973667,"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":[],"created_at":"2024-12-25T10:34:07.159Z","updated_at":"2025-05-13T00:40:44.644Z","avatar_url":"https://github.com/TiMESPLiNTER.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php5-ext-template\n\nThis is a template repository which gives you a skeleton for building a simple PHP5 extension.\n\nIt's based on those 3 great blog entries:\n\n* [Extension Writing Part I](http://devzone.zend.com/303/extension-writing-part-i-introduction-to-php-and-zend/)\n* [Extension Writing Part II a](http://devzone.zend.com/317/extension-writing-part-ii-parameters-arrays-and-zvals/)\n* [Extension Writing Part II b](http://devzone.zend.com/318/extension-writing-part-ii-parameters-arrays-and-zvals-continued/)\n* [Extension Writing Part III](http://devzone.zend.com/446/extension-writing-part-iii-resources/)\n\n## Things to replace\n\nThere are some things you have to replace in the template file:\n\n`ext_name` and `EXT_NAME` strings in file content and file names should be replaced by the extension name either in lower or upper case.\n\nPay attention to the `_` in `EXT_NAME` **don't** replace any occurrences of `EXTNAME` (without the underscore).\n\n## Compile the extension\n\nIt's the easiest if you store the extension project in `/path/to/php/ext/ext-name`. Then you can do in your extension dir:\n\n* `../../bin/phpize`\n* `./configure --enable-ext_name`\n* `make` (or `make clean all`)\n* `cp ./module/ext_name.so /path/to/php/lib/php/extension/no-debug...`\n* In `php.ini` add `extension=ext_name.so`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimesplinter%2Fphp5-ext-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimesplinter%2Fphp5-ext-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimesplinter%2Fphp5-ext-template/lists"}