{"id":21698070,"url":"https://github.com/parzibyte/sql-server-pdo-php-crud","last_synced_at":"2025-09-17T20:07:45.354Z","repository":{"id":101794461,"uuid":"190448247","full_name":"parzibyte/sql-server-pdo-php-crud","owner":"parzibyte","description":"Conexión de PHP con SQL Server usando PDO. Ejemplos y aplicación web","archived":false,"fork":false,"pushed_at":"2019-06-05T18:42:23.000Z","size":30,"stargazers_count":5,"open_issues_count":0,"forks_count":8,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-16T06:03:08.433Z","etag":null,"topics":["odbc","pdo","php","sql-server"],"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/parzibyte.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":"2019-06-05T18:32:23.000Z","updated_at":"2024-07-27T22:49:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"e38195ad-388a-4057-aa88-2c68e696844d","html_url":"https://github.com/parzibyte/sql-server-pdo-php-crud","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/parzibyte/sql-server-pdo-php-crud","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parzibyte%2Fsql-server-pdo-php-crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parzibyte%2Fsql-server-pdo-php-crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parzibyte%2Fsql-server-pdo-php-crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parzibyte%2Fsql-server-pdo-php-crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parzibyte","download_url":"https://codeload.github.com/parzibyte/sql-server-pdo-php-crud/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parzibyte%2Fsql-server-pdo-php-crud/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275657192,"owners_count":25504767,"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-09-17T02:00:09.119Z","response_time":84,"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":["odbc","pdo","php","sql-server"],"created_at":"2024-11-25T19:31:17.334Z","updated_at":"2025-09-17T20:07:45.312Z","avatar_url":"https://github.com/parzibyte.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Conexión de SQL Server con PHP usando PDO\nMira el tutorial aquí: [https://parzibyte.me/blog/2019/06/05/conectar-php-sql-server-pdo-crud-ejemplo/](https://parzibyte.me/blog/2019/06/05/conectar-php-sql-server-pdo-crud-ejemplo/)\n\nAprovechando que para unas cosas de la escuela tuve que instalar SQL Server y SQL Server Management Studio (ya que por voluntad propia no lo haría jamás) decidí  **conectar PHP con SQL Server**  y hacer un  **CRUD**, es decir, create, read, update y delete de una base de datos de SQL Server.\n\nAl final tendremos una aplicación web como la siguiente, basada en una  [plantilla de Bootstrap 4](https://parzibyte.me/blog/2019/05/09/plantilla-inicial-bootstrap-4-starter-template/).\n\n[![](https://i2.wp.com/parzibyte.me/blog/wp-content/uploads/2019/06/SQL-Server-y-PHP.png?resize=750%2C361\u0026ssl=1)](https://i2.wp.com/parzibyte.me/blog/wp-content/uploads/2019/06/SQL-Server-y-PHP.png?ssl=1)\n\n## Preparar entorno\n\nRecuerda  [instalar SQL Server](https://parzibyte.me/blog/2019/05/15/instalar-sql-server-2016-windows-10/) y  [SSMS](https://parzibyte.me/blog/2019/05/15/instalacion-microsoft-sql-server-management-studio-windows-10/)  para que puedas probar la conexión. También te sugiero  [crear un nuevo usuario](https://parzibyte.me/blog/2019/06/03/anadir-usuario-sql-server-nuevo-inicio-sesion/)  y darle permiso de acceso a las bases de datos.\n\nUn paso obligatorio es  [instalar la extensión de SQL Server en PHP](https://parzibyte.me/blog/2019/06/05/instalar-extension-pdo-sql-server-pdo-php/).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparzibyte%2Fsql-server-pdo-php-crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparzibyte%2Fsql-server-pdo-php-crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparzibyte%2Fsql-server-pdo-php-crud/lists"}