{"id":29089333,"url":"https://github.com/basemax/setup-phpmyadmin","last_synced_at":"2026-05-06T08:32:24.332Z","repository":{"id":297506239,"uuid":"997010865","full_name":"BaseMax/setup-phpmyadmin","owner":"BaseMax","description":"Automate the process of downloading, extracting, and setting up the latest phpMyAdmin release using a simple PHP script.","archived":false,"fork":false,"pushed_at":"2025-06-21T07:38:36.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-22T23:32:55.246Z","etag":null,"topics":["cpanel","host","mariadb","mariadb-client","mysql","mysql-client","php","phpmyadmin","pma","unzip","zip"],"latest_commit_sha":null,"homepage":"","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/BaseMax.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,"zenodo":null}},"created_at":"2025-06-05T20:07:19.000Z","updated_at":"2025-06-21T07:38:39.000Z","dependencies_parsed_at":"2025-06-05T21:38:47.217Z","dependency_job_id":null,"html_url":"https://github.com/BaseMax/setup-phpmyadmin","commit_stats":null,"previous_names":["basemax/setup-phpmyadmin"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/BaseMax/setup-phpmyadmin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fsetup-phpmyadmin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fsetup-phpmyadmin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fsetup-phpmyadmin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fsetup-phpmyadmin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BaseMax","download_url":"https://codeload.github.com/BaseMax/setup-phpmyadmin/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BaseMax%2Fsetup-phpmyadmin/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262371661,"owners_count":23300591,"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":["cpanel","host","mariadb","mariadb-client","mysql","mysql-client","php","phpmyadmin","pma","unzip","zip"],"created_at":"2025-06-28T04:01:39.206Z","updated_at":"2026-05-06T08:32:24.305Z","avatar_url":"https://github.com/BaseMax.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# setup-phpmyadmin\n\nAutomate the process of downloading, extracting, and setting up the latest phpMyAdmin release using a simple PHP script.\n\n## Features\n\n- Automatically downloads the latest phpMyAdmin ZIP archive from the official source\n- Extracts the contents safely into a temporary directory\n- Moves files into a clean `pma/` directory ready for use\n- Cleans up temporary files and ZIP archives after installation\n- Provides detailed CLI or web output with timestamps\n- Error handling and logging for easier debugging\n\n## Requirements\n\n- PHP 7.2 or higher with `zip` extension enabled\n- `allow_url_fopen` enabled to download files via `file_get_contents`\n- Writable web directory to create `pma/` and temporary folders\n\n## Usage\n\n### Via CLI\n\nRun the script from the command line:\n\n```bash\nphp setup-phpmyadmin.php\n```\n\n### Via Web Browser\n\nUpload the script to your web server and access it through your browser. Make sure the directory permissions allow file creation and deletion.\n\n## Configuration\n\nYou can customize these variables at the top of `setup-phpmyadmin.php`:\n\n- `$downloadUrl` — URL to the latest phpMyAdmin ZIP file (default points to official latest release)\n- `$pmaDir` — target directory where phpMyAdmin files will be placed (default: pma)\n- `$tempDir` — temporary extraction directory (default: temp_pma_extract)\n\n## How It Works\n\n- Downloads the latest phpMyAdmin ZIP archive.\n- Creates necessary directories for extraction and final files.\n- Extracts the ZIP contents to a temporary directory.\n- Moves extracted files from temporary directory to the final pma/ directory.\n- Deletes temporary extraction folders and ZIP files.\n- Logs progress and errors to phpmyadmin_setup_errors.log.\n\n## Error Handling\n\nScript displays errors on screen and logs detailed messages in phpmyadmin_setup_errors.log.\n\nIf download or extraction fails, the script stops and outputs an error message.\n\n## License\n\nThis project is licensed under the MIT License — see the [LICENSE](LICENSE) file for details.\n\n## Contribution\n\nContributions and improvements are welcome! Feel free to open issues or pull requests.\n\nMade with ❤️ by Max Base.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fsetup-phpmyadmin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbasemax%2Fsetup-phpmyadmin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbasemax%2Fsetup-phpmyadmin/lists"}