ricardogj08/semillero

chore: Agrega dependencia para manejo de actualizaciones

Commit 4b7964c · Ricardo García Jiménez · 2026-09-11T15:13:42-06:00

Changeset
4b7964c8ad098cc5824d77737c3ecdf4872784e8
Parents
fb767ccb8adf8610eb9870f86a69609c4bebeede

View source at this commit

chore: Agrega dependencia para manejo de actualizaciones

Signed-off-by: Ricardo García Jiménez <[email protected]>

Comments

No comments yet.

Log in to comment

Diff

diff --git a/app/Views/layouts/base.php b/app/Views/layouts/base.php
new file mode 100644
index 0000000..c1cad5f
--- /dev/null
+++ b/app/Views/layouts/base.php
@@ -0,0 +1,14 @@
+<!doctype html>
+<html lang="es">
+  <head>
+    <meta charset="utf-8">
+    <meta name="viewport" content="width=device-width, initial-scale=1">
+    <title><?= $this->renderSection('page_title') ?></title>
+    <link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/litera/bootstrap.min.css" rel="stylesheet" integrity="sha256-t6VoXlrqqUUJ6PiHR7EZW/HkXXOVgn1q7i4K4ZcZCqc=" crossorigin="anonymous">
+    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/htmx.min.js" integrity="sha384-H5SrcfygHmAuTDZphMHqBJLc3FhssKjG7w/CeCpFReSfwBWDTKpkzPP8c+cLsK+V" crossorigin="anonymous"></script>
+  </head>
+  <body>
+    <?= $this->renderSection('page_content') ?>
+    <script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-FKyoEForCGlyvwx9Hj09JcYn3nv7wiPVlz7YYwJrWVcXK/BmnVDxM+D2scQbITxI" crossorigin="anonymous"></script>
+  </body>
+</html>
diff --git a/app/Views/layouts/dashboard.php b/app/Views/layouts/dashboard.php
new file mode 100644
index 0000000..045b8b0
--- /dev/null
+++ b/app/Views/layouts/dashboard.php
@@ -0,0 +1 @@
+<?= $this->extend('layouts/base') ?>
diff --git a/app/Views/users/create.php b/app/Views/users/create.php
new file mode 100644
index 0000000..14e178c
--- /dev/null
+++ b/app/Views/users/create.php
@@ -0,0 +1,3 @@
+<?= $this->extend('layouts/dashboard') ?>
+
+<?= $this->include('users/form') ?>
diff --git a/app/Views/users/edit.php b/app/Views/users/edit.php
new file mode 100644
index 0000000..14e178c
--- /dev/null
+++ b/app/Views/users/edit.php
@@ -0,0 +1,3 @@
+<?= $this->extend('layouts/dashboard') ?>
+
+<?= $this->include('users/form') ?>
diff --git a/app/Views/users/form.php b/app/Views/users/form.php
new file mode 100644
index 0000000..e69de29
diff --git a/app/Views/users/index.php b/app/Views/users/index.php
new file mode 100644
index 0000000..d0e8578
--- /dev/null
+++ b/app/Views/users/index.php
@@ -0,0 +1 @@
+<?= $this->extend('layouts/dashboard') ?>
diff --git a/composer.json b/composer.json
index 8a47633..b206438 100644
--- a/composer.json
+++ b/composer.json
@@ -20,7 +20,8 @@
         "codeigniter/coding-standard": "^1.9",
         "fakerphp/faker": "^1.9",
         "mikey179/vfsstream": "^1.6",
-        "phpunit/phpunit": "^10.5.16"
+        "phpunit/phpunit": "^10.5.16",
+        "tatter/patches": "^2.1"
     },
     "autoload": {
         "psr-4": {
diff --git a/composer.lock b/composer.lock
index a365003..6d665e2 100644
--- a/composer.lock
+++ b/composer.lock
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
         "This file is @generated automatically"
     ],
-    "content-hash": "586e91984691adfcd3a7fe5c04628077",
+    "content-hash": "e25de023ee67d183383d2bb99320dba2",
     "packages": [
         {
             "name": "codeigniter4/framework",
@@ -4903,6 +4903,65 @@
             ],
             "time": "2026-07-28T07:35:25+00:00"
         },
+        {
+            "name": "tatter/patches",
+            "version": "v2.1.0",
+            "source": {
+                "type": "git",
+                "url": "https://github.com/tattersoftware/codeigniter4-patches.git",
+                "reference": "0a6f3f103ad1b1c45f3b8d5ac4156b2848e8cc99"
+            },
+            "dist": {
+                "type": "zip",
+                "url": "https://api.github.com/repos/tattersoftware/codeigniter4-patches/zipball/0a6f3f103ad1b1c45f3b8d5ac4156b2848e8cc99",
+                "reference": "0a6f3f103ad1b1c45f3b8d5ac4156b2848e8cc99",
+                "shasum": ""
+            },
+            "require": {
+                "php": "^7.3 || ^8.0"
+            },
+            "bin": [
+                "src/patch"
+            ],
+            "type": "library",
+            "notification-url": "https://packagist.org/downloads/",
+            "license": [
+                "MIT"
+            ],
+            "authors": [
+                {
+                    "name": "Matthew Gatner",
+                    "email": "[email protected]",
+                    "homepage": "https://tattersoftware.com",
+                    "role": "Developer"
+                }
+            ],
+            "description": "Automated project updates for CodeIgniter 4",
+            "homepage": "https://github.com/tattersoftware/codeigniter4-patches",
+            "keywords": [
+                "automatic",
+                "autoupdate",
+                "codeigniter",
+                "codeigniter4",
+                "patches",
+                "update"
+            ],
+            "support": {
+                "issues": "https://github.com/tattersoftware/codeigniter4-patches/issues",
+                "source": "https://github.com/tattersoftware/codeigniter4-patches/tree/v2.1.0"
+            },
+            "funding": [
+                {
+                    "url": "https://paypal.me/tatter",
+                    "type": "custom"
+                },
+                {
+                    "url": "https://github.com/tattersoftware",
+                    "type": "github"
+                }
+            ],
+            "time": "2023-09-26T12:23:22+00:00"
+        },
         {
             "name": "theseer/tokenizer",
             "version": "1.3.1",