{"id":16134184,"url":"https://github.com/developpeurpascal/php-api-dump","last_synced_at":"2025-07-30T01:08:08.655Z","repository":{"id":114055855,"uuid":"557466131","full_name":"DeveloppeurPascal/PHP-API-Dump","owner":"DeveloppeurPascal","description":"Simple PHP program to check what you send from JS script to a server and what it receive.","archived":false,"fork":false,"pushed_at":"2025-01-13T13:47:22.000Z","size":23,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-06T15:51:20.327Z","etag":null,"topics":["dump","log","php","php-library","php-script"],"latest_commit_sha":null,"homepage":"https://trucs-de-developpeur-web.fr/","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DeveloppeurPascal.png","metadata":{"files":{"readme":"README.md","changelog":"ChangeLog/YYYYMMDD-User.md","contributing":"CONTRIBUTING.md","funding":".github/FUNDING.yml","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},"funding":{"github":"DeveloppeurPascal","liberapay":"PatrickPremartin","patreon":"patrickpremartin","custom":"https://www.paypal.com/paypalme/patrickpremartin"}},"created_at":"2022-10-25T18:35:19.000Z","updated_at":"2025-01-13T13:47:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"eed1329d-083c-4285-b27c-4df22b06cf11","html_url":"https://github.com/DeveloppeurPascal/PHP-API-Dump","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DeveloppeurPascal/PHP-API-Dump","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloppeurPascal%2FPHP-API-Dump","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloppeurPascal%2FPHP-API-Dump/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloppeurPascal%2FPHP-API-Dump/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloppeurPascal%2FPHP-API-Dump/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DeveloppeurPascal","download_url":"https://codeload.github.com/DeveloppeurPascal/PHP-API-Dump/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DeveloppeurPascal%2FPHP-API-Dump/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267790758,"owners_count":24144890,"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","status":"online","status_checked_at":"2025-07-29T02:00:12.549Z","response_time":2574,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dump","log","php","php-library","php-script"],"created_at":"2024-10-09T22:48:00.116Z","updated_at":"2025-07-30T01:08:08.602Z","avatar_url":"https://github.com/DeveloppeurPascal.png","language":"PHP","readme":"# PHP API dump\n\n[Cette page en français.](LISEZMOI.md)\n\nSimple PHP program to check what you send from a JS script (or a form) to a server and how it receives it if it does.\n\nPut the PHP program in a server (local or distant) and check it by  calling its URL. If it's ok it will display a JSON object with POST and GET properties as empty arrays.\n\n(ex: http://localhost/PHP-Dump/src/ajaxcalldump.php as your endpoint or url of an AJAX call)\n\nUse it to check your JS code and see if what you call with Ajax is well formatted for PHP use on the server side.\n\n## How to dump your Ajax call (or HTML forms sent to a server) ?\n\nThe PHP program is in ./src folder and named \"ajaxcalldump.php\".\n\nPersonalize what you want to dump by putting to true or false the defined on the top of the program.\n\nPersonalize if you want a dump file and where you want it.\n\nFinally choose if you want the program send something as an anwser : a JSON object with each record, a HTML page or nothing.\n\n### Default configuration\n\nBy default the program will export as HTML what it receives and creates a dump.txt file in its folder.\n\n### Security\n\nUse this program only on development server. Never use it in production or remove it after your tests !\n\n## Talks and conferences\n\n### Twitch\n\nFollow my development streams of software, video games, mobile applications and websites on [my Twitch channel](https://www.twitch.tv/patrickpremartin) or as replays on [Serial Streameur](https://serialstreameur.fr) mostly in French.\n\n## Source code installation\n\nTo download this code repository, we recommend using \"git\", but you can also download a ZIP file directly from [its GitHub repository](https://github.com/DeveloppeurPascal/XXXXXXXXXX).\n\n## Compatibility\n\nWhen I code, I work locally with XAMPP on Windows. My projects work for this stack.\n\nThere's no guarantee of compatibility with other software or versions, even though I try to keep my code clean and avoid using too many specific things.\n\nIf you detect any anomalies on earlier versions, please don't hesitate to [report them](https://github.com/DeveloppeurPascal/XXXXXXXXXX/issues) so that I can test and try to correct or provide a workaround.\n\n## License to use this code repository and its contents\n\nThis source code is distributed under the [AGPL 3.0 or later license](https://choosealicense.com/licenses/agpl-3.0/).\n\nYou are generally free to use the contents of this code repository anywhere, provided that:\n* you mention it in your projects\n* distribute the modifications made to the files supplied in this project under the AGPL license (leaving the original copyright notices (author, link to this repository, license) which must be supplemented by your own)\n* to distribute the source code of your creations under the AGPL license.\n\nIf this license doesn't suit your needs, you can purchase the right to use this project under the [Apache License 2.0](https://choosealicense.com/licenses/apache-2.0/) or a dedicated commercial license ([contact the author](https://trucs-de-developpeur-web.fr/nous-contacter.php) to explain your needs).\n\nThese source codes are provided as is, without warranty of any kind.\n\nCertain elements included in this repository may be subject to third-party usage rights (images, sounds, etc.). They are not reusable in your projects unless otherwise stated.\n\n## How to ask a new feature, report a bug or a security issue ?\n\nIf you want an answer from the project owner the best way to ask for a new feature or report a bug is to go to [the GitHub repository](https://github.com/DeveloppeurPascal/XXXXXXXXXX) and [open a new issue](https://github.com/DeveloppeurPascal/XXXXXXXXXX/issues).\n\nIf you found a security issue please don't report it publicly before a patch is available. Explain the case by [sending a private message to the author](https://trucs-de-developpeur-web.fr/nous-contacter.php).\n\nYou also can fork the repository and contribute by submitting pull requests if you want to help. Please read the [CONTRIBUTING.md](CONTRIBUTING.md) file.\n\n## Support the project and its author\n\nIf you think this project is useful and want to support it, please make a donation to [its author](https://github.com/DeveloppeurPascal). It will help to maintain the code and binaries.\n\nYou can use one of those services :\n\n* [GitHub Sponsors](https://github.com/sponsors/DeveloppeurPascal)\n* Ko-fi [in French](https://ko-fi.com/patrick_premartin_fr) or [in English](https://ko-fi.com/patrick_premartin_en)\n* [Patreon](https://www.patreon.com/patrickpremartin)\n* [Liberapay](https://liberapay.com/PatrickPremartin)\n* [Paypal](https://www.paypal.com/paypalme/patrickpremartin)\n\nor if you speack french you can [subscribe to Zone Abo](https://zone-abo.fr/nos-abonnements.php) on a monthly or yearly basis and get a lot of resources as videos and articles.\n","funding_links":["https://github.com/sponsors/DeveloppeurPascal","https://liberapay.com/PatrickPremartin","https://patreon.com/patrickpremartin","https://www.paypal.com/paypalme/patrickpremartin","https://ko-fi.com/patrick_premartin_fr","https://ko-fi.com/patrick_premartin_en","https://www.patreon.com/patrickpremartin"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloppeurpascal%2Fphp-api-dump","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeveloppeurpascal%2Fphp-api-dump","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeveloppeurpascal%2Fphp-api-dump/lists"}