This project is just a test in codeigniter 4 and doesn't have a useful function
-
Clone the project.
git clone git@github.com:Sohib/categories.git
-
Run Composer install
cd categories composer install
-
Copy
env
and name it.env
then open it and verify the settings:CI_ENVIRONMENT = development
to enable error- Edit the database settings to match your database.
- Next make sure that
app.baseURL
matches whatever you are currently running your site at. If you use spark, then it already matches the default. If this doesn't match, then generated links might not work, and your developer toolbar will never show up.
-
Run the following commands
php spark migrate php spark db:seed CategoriesSeeder
-
Run the Server
php spark serve
PHP version 7.3 or higher is required, with the following extensions installed:
Additionally, make sure that the following extensions are enabled in your PHP: