{"id":23629634,"url":"https://github.com/asilvafx/php-sqlite-crud","last_synced_at":"2026-04-10T00:51:35.945Z","repository":{"id":270012790,"uuid":"909134836","full_name":"asilvafx/php-sqlite-crud","owner":"asilvafx","description":"Simple PHP Slim Database CRUD application using SQLite3.","archived":false,"fork":false,"pushed_at":"2024-12-27T20:29:04.000Z","size":0,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T21:24:56.260Z","etag":null,"topics":["api","crud","database","php","php-slim-framework","sqlite"],"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/asilvafx.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":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-12-27T20:26:30.000Z","updated_at":"2024-12-27T20:30:13.000Z","dependencies_parsed_at":"2024-12-27T21:25:15.198Z","dependency_job_id":"62393c06-5972-483a-992a-3fc23c6e3b91","html_url":"https://github.com/asilvafx/php-sqlite-crud","commit_stats":null,"previous_names":["asilvafx/php-sqlite-crud"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asilvafx%2Fphp-sqlite-crud","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asilvafx%2Fphp-sqlite-crud/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asilvafx%2Fphp-sqlite-crud/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asilvafx%2Fphp-sqlite-crud/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asilvafx","download_url":"https://codeload.github.com/asilvafx/php-sqlite-crud/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239546864,"owners_count":19657042,"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":["api","crud","database","php","php-slim-framework","sqlite"],"created_at":"2024-12-28T01:16:26.888Z","updated_at":"2025-12-30T21:31:47.139Z","avatar_url":"https://github.com/asilvafx.png","language":"PHP","readme":"# PHP SQLite CRUD\n\nSimple PHP Slim Database CRUD application using SQLite3.\n\n## Table of Contents\n\n- [Introduction](#introduction)\n- [Features](#features)\n- [Installation](#installation)\n- [Usage](#usage)\n- [API Endpoints](#api-endpoints)\n- [Contributing](#contributing)\n- [License](#license)\n\n## Introduction\n\nThis project is a simple CRUD (Create, Read, Update, Delete) application built with PHP Slim and SQLite3. It provides a basic REST API for interacting with an SQLite database.\n\n## Features\n\n- Middleware for JSON parsing using PHP Slim.\n- CRUD operations on any specified table.\n- Easy to start and deploy.\n\n## Installation\n\nTo install and set up the project, follow these steps:\n\n1. Clone the repository:\n  ```\n  git clone https://github.com/asilvafx/php-sqlite-crud.git\n  cd php-sqlite-crud\n  ```\n\n2. Install the dependencies:\n  ```\n  composer install\n  ```\n\n## Usage\nTo start the server, run:\n  ```\n  php -S localhost:8000\n  ```\n\nThe server will start on the port specified in the .env file (default is 3000).\n\n## API Endpoints\n1. Get all items from a specified table\n  ```\n  GET /:tableName\n  ```\n\n2. Create a new item in a specified table\n  ```\n  POST /:tableName\n  ```\n\n4. Update an item in a specified table\n  ```\n  PUT /:tableName/:id\n  ```\n\n5. Delete an item from a specified table\n  ```\n  DELETE /:tableName/:id\n  ```\n\n## Contributing\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\nThis project is licensed under the MIT License. See the LICENSE file for details.\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasilvafx%2Fphp-sqlite-crud","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasilvafx%2Fphp-sqlite-crud","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasilvafx%2Fphp-sqlite-crud/lists"}