{"id":18865322,"url":"https://github.com/jonathanprince/base64_img_php","last_synced_at":"2026-02-12T09:30:18.561Z","repository":{"id":25845720,"uuid":"29285311","full_name":"JonathanPrince/base64_img_php","owner":"JonathanPrince","description":"PHP Class for saving base64 data as an image","archived":false,"fork":false,"pushed_at":"2015-01-20T16:23:46.000Z","size":164,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-30T22:10:31.778Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JonathanPrince.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-01-15T07:08:20.000Z","updated_at":"2020-01-20T09:40:16.000Z","dependencies_parsed_at":"2022-08-24T14:14:55.985Z","dependency_job_id":null,"html_url":"https://github.com/JonathanPrince/base64_img_php","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/JonathanPrince%2Fbase64_img_php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanPrince%2Fbase64_img_php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanPrince%2Fbase64_img_php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JonathanPrince%2Fbase64_img_php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JonathanPrince","download_url":"https://codeload.github.com/JonathanPrince/base64_img_php/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239809416,"owners_count":19700619,"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-11-08T04:46:38.937Z","updated_at":"2026-02-12T09:30:18.497Z","avatar_url":"https://github.com/JonathanPrince.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# base64_img_php\n\nPHP Class for base64 image encoding and decoding\n\n##Usage\n\n```php\n\nrequire 'path/to/class/b64img.php';\n\n// encode file as data uri\n$image1 = new B64img('./some_image.png');\n$data_URI = $image1-\u003eget_data();\n\n\n// save data uri as file\n$image2 = new B64img($data_URI);\n$image2-\u003esave_as('./new_image.png');\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanprince%2Fbase64_img_php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonathanprince%2Fbase64_img_php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonathanprince%2Fbase64_img_php/lists"}