{"id":15707290,"url":"https://github.com/matks/php_scripts","last_synced_at":"2025-05-12T19:45:43.988Z","repository":{"id":20675945,"uuid":"23958815","full_name":"matks/php_scripts","owner":"matks","description":"Some useful php scripts","archived":false,"fork":false,"pushed_at":"2017-07-26T13:08:25.000Z","size":17,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-01T02:49:50.210Z","etag":null,"topics":["php","php-scripts"],"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/matks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-09-12T11:57:35.000Z","updated_at":"2025-03-20T06:57:45.000Z","dependencies_parsed_at":"2022-07-21T20:18:08.447Z","dependency_job_id":null,"html_url":"https://github.com/matks/php_scripts","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/matks%2Fphp_scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matks%2Fphp_scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matks%2Fphp_scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matks%2Fphp_scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matks","download_url":"https://codeload.github.com/matks/php_scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253809891,"owners_count":21967819,"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":["php","php-scripts"],"created_at":"2024-10-03T20:39:26.462Z","updated_at":"2025-05-12T19:45:43.967Z","avatar_url":"https://github.com/matks.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"php_scripts\n===========\n\nSome useful php scripts.\n\nexplore_url\n-----------\n\n```bash\nphp explore_url.php \u003curl\u003e [--urldecode]\n```\nExplode an URL in different parts to ease reading\n\nexplore_sql_query\n-----------------\n\n```bash\nphp explore_sql_query.php \u003cquery\u003e\n```\nDisplay a SQL query formatted in a more readable way\n\ncompare_sql_tables\n------------------\n\n```bash\nphp compare_sql_tables.php\n```\nCompare two SQL tables to check whether their content is identical\n\nAdd settings/credentials in a config.php file to run it\n\nremove_from_file\n------------------\n\n```bash\nphp remove_from_file.php file1 file2 output\n```\nCompare two text files and remove from file1 the lines from file2\n\nget_by_sql_value\n----------------\n\n```bash\nphp get_by_sql_value.php inputFile outputFile\n```\nRead input file, get lines from an SQL table from file1 value, write lines into output file\n\nAdd settings/credentials in a config.php file to run it\n\nfind_binary\n-----------\n\n```bash\nphp find_binary.php \u003cinteger\u003e\n```\nDecompose an integer into powers of two\n\ncompare_hashmaps\n----------------\n\n```bash\nphp compare_yaml_hashmaps.php file1 file2 \u003croot_node\u003e\n```\nCompare 2 YAML hashmap files (such as symfony parameters.yml files)\n\nExample: `$ php compare_yaml_hashmaps.php parameters1.yml parameters2.yml 'parameters'`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatks%2Fphp_scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatks%2Fphp_scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatks%2Fphp_scripts/lists"}