{"id":19387921,"url":"https://github.com/helloxz/phpclass","last_synced_at":"2026-05-13T08:37:14.713Z","repository":{"id":79888531,"uuid":"147598450","full_name":"helloxz/phpclass","owner":"helloxz","description":"自己写的PHP常用类","archived":false,"fork":false,"pushed_at":"2019-04-14T08:16:47.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-24T18:56:22.288Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/helloxz.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":"2018-09-06T01:08:46.000Z","updated_at":"2022-05-01T06:25:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"6a938283-1fd8-4479-b386-d24ceeb740b5","html_url":"https://github.com/helloxz/phpclass","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/helloxz/phpclass","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2Fphpclass","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2Fphpclass/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2Fphpclass/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2Fphpclass/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/helloxz","download_url":"https://codeload.github.com/helloxz/phpclass/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/helloxz%2Fphpclass/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32975180,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T06:31:55.726Z","status":"ssl_error","status_checked_at":"2026-05-13T06:31:51.336Z","response_time":115,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-10T10:11:07.593Z","updated_at":"2026-05-13T08:37:14.696Z","avatar_url":"https://github.com/helloxz.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PHPclass\n自己写的PHP常用类和一些PHP实用脚本\n\n## Cache.class.php\n\n文件缓存类，使用方法：\n```php\n\u003c?php\n\tinclude_once( 'Cache.class.php' );\n\t$cache = new Cache;\n\t#创建一个名为test的缓存，有效期20分钟\n\t$cache-\u003ecreate('test',20,'测试内容');\n?\u003e\n```\n\n## compress.php\n\n* PHP代码压缩，将该文件放到站点某个目录，会自动寻找`.php`文件并进行压缩。（无法压缩二级目录下的PHP文件）\n* 原理：就是使用`php_strip_whitespace()`函数去掉PHP代码中的注释和多余空格","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloxz%2Fphpclass","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhelloxz%2Fphpclass","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhelloxz%2Fphpclass/lists"}