{"id":24815484,"url":"https://github.com/ascoos/converter-toml","last_synced_at":"2025-03-25T18:42:09.432Z","repository":{"id":274348925,"uuid":"922638586","full_name":"ascoos/converter-toml","owner":"ascoos","description":"Converts files to various formats to and from TOML files using Ascoos Framework.","archived":false,"fork":false,"pushed_at":"2025-01-29T15:59:34.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-29T16:30:31.189Z","etag":null,"topics":["ascoos","ascoos-cms","ascoos-framework","code","libraries","php","php8","tarrayhandler","toml","ttomlhandler"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ascoos.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE_AGL-F.md","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":"2025-01-26T18:21:07.000Z","updated_at":"2025-01-29T15:59:38.000Z","dependencies_parsed_at":"2025-01-29T16:31:04.842Z","dependency_job_id":null,"html_url":"https://github.com/ascoos/converter-toml","commit_stats":null,"previous_names":["ascoos/suggestions","ascoos/converter-toml"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascoos%2Fconverter-toml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascoos%2Fconverter-toml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascoos%2Fconverter-toml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ascoos%2Fconverter-toml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ascoos","download_url":"https://codeload.github.com/ascoos/converter-toml/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245525066,"owners_count":20629783,"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":["ascoos","ascoos-cms","ascoos-framework","code","libraries","php","php8","tarrayhandler","toml","ttomlhandler"],"created_at":"2025-01-30T16:29:47.497Z","updated_at":"2025-03-25T18:42:09.245Z","avatar_url":"https://github.com/ascoos.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Converter TOML\n\n---\n\n[![AGL-F](https://img.shields.io/badge/License-AGLF-blue.svg)](http://docs.ascoos.com/lics/ascoos/AGL-F.html)\n![GitHub Downloads (all assets, all releases)](https://img.shields.io/github/downloads/ascoos/cms-suggestions/total?color=%230E80C0) \n![GitHub Release](https://img.shields.io/github/v/release/ascoos/cms-suggestions) \n![GitHub Release Date](https://img.shields.io/github/release-date/ascoos/cms-suggestions?color=%230E80C0)\n![GitHub repo size](https://img.shields.io/github/repo-size/ascoos/cms-suggestions) \n[![Ascoos Web Extended Studio - total lines](https://tokei.rs/b1/github/ascoos/cms-suggestions?category=lines)](https://github.com/ascoos/cms-suggestions)\n[![Ascoos Web Extended Studio - source code lines](https://tokei.rs/b1/github/ascoos/cms-suggestions?category=code)](https://github.com/ascoos/cms-suggestions) \n[![Ascoos Web Extended Studio - files in repository](https://tokei.rs/b1/github/ascoos/cms-suggestions?category=files)](https://github.com/ascoos/cms-suggestions)\n\n---\n\n## Descript\nConverts files of various formats to and from TOML data or file using the [Ascoos Framework](https://github.com/ascoos/afw).\n\n## Requires\nRequire version of [Ascoos Framework](https://github.com/ascoos/afw) \u003e= 25.0.0.10992\n\n## Example Use\n```php\n\u003c?php\nuse ASCOOS\\FRAMEWORK\\Kernel\\Arrays\\TArrayHandler;\n\nfunction convert_toml_to_json(string $filename): string\n{\n  $objArray = new TArrayHandler();\n  $objArray-\u003efromTOML($filename);\n  $return = $objArray-\u003etoJSON();\n  $objArray-\u003eFree($objArray);\n\n  return $return;  \n}\n\necho convert_toml_to_json('config.toml');\n?\u003e\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fascoos%2Fconverter-toml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fascoos%2Fconverter-toml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fascoos%2Fconverter-toml/lists"}