{"id":16150257,"url":"https://github.com/zapalm/psdiag","last_synced_at":"2025-06-27T08:34:19.917Z","repository":{"id":46337749,"uuid":"86951118","full_name":"zapalm/psdiag","owner":"zapalm","description":"Diagnostic tool for PrestaShop CMS.","archived":false,"fork":false,"pushed_at":"2022-10-29T07:05:22.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-24T06:37:40.050Z","etag":null,"topics":["diagnose","hacktoberfest","php-library","prestashop","tool"],"latest_commit_sha":null,"homepage":"","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/zapalm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":"FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"zapalm"}},"created_at":"2017-04-02T00:10:56.000Z","updated_at":"2023-01-28T15:12:58.000Z","dependencies_parsed_at":"2022-08-29T20:00:54.509Z","dependency_job_id":null,"html_url":"https://github.com/zapalm/psdiag","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/zapalm%2Fpsdiag","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapalm%2Fpsdiag/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapalm%2Fpsdiag/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapalm%2Fpsdiag/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zapalm","download_url":"https://codeload.github.com/zapalm/psdiag/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zapalm%2Fpsdiag/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259186272,"owners_count":22818532,"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":["diagnose","hacktoberfest","php-library","prestashop","tool"],"created_at":"2024-10-10T00:48:18.377Z","updated_at":"2025-06-11T02:32:43.365Z","avatar_url":"https://github.com/zapalm.png","language":"PHP","funding_links":["https://patreon.com/zapalm"],"categories":[],"sub_categories":[],"readme":"# Diagnostic tool for PrestaShop CMS\n**The library and the tool to diagnose PrestaShop.**\n\n## Information for regular users\nThe tool home page and the support page: [prestashop.modulez.ru][1].\nThe full description, how to use and the stable release for download are available there.\n\n## Information for advanced users\n\n### Report example\n```\nSOFTWARE INFORMATION:\nPrestaShop version: 1.7 (1.7.6.8)\nPHP version: 5.6 (5.6.38)\nionCube version: 10.3.9\nPrestaShop classes override system enabled: Yes\nThe site has configuration issues: Yes\n\nREQUIREMENTS:\n[fail] : Checking recommended PHP compatibility. Recommended PHP version: 7.1. So that your PrestaShop is compatible with as many modules as possible and works stably.\n[ok] : Checking Apache2 configuration. The module \"mod_rewrite\" must be enabled.\n[ok] : Checking PHP configuration. Functions must be enabled: fclose, fread, fwrite, rename, file_exists, unlink, rmdir, mkdir, getcwd, chdir, chmod.\n[ok] : Checking PHP configuration. Recommended to install \"Zlib\" extension.\n[ok] : Checking PHP configuration. Recommended to install \"ionCube Loader\" extension with 10.3.9 version or newer.\n[ok] : Checking PHP configuration. The \"DOM\" extension must be enabled. The example of installation command in Debian/Ubuntu: sudo apt-get install php-xml.\n[ok] : Checking PHP configuration. The \"JSON\" extension must be enabled. The example of installation command in Debian/Ubuntu: sudo apt-get install php-json.\n[ok] : Checking PHP configuration. The \"SimpleXML\" extension must be enabled. The example of installation command in Debian/Ubuntu: sudo apt-get install php-xml.\n[ok] : Checking PHP configuration. The \"ZIP\" extension must be enabled. The example of installation command in Debian/Ubuntu: sudo apt-get install php-zip.\n[ok] : Checking PHP configuration. The extension \"php_curl\" must be enabled.\n[ok] : Checking PHP configuration. The extension \"php_fileinfo\" must be enabled.\n[ok] : Checking PHP configuration. The extension \"php_gd2\" must be enabled.\n[ok] : Checking PHP configuration. The extension \"php_intl\" must be enabled.\n[ok] : Checking PHP configuration. The extension \"php_mbstring\" must be enabled.\n[ok] : Checking PHP configuration. The extension \"php_openssl\" must be enabled.\n[ok] : Checking PHP configuration. The extension \"php_pdo_mysql\" (recommended) or \"php_mysqli\" must be enabled.\n[ok] : Checking PHP configuration. The option \"allow_url_fopen\" must be \"On\".\n[ok] : Checking PHP configuration. The option \"allow_url_include\" must be \"Off\".\n[ok] : Checking PHP configuration. The option \"file_uploads\" must be \"On\".\n[ok] : Checking PHP configuration. The value of these options must be empty: \"auto_prepend_file\" and \"auto_append_file\" (for security reasons and for the operation of some modules).\n[ok] : Checking required PHP compatibility. Minimum but not recommended PHP version: 5.6. Maximum PHP version: 7.2. Your PHP version: 5.6.38.\n[ok] : Checking write permissions (recommended: 0755) for the directory: app/Resources/translations.\n[ok] : Checking write permissions (recommended: 0755) for the directory: app/config.\n[ok] : Checking write permissions (recommended: 0755) for the directory: cache.\n[ok] : Checking write permissions (recommended: 0755) for the directory: config.\n[ok] : Checking write permissions (recommended: 0755) for the directory: download.\n[ok] : Checking write permissions (recommended: 0755) for the directory: img.\n[ok] : Checking write permissions (recommended: 0755) for the directory: log.\n[ok] : Checking write permissions (recommended: 0755) for the directory: mails.\n[ok] : Checking write permissions (recommended: 0755) for the directory: modules.\n[ok] : Checking write permissions (recommended: 0755) for the directory: themes/classic/cache.\n[ok] : Checking write permissions (recommended: 0755) for the directory: themes/classic/lang.\n[ok] : Checking write permissions (recommended: 0755) for the directory: themes/classic/pdf/lang.\n[ok] : Checking write permissions (recommended: 0755) for the directory: translations.\n[ok] : Checking write permissions (recommended: 0755) for the directory: upload.\n```\n\n### One-time diagnosis\nCopy the folder `psdiag` to your PrestaShop root directory (where there are `index.php`, `init.php` and so on).\nRun this script via web browser or from console, for example:\n1) Run from browser: `http://localhost/psdiag/index.php`\n2) Run from console: `php index.php`\n\nFirst of all the PrestaShop diagnosis should be done from a web browser because PrestaShop is the web application.\n\n### Installation to your project\nAdd the dependency directly to your `composer.json` file:\n```\n\"repositories\": [\n  {\n    \"type\": \"vcs\",\n    \"url\": \"https://github.com/zapalm/psdiag\"\n  }\n],\n\"require\": {\n  \"php\": \"\u003e=5.2\",\n  \"zapalm/psdiag\": \"dev-master\"\n},\n```\nSee usage example in `index.php` script.\n\n### How to help the project grow and get updates\nGive the **star** to the project. That's all! :)\n\n### Contributing to the code\n\n#### Requirements for code contributors \n\nContributors **must** follow the following rules:\n\n* **Make your Pull Request on the *dev* branch**, NOT the *master* branch.\n* Do not update a helper version number.\n* Follow [PSR coding standards][2].\n\n#### Process in details for code contributors\n\nContributors wishing to edit the project's files should follow the following process:\n\n1. Create your GitHub account, if you do not have one already.\n2. Fork the project to your GitHub account.\n3. Clone your fork to your local machine.\n4. Create a branch in your local clone of the project for your changes.\n5. Change the files in your branch. Be sure to follow [the coding standards][2].\n6. Push your changed branch to your fork in your GitHub account.\n7. Create a pull request for your changes **on the *dev* branch** of the project.\n   If you need help to make a pull request, read the [GitHub help page about creating pull requests][3].\n8. Wait for the maintainer to apply your changes.\n\n**Do not hesitate to create a pull request if even it's hard for you to apply the coding standards.**\n\n[1]: https://prestashop.modulez.ru/en/tools-scripts/50-prestashop-diagnostic-tool.html\n[2]: https://www.php-fig.org/psr/\n[3]: https://help.github.com/articles/about-pull-requests/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapalm%2Fpsdiag","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzapalm%2Fpsdiag","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzapalm%2Fpsdiag/lists"}