{"id":17613889,"url":"https://github.com/marktopper/doctrine-dbal-timestamp-type","last_synced_at":"2025-04-10T04:58:19.257Z","repository":{"id":54687191,"uuid":"74677997","full_name":"marktopper/doctrine-dbal-timestamp-type","owner":"marktopper","description":"Add the timestamp type for Doctrine/DBAL","archived":false,"fork":false,"pushed_at":"2024-03-06T10:06:47.000Z","size":8,"stargazers_count":48,"open_issues_count":2,"forks_count":9,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-01T23:32:45.176Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/marktopper.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2016-11-24T13:57:54.000Z","updated_at":"2024-08-24T10:50:27.000Z","dependencies_parsed_at":"2024-06-18T18:44:37.672Z","dependency_job_id":null,"html_url":"https://github.com/marktopper/doctrine-dbal-timestamp-type","commit_stats":{"total_commits":13,"total_committers":4,"mean_commits":3.25,"dds":0.3076923076923077,"last_synced_commit":"50a4954ac452e46a18c2d48deeabadcf2b01cd71"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marktopper%2Fdoctrine-dbal-timestamp-type","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marktopper%2Fdoctrine-dbal-timestamp-type/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marktopper%2Fdoctrine-dbal-timestamp-type/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marktopper%2Fdoctrine-dbal-timestamp-type/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marktopper","download_url":"https://codeload.github.com/marktopper/doctrine-dbal-timestamp-type/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248161264,"owners_count":21057554,"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-10-22T18:14:55.723Z","updated_at":"2025-04-10T04:58:19.237Z","avatar_url":"https://github.com/marktopper.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Doctrine/DBAL Timestamp Type\nSince Doctrine/DBAL does not support the MySQL Timestamp type, you might want to add it on your own using this package.\n\n## Why using this?\nAccording to [this issue](https://github.com/doctrine/dbal/issues/2558), [Doctrine/DBAL](https://github.com/doctrine/dbal) does not support MySQL-specific database types like this one. Therefor we must add it ourself.\n\n## Installation\n```\ncomposer require marktopper/doctrine-dbal-timestamp-type\n```\n\nThen add the type to `Doctrine\\DBAL`:\n```\n\\Doctrine\\DBAL\\Types\\Type::addType('timestamp', 'MarkTopper\\DoctrineDBALTimestampType\\TimestampType');\n```\n\n### Laravel 5\nYou can use the Laravel Provider to ensure that the type is added to Doctrine\\DBAL by adding the following to providers:\n```\nMarkTopper\\DoctrineDBALTimestampType\\Laravel5ServiceProvider::class,\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarktopper%2Fdoctrine-dbal-timestamp-type","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarktopper%2Fdoctrine-dbal-timestamp-type","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarktopper%2Fdoctrine-dbal-timestamp-type/lists"}