Skip to content

Commit 92986a1

Browse files
update README.md
1 parent 8ca23ec commit 92986a1

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,20 @@ CI-4: Basic API starter kit for CodeIgniter4.
1616
composer require sushilk/codeigniter4-api
1717
```
1818
```bash
19-
php sprak make:api
19+
php spark make:api login
2020
```
2121
---
2222

2323
### Example
2424

2525
```php
2626

27-
$route->get('/api/login');
28-
$route->post('/api/register');
27+
$routes->get('/api/login');
28+
$routes->post('/api/register');
2929

3030
```
3131

3232
---
3333

34+
### License
35+
CodeIgniter4-API is released under the MIT License. See [`LICENSE`](LICENSE) for details.

0 commit comments

Comments
 (0)