Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kenjis/ci4-qb-batch-sample

CodeIgniter 4 QueryBuilder Batch Sample
https://github.com/kenjis/ci4-qb-batch-sample

codeigniter codeigniter4

Last synced: 9 days ago
JSON representation

CodeIgniter 4 QueryBuilder Batch Sample

Awesome Lists containing this project

README

        

# CodeIgniter 4 QueryBuilder Batch Sample

This is a sample to upload a CSV file and import to the database
using `QueryBuilder::insertBatch()` or `updateBatch()`.

## Requirements

- MySQL
- PHP 7.4 to 8.1

## Setup

```console
$ cd ci4-qb-batch-sample/
$ composer install
$ php spark migrate
```

```console
$ php spark serve
```

Navigate to http://localhost:8080/