Skip to content

Commit 0ca9895

Browse files
Basic example and setup
1 parent 4888b04 commit 0ca9895

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

README.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,27 @@
11
# codeigniter4-api
2-
CI-4: Basic API starter kit for CodeIgniter4
2+
CI-4: Basic API starter kit for CodeIgniter4
3+
4+
5+
---
6+
7+
### Install
8+
9+
```bash
10+
composer require sushilk/codeigniter4-api
11+
```
12+
```bash
13+
php sprak make:api
14+
```
15+
---
16+
17+
### Example
18+
19+
```php
20+
21+
$route->get('/api/login');
22+
$route->post('/api/register');
23+
24+
```
25+
26+
---
27+

0 commit comments

Comments
 (0)