Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

Sample of CodeIgniter3 News Tutorial upgraded to CodeIgniter4 using ci3-to-4-upgrade-helper
https://github.com/kenjis/ci3-to-4-news

codeigniter3 codeigniter4 upgrade-helper

Last synced: 27 days ago
JSON representation

Sample of CodeIgniter3 News Tutorial upgraded to CodeIgniter4 using ci3-to-4-upgrade-helper

Awesome Lists containing this project

README

        

# Upgrade CodeIgniter3 News Tutorial to CodeIgniter4

This repository is a sample of [CodeIgniter3 News Tutorial](https://github.com/kenjis/ci3-news) upgraded to CodeIgniter4 using *[ci3-to-4-upgrade-helper](https://github.com/kenjis/ci3-to-4-upgrade-helper)*.

See .

## Folder Structure

```
ci3-to-4-news/
├── app/
├── tests/
├── composer.json
├── composer.lock
├── public/
│   ├── .htaccess
│   └── index.php
└── vendor/
└── codeigniter4/
   └── framework/
```

## Requirements

- PHP 7.4 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-to-4-news
$ cd ci3-to-4-news/
$ composer install
```

### Database Migration and Seeding

```
$ php spark migrate
$ php spark db:seed NewsSeeder
```

### Run PHP built-in Server

```
$ php spark serve
```

### Run PHPUnit Tests

```
$ composer test
```

## Related Projects for CodeIgniter 4.x

### Libraries

- [CodeIgniter 3 to 4 Upgrade Helper](https://github.com/kenjis/ci3-to-4-upgrade-helper)
- [CodeIgniter3-like Captcha](https://github.com/kenjis/ci3-like-captcha)
- [PHPUnit Helper](https://github.com/kenjis/phpunit-helper)
- [CodeIgniter4 Attribute Routes](https://github.com/kenjis/ci4-attribute-routes)
- [CodeIgniter Simple and Secure Twig](https://github.com/kenjis/codeigniter-ss-twig)
- [CodeIgniter4 Viewi Demo](https://github.com/kenjis/ci4-viewi-demo)

### Tutorials

- [CodeIgniter 4 News Tutorial](https://github.com/kenjis/ci4-news)
- [CodeIgniter 4 Validation Tutorial](https://github.com/kenjis/ci4-validation-tutorial)
- [CodeIgniter4 Code Modules Test](https://github.com/kenjis/ci4-modules-test)
- [CodeIgniter 4 File Upload](https://github.com/kenjis/ci4-file-upload)

### Building Development Environment

- [CodeIgniter4 Application Template](https://github.com/kenjis/ci4-app-template)
- [CodeIgniter4 Composer Installer](https://github.com/kenjis/ci4-composer-installer)
- [docker-codeigniter-apache](https://github.com/kenjis/docker-codeigniter-apache)