{"id":30732685,"url":"https://github.com/alfonsovidrio/crud-php","last_synced_at":"2026-04-14T04:31:40.135Z","repository":{"id":311238322,"uuid":"1042988413","full_name":"AlfonsoVidrio/crud-php","owner":"AlfonsoVidrio","description":"A simple CRUD (Create, Read, Update, Delete) system developed in PHP with MySQL and Bootstrap for user management.","archived":false,"fork":false,"pushed_at":"2025-08-22T23:53:08.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-03T17:52:16.721Z","etag":null,"topics":["bootstrap","javascript","mysql","php"],"latest_commit_sha":null,"homepage":"","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/AlfonsoVidrio.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,"zenodo":null}},"created_at":"2025-08-22T23:27:16.000Z","updated_at":"2025-08-22T23:54:26.000Z","dependencies_parsed_at":"2025-08-23T01:36:35.620Z","dependency_job_id":"4fbedff4-8e22-490e-9622-af565126a422","html_url":"https://github.com/AlfonsoVidrio/crud-php","commit_stats":null,"previous_names":["alfonsovidrio/crud-php"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AlfonsoVidrio/crud-php","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlfonsoVidrio%2Fcrud-php","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlfonsoVidrio%2Fcrud-php/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlfonsoVidrio%2Fcrud-php/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlfonsoVidrio%2Fcrud-php/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlfonsoVidrio","download_url":"https://codeload.github.com/AlfonsoVidrio/crud-php/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlfonsoVidrio%2Fcrud-php/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31782736,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap","javascript","mysql","php"],"created_at":"2025-09-03T17:48:27.195Z","updated_at":"2026-04-14T04:31:40.130Z","avatar_url":"https://github.com/AlfonsoVidrio.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CRUD PHP\n\nA simple CRUD (Create, Read, Update, Delete) system developed in PHP with MySQL and Bootstrap for user management.\n\n## 📋 Features\n\n- ✅ **Create** new users\n- ✅ **Read** and display user list\n- ✅ **Update** existing user information\n- ✅ **Delete** users with confirmation\n- ✅ Feedback messages with auto-hide\n- ✅ Required field validation\n\n## 🛠️ Technologies Used\n\n- **Backend:** PHP 8+\n- **Database:** MySQL\n- **Frontend:** HTML5, CSS3, Bootstrap 5\n- **Icons:** Bootstrap Icons\n- **JavaScript:** For confirmations and messages\n\n## 📦 Project Structure\n\n```\nCRUD_php/\n├── controller/          # Application controllers\n│   ├── register.php    # User registration logic\n│   ├── edit.php        # User update logic\n│   └── delete.php      # User deletion logic\n├── model/              # Data model\n│   └── connection.php  # Database connection\n├── utils/              # Utilities\n│   └── messages.php    # Function to display messages\n├── edit.php           # User editing page\n├── index.php          # Main page\n└── README.md          # This file\n```\n\n## 🚀 Installation\n\n1. **Clone the repository:**\n   ```bash\n   git clone https://github.com/AlfonsoVidrio/crud-php.git\n   cd crud-php\n   ```\n\n2. **Configure the database:**\n   - Create a database named `crud_php`\n   - Execute the following SQL to create the table:\n\n   ```sql\n   CREATE TABLE users (\n       id INT AUTO_INCREMENT PRIMARY KEY,\n       name VARCHAR(100) NOT NULL,\n       lastname VARCHAR(100) NOT NULL,\n       dni VARCHAR(20) NOT NULL UNIQUE,\n       birthday DATE NOT NULL,\n       email VARCHAR(150) NOT NULL UNIQUE\n   );\n   ```\n\n3. **Configure the connection:**\n   - Edit `model/connection.php` with your database credentials:\n   ```php\n   $connection = new mysqli(\"localhost\", \"your_username\", \"your_password\", \"crud_php\", 3306);\n   ```\n\n4. **Start the server:**\n   ```bash\n   php -S localhost:8000\n   ```\n\n5. **Access the application:**\n   Open your browser at `http://localhost:8000`\n\n## 📸 Screenshot\n\u003cimg width=\"1920\" height=\"868\" alt=\"crud-php\" src=\"https://github.com/user-attachments/assets/e443b969-ae6f-4bc8-98b1-292788e3a130\" /\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfonsovidrio%2Fcrud-php","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfonsovidrio%2Fcrud-php","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfonsovidrio%2Fcrud-php/lists"}