{"id":15028908,"url":"https://github.com/rstoetter/csql-php","last_synced_at":"2026-03-15T08:22:58.414Z","repository":{"id":62537898,"uuid":"95867401","full_name":"rstoetter/csql-php","owner":"rstoetter","description":"a PHP class with various methods to work on and analyze SQL statements","archived":false,"fork":false,"pushed_at":"2018-05-31T13:00:12.000Z","size":17,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-08-13T04:26:43.414Z","etag":null,"topics":["php5","sql"],"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/rstoetter.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-06-30T08:32:03.000Z","updated_at":"2018-05-31T13:00:14.000Z","dependencies_parsed_at":"2022-11-02T16:15:13.553Z","dependency_job_id":null,"html_url":"https://github.com/rstoetter/csql-php","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/rstoetter/csql-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstoetter%2Fcsql-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstoetter%2Fcsql-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstoetter%2Fcsql-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstoetter%2Fcsql-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rstoetter","download_url":"https://codeload.github.com/rstoetter/csql-php/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rstoetter%2Fcsql-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28050326,"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-12-26T02:00:06.189Z","response_time":55,"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":["php5","sql"],"created_at":"2024-09-24T20:09:20.037Z","updated_at":"2025-12-26T08:33:08.283Z","avatar_url":"https://github.com/rstoetter.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# csql-php\n\nThe class cSQL is written in PHP and helps to manage SQL statement components. \n\nThe namespace is rstoetter\\\\cSql\n\n## static methods provided by the class cSQL\n\n    cSQL::AddFunction()\n    cSQL::CheckedFieldName()\n    cSQL::CombineFieldName()\n    cSQL::DotCount()\n    cSQL::FieldNameIn()\n    cSQL::FormatStatement()\n    cSQL::GetAliasFromTablename()\n    cSQL::GetAliasOrRealFieldname()\n    cSQL::GetRealFieldname()\n    cSQL::HasAlias()\n    cSQL::IsEscaped()\n    cSQL::IsExtraStartIdentifier()\n    cSQL::IsFunctionSQL()\n    cSQL::IsJoin()\n    cSQL::IsQualified()\n    cSQL::IsSqlZeroDate()\n    cSQL::IsSqlZeroDateTime()\n    cSQL::IsSqlZeroTime()\n    cSQL::IsSubquerySQL()\n    cSQL::IsSubqueryStatement()\n    cSQL::IsValidFieldName()\n    cSQL::PositionEndFunctionSQL()\n    cSQL::RemoveAlias()\n    cSQL::RemoveAll()\n    cSQL::RemoveEscapes()\n    cSQL::RemoveFunctions()\n    cSQL::RemoveQualification()\n    cSQL::SchemaNameIn()\n    cSQL::SetExtraIdentifier()\n    cSQL::SetExtraStartIdentifier()\n    cSQL::SplitQualifiedFieldname()\n    cSQL::SqlDate2DateTime()\n    cSQL::SqlDateTime2DateTime()\n    cSQL::SqlTime2DateTime()\n    cSQL::TableNameIn()\n\n## Installation\n\nThis project assumes you have composer installed. Simply add:\n\n    \"require\" : {\n\n        \"rstoetter/csql-php\" : \"\u003e=1.0.0\"\n\n    }\n\nto your composer.json, and then you can simply install with:\n\n    composer install\n\n## more information\n\nSee the [project wiki](https://github.com/rstoetter/csql-php/wiki) for more information.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstoetter%2Fcsql-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frstoetter%2Fcsql-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frstoetter%2Fcsql-php/lists"}