{"id":25015770,"url":"https://github.com/brenno-duarte/apidoc","last_synced_at":"2025-04-12T23:38:12.988Z","repository":{"id":208497591,"uuid":"201103206","full_name":"brenno-duarte/ApiDoc","owner":"brenno-duarte","description":"ApiDoc is a template made in HTML, PHP and Jquery to assist with PHP REST API documentation.","archived":false,"fork":false,"pushed_at":"2019-12-18T13:03:12.000Z","size":249,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T23:38:07.714Z","etag":null,"topics":["apidoc","documentation","documentation-generator","documentation-tool","endpoints","php","php-framework"],"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/brenno-duarte.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}},"created_at":"2019-08-07T18:07:33.000Z","updated_at":"2024-01-05T15:45:05.000Z","dependencies_parsed_at":"2023-11-21T20:28:13.438Z","dependency_job_id":"bc65c329-9466-4424-93c8-09c34e083ff0","html_url":"https://github.com/brenno-duarte/ApiDoc","commit_stats":null,"previous_names":["brenno-duarte/apidoc"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenno-duarte%2FApiDoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenno-duarte%2FApiDoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenno-duarte%2FApiDoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brenno-duarte%2FApiDoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brenno-duarte","download_url":"https://codeload.github.com/brenno-duarte/ApiDoc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248647255,"owners_count":21139081,"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":["apidoc","documentation","documentation-generator","documentation-tool","endpoints","php","php-framework"],"created_at":"2025-02-05T08:31:47.780Z","updated_at":"2025-04-12T23:38:12.965Z","avatar_url":"https://github.com/brenno-duarte.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nApiDoc is a template made in HTML, PHP and Jquery to assist with PHP REST API documentation.\n \n\u003cimg src=\"api-doc/view/_img/apidoc.png\"\u003e\n\n### Installation\n\nCopy the link below to your command line to download the latest version. ApiDoc does not need to be installed on your machine, just clone the file and unzip it to the server folder.\n\n```sh\n$ git clone -b 2.0.0-stable --single-branch https://github.com/brennoDuarte/ApiDoc.git ApiDoc-v2.0.0-stable\n```\n\nMake sure JavaScript is enabled in your browser.\nYou can turn on dark mode, but it will turn off as soon as you reload the page.\n\n### Configure\n\nThe json files are in the \"json\" folder.\n\nYou can edit the file \"config.json\" as follows:\n\n- **\"appName\"**: your project name,\n- **\"version\"**: your project version,\n- **\"description\"**: a brief description of your api,\n- **\"language\"**: the language in which your API was made,\n- **\"protocol\"**: your api's protocol, HTTP or HTTPS,\n\nTo edit default routes, change the \"router.json\" file. The **urls** session is subdivided into:\n\n- **\"pathName\"**: name main route from your endpoint,\n- **\"id\"**: modal id that will be displayed by clicking the route button. Remember to edit a different id for each endpoint, otherwise the id will not be displayed,\n- **\"pathGet/GetId/Post/Put/Delete\"**: endpoints of your API,\n- **\"descriptionGet/Post/Put/Delete\"**: a brief description of your endpoint,\n- **\"link\"**: link from your endpoint. Clicking it will open in a new tab.\n\nTo add a new path, copy from \"pathName\" into the \"config.json\" file and paste it below the other paths.\n\nIf you have multiple routes (get, post, put, delete), use a custom route. you can edit the customrouter.json file for this:\n\n- **\"customRouter\"**: name main route from your endpoint,\n- **\"type\"**: GET, POST, PUT, DELETE or other,\n- **\"path\"**: endpoint of your API,\n- **\"description\"**: a brief description of your endpoint,\n- **\"link\"**: link from your endpoint. Clicking it will open in a new tab.\n\nIf your api does not have a certain request, change the field to null. Example: \n\n```sh\n\"post\": {\n    \"id\": null,\n    \"pathPost\": null,\n    \"descriptionPost\": null,\n    \"link\": null\n},\n```\n\nDone, just open the **apidoc.php** file in any browse.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenno-duarte%2Fapidoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrenno-duarte%2Fapidoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrenno-duarte%2Fapidoc/lists"}