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

https://github.com/kenjis/ci3-news

CodeIgniter 3 News Tutorial
https://github.com/kenjis/ci3-news

codeigniter3 phpunit phpunit-tests tutorial

Last synced: about 1 month ago
JSON representation

CodeIgniter 3 News Tutorial

Awesome Lists containing this project

README

        

# CodeIgniter 3 News Tutorial

See .

If you want CodeIgniter4 version, see .

## Folder Structure

```
codeigniter/
├── application/
├── composer.json
├── composer.lock
├── public/
│   ├── .htaccess
│   └── index.php
└── vendor/
└── codeigniter/
   └── framework/
   └── system/
```

## Requirements

- PHP 7.2 or later
- `composer` command (See [Composer Installation](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-macos))
- Git

## How to Use

### Installation

```
$ git clone https://github.com/kenjis/ci3-news
$ cd /path/to/ci3-news/
$ composer install
```

### Database Migration and Seeding

```
$ php public/index.php dbfixture/migrate
$ php public/index.php dbfixture/seed
```

### Run PHP built-in Server

```
$ bin/server.sh
```

### Run PHPUnit Tests

```
$ composer test
$ composer coverage
```

## Related Projects for CodeIgniter 3.x

- [ci-phpunit-test](https://github.com/kenjis/ci-phpunit-test)
- [CodeIgniter Composer Installer](https://github.com/kenjis/codeigniter-composer-installer)
- [Cli for CodeIgniter 3.0](https://github.com/kenjis/codeigniter-cli)
- [CodeIgniter Simple and Secure Twig](https://github.com/kenjis/codeigniter-ss-twig)
- [CodeIgniter Doctrine](https://github.com/kenjis/codeigniter-doctrine)
- [CodeIgniter Deployer](https://github.com/kenjis/codeigniter-deployer)
- [CodeIgniter3 Filename Checker](https://github.com/kenjis/codeigniter3-filename-checker)
- [CodeIgniter Widget (View Partial) Sample](https://github.com/kenjis/codeigniter-widgets)
- [CodeIgniter3 Namespaced Controller](https://github.com/kenjis/codeigniter3-namespaced-controller)