{"id":21840280,"url":"https://github.com/gocom/php-textile-sandbox","last_synced_at":"2026-05-06T23:39:52.094Z","repository":{"id":11789377,"uuid":"14331663","full_name":"gocom/php-textile-sandbox","owner":"gocom","description":"Simple public sandbox endpoint for PHP-Textile","archived":false,"fork":false,"pushed_at":"2013-11-14T10:11:27.000Z","size":192,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-26T11:08:34.156Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gocom.png","metadata":{"files":{"readme":"README.textile","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":"2013-11-12T12:34:10.000Z","updated_at":"2013-11-14T10:11:27.000Z","dependencies_parsed_at":"2022-09-24T05:30:23.738Z","dependency_job_id":null,"html_url":"https://github.com/gocom/php-textile-sandbox","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/gocom%2Fphp-textile-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocom%2Fphp-textile-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocom%2Fphp-textile-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gocom%2Fphp-textile-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gocom","download_url":"https://codeload.github.com/gocom/php-textile-sandbox/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244822906,"owners_count":20516191,"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-27T21:25:29.911Z","updated_at":"2026-05-06T23:39:47.052Z","avatar_url":"https://github.com/gocom.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"h1. PHP-Textile sandbox\n\nSimple public sandbox for \"PHP-Textile\":https://github.com/textile/php-textile. Send in a HTTP request, get Textile as response, wrapped in a JSON or JSON-P envelope.\n\nh2. Installing\n\nbc. $ git clone https://github.com/gocom/php-textile-sandbox.git \u0026\u0026 cd php-textile-sandbox\n$ composer install\n\nh2. Usage\n\nThe sandbox accepts requests from both GET and POST request methods. Both are 'read' only.\n\nh3. Request parameters\n\n* *method* Parsing method, either @unrestricted@ or @restricted@ (default), or an array of both.\n* *text* Textile input to parse.\n* *doctype* Output document type. Either @html5@ (default) or @xhtml@.\n* *lite* Enable lite mode, either @true@ or @false@ (default).\n* *noimage* Disable image tags, either @true@ (default) or @false@.\n* *rel* Rel attribute applied to links.\n* *callback* JSON-P callback function.\n\n\nh3. Example request\n\nbc. $ curl http://php-textile-sandbox.test/?text=h1.%20Hello%20World\n\nResponse headers:\n\nbc. HTTP/1.1 200 OK\nDate: Thu, 14 Nov 2013 07:48:01 GMT\nAccess-Control-Allow-Origin: *\nX-Robots-Tag: noindex\nContent-Type: application/json; charset=utf-8\n\nResponse body:\n\nbc. {\n    \"options\": {\n        \"method\": [\"restricted\"],\n        \"text\": \"h1. Hello World\",\n        \"doctype\": \"html5\",\n        \"lite\": false,\n        \"noimage\": true,\n        \"rel\": \"nofollow\",\n        \"callback\" : \"\"\n    },\n    \"output\": {\n        \"restricted\": \"\u003ch1\u003eHello World\u003c\\/h1\u003e\"\n    }\n}\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocom%2Fphp-textile-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgocom%2Fphp-textile-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgocom%2Fphp-textile-sandbox/lists"}