{"id":16316770,"url":"https://github.com/makasim/tempfile","last_synced_at":"2025-07-21T15:05:10.019Z","repository":{"id":4295039,"uuid":"5425788","full_name":"makasim/TempFile","owner":"makasim","description":null,"archived":false,"fork":false,"pushed_at":"2014-07-24T16:18:10.000Z","size":118,"stargazers_count":29,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-28T06:04:26.007Z","etag":null,"topics":["file","php","tempfile"],"latest_commit_sha":null,"homepage":null,"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/makasim.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":"2012-08-15T12:35:22.000Z","updated_at":"2022-04-27T05:59:54.000Z","dependencies_parsed_at":"2022-09-17T22:21:51.565Z","dependency_job_id":null,"html_url":"https://github.com/makasim/TempFile","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/makasim/TempFile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makasim%2FTempFile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makasim%2FTempFile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makasim%2FTempFile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makasim%2FTempFile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/makasim","download_url":"https://codeload.github.com/makasim/TempFile/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/makasim%2FTempFile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266324447,"owners_count":23911226,"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","status":"online","status_checked_at":"2025-07-21T11:47:31.412Z","response_time":64,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["file","php","tempfile"],"created_at":"2024-10-10T22:05:32.931Z","updated_at":"2025-07-21T15:05:09.946Z","avatar_url":"https://github.com/makasim.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"TempFile\n========\n\nTempFile extends SplFileInfo class. It represents temporary file which will be removed at script shutdown.\n\nExamples:\n\n```php\n\u003c?php\n\n//generate\n$file = \\Makasim\\File\\TempFile::generate();\n\n//or create a temporary copy of persisted file\n$file = \\Makasim\\File\\TempFile::from('path_to_persisted_file');\n\n//prevent file being removed\n$file = \\Makasim\\File\\TempFile::generate();\n\n$file-\u003epersist();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakasim%2Ftempfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmakasim%2Ftempfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmakasim%2Ftempfile/lists"}