CodeIgniter is a PHP full-stack web framework that is light, fast, flexible and secure. More information can be found at the official site.
This repository holds a composer-installable app starter. It has been built from the development repository.
More information about the plans for version 4 can be found in CodeIgniter 4 on the forums.
The user guide corresponding to the latest version of the framework can be found here.
PHP version 7.4 or higher is required, with the following extensions installed:
Additionally, make sure that the following extensions are enabled in your PHP:
- json (enabled by default - don't turn it off)
- mysqlnd if you plan to use MySQL
- libcurl if you plan to use the HTTP\CURLRequest library
- Open the
xampp/htdocs
folder and clone this repository to your local machinegit clone https://github.com/Marwahns/pos_workshop_codeigniter.git
command - Open the
pos_workshop_codeigniter
folder in your code editor, then rename theenv
file to.env
- Create a database in mysql, you can use phpmyadmin. Next open the
pos_workshop_codeigniter folder
and open theenv
file then look at thedatabase.default.database = pos_bengkel
section, changepos_bengkel
to the name of the database you just created - Next, open the
database.php
file, adjust the database name to the database name that was previously created - Open a localhost web server such as (XAMPP, MAMP, LAMPP, etc), then activate Apache and MySQL
- Open terminal/cmd, navigate to the
pos_workshop_codeigniter
folder. Run thecomposer install
command. After that, run the following commands incrementallyphp spark migrate php spark db:seed DatabaseSeeder php spark serve
- If there is no problem, then please access the page
http://localhost:8081/
then the login page should appear
- Login as Super Admin
- username : superadmin
- password : superadmin
- Login as Admin
- username : admin
- password : admin
- Login as Kasir
- username : kasir
- password : kasir