This is a simple CRUD created with Codeigniter4. This application has all the features implemented such as create, read, update and delete. It allows to add first name, last name and photo information. It also has validations and is responsive.
- Local Server: XAMPP, WAMP, Laragon, etc.
- PHPMyAdmin
-
In the command line clone the repository into the folder of local server.
git clone https://github.com/BryanttV/crud-codeigniter4.git
-
In the folder /crud-codeigniter4 update composer.
composer update
-
Modificate baseURL in app/config/App.php
// Example // public $baseURL = 'https://crud-codeigniter4.test/'; public $baseURL = 'your_url';
-
Create database in PHPMyAdmin
-- Example -- CREATE DATABASE crud_codeigniter4 CREATE DATABASE name_database
-
Modificate database in /app/config/Database.php
public $default = [ 'DSN' => '', 'hostname' => 'localhost', 'username' => 'your_user', 'password' => 'your_password', 'database' => 'your_db', 'DBDriver' => 'MySQLi', 'DBPrefix' => '', 'pConnect' => false, 'DBDebug' => (ENVIRONMENT !== 'production'), 'charset' => 'utf8', 'DBCollat' => 'utf8_general_ci', 'swapPre' => '', 'encrypt' => false, 'compress' => false, 'strictOn' => false, 'failover' => [], 'port' => 3306, ];
-
Make migrations into the command line
php spark migrate
Access to localhost path and added a new person in the CRUD. Type your name, lastname, age, and upload a image. You can edit and delete the person.
Distributed under the MIT License. See LICENSE
for more information.
Linkedin: BryanttV
Project Link: crud-codeigniter4