{"id":18963773,"url":"https://github.com/opensoft/doctrine-postgres-types","last_synced_at":"2025-04-05T17:07:37.829Z","repository":{"id":5903171,"uuid":"7121957","full_name":"opensoft/doctrine-postgres-types","owner":"opensoft","description":"Provide common Doctrine types for Postgres in use at Opensoft","archived":false,"fork":false,"pushed_at":"2024-05-02T03:06:38.000Z","size":46,"stargazers_count":68,"open_issues_count":5,"forks_count":24,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-29T16:06:26.694Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/opensoft.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2012-12-12T00:36:43.000Z","updated_at":"2023-11-14T20:15:19.000Z","dependencies_parsed_at":"2024-06-18T15:31:30.082Z","dependency_job_id":"2980b010-b726-4564-baef-6d0c0bf20aac","html_url":"https://github.com/opensoft/doctrine-postgres-types","commit_stats":{"total_commits":33,"total_committers":11,"mean_commits":3.0,"dds":0.6666666666666667,"last_synced_commit":"5b3936e386c0992f76de8ff45487a4597d2c2064"},"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fdoctrine-postgres-types","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fdoctrine-postgres-types/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fdoctrine-postgres-types/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opensoft%2Fdoctrine-postgres-types/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opensoft","download_url":"https://codeload.github.com/opensoft/doctrine-postgres-types/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247369952,"owners_count":20927928,"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":[],"created_at":"2024-11-08T14:21:38.716Z","updated_at":"2025-04-05T17:07:37.773Z","avatar_url":"https://github.com/opensoft.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"Provides Common Postgres Types for Doctrine\n-------------------------------------------\n\n[![Build Status](https://secure.travis-ci.org/opensoft/doctrine-postgres-types.png?branch=master)](http://travis-ci.org/opensoft/doctrine-postgres-types)\n\nProvides Doctrine Type classes for common postgres types\n\n### Installation\n\n```bash\ncomposer require opensoft/doctrine-postgres-types\n```\n\n### Usage\n\n#### Using with Symfony2 Doctrine Configuration\n\n    # Doctrine Configuration\n    doctrine:\n        dbal:\n            types:\n                text_array: \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\TextArrayType\"\n                int_array: \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\IntArrayType\"\n                ts_vector: \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\TsvectorType\"\n                ts_query: \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\TsqueryType\"\n                xml: \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\XmlType\"\n                inet: \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\InetType\"\n                macaddr: \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\MacAddrType\"\n            mapping_types:\n                _text: text_array\n                _int4: int_array\n                tsvector: ts_vector\n                tsquery: ts_query\n                xml: xml\n                inet: inet\n                macaddr: macaddr\n\n#### Using with Doctrine\n\n    \u003c?php\n\n    use Doctrine\\DBAL\\Types\\Type;\n\n    Type::addType('text_array', \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\TextArrayType\");\n    Type::addType('int_array', \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\IntArrayType\");\n    Type::addType('tsvector', \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\TsvectorType\");\n    Type::addType('tsquery', \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\TsqueryType\");\n    Type::addType('xml', \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\XmlType\");\n    Type::addType('inet', \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\InetType\");\n    Type::addType('macaddr', \"Doctrine\\\\DBAL\\\\PostgresTypes\\\\MacAddrType\");\n\n### License\n\nLicensed under the MIT License\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensoft%2Fdoctrine-postgres-types","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopensoft%2Fdoctrine-postgres-types","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopensoft%2Fdoctrine-postgres-types/lists"}