{"id":15917466,"url":"https://github.com/takuya/php-mktempfile","last_synced_at":"2025-04-03T11:41:46.635Z","repository":{"id":57064715,"uuid":"397656543","full_name":"takuya/php-mktempfile","owner":"takuya","description":"Make Tempfile which auto removed at exit.","archived":false,"fork":false,"pushed_at":"2024-04-10T16:03:43.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T05:08:57.428Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/takuya.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":"2021-08-18T15:50:37.000Z","updated_at":"2024-03-14T18:08:53.000Z","dependencies_parsed_at":"2024-12-16T08:27:21.279Z","dependency_job_id":"3b2f42bf-31ad-4a88-a77c-1e7638049308","html_url":"https://github.com/takuya/php-mktempfile","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.4285714285714286,"last_synced_commit":"fc0295231b37ec4830d1bb2d8b5a8803a21e9bbb"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fphp-mktempfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fphp-mktempfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fphp-mktempfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/takuya%2Fphp-mktempfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/takuya","download_url":"https://codeload.github.com/takuya/php-mktempfile/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246998099,"owners_count":20866690,"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-10-06T18:10:49.611Z","updated_at":"2025-04-03T11:41:46.612Z","avatar_url":"https://github.com/takuya.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# php-mktempfile\nMake a Temp file in SysTemp with temp_name and auto removed.\n\n## mktempfile function\nThis package provides a function `mktempfile()` to your composer project.\n```php\n\u003c?php\nrequire_once 'vendor/autoload.php';\n$temp_file = mktempfile();\nfile_exists($temp_file);#=\u003etrue\n```\n## $temp_file will be auto remove\n\n`$temp_file` will be ***auto removed*** by 'register_shutdown_function'.\n\n## system temp directory\n\n`mktempfile()` make file in  SystemTemp  by 'sys_get_temp_dir()'.\n\n## Installing from GitHub.\n```\ncomposer config repositories.takuya/php-mktempfile vcs https://github.com/takuya/php-mktempfile\ncomposer require takuya/php-mktempfile\n```\n## Installing with packagist.\n```\ncomposer require takuya/php-mktempfile\ncomposer install\n```\n\n## test results.\n![\u003cCircleciTest\u003e](https://circleci.com/gh/takuya/php-mktempfile.svg?style=svg)\n## testing\n```\ncomposer install \n./vendor/bin/phpunit\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fphp-mktempfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftakuya%2Fphp-mktempfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftakuya%2Fphp-mktempfile/lists"}