kenjis / codeigniter-composer-installer

Installs the offical CodeIgniter 3 with secure folder structure via Composer
MIT License
377 stars 118 forks source link

Cannot find index.php #39

Closed imben1109 closed 6 years ago

imben1109 commented 6 years ago

I have tried

$ composer create-project kenjis/codeigniter-composer-installer example

However, it is found that it is missing index.php in the example folder. If the codeigniter is downloaded from the official page, it would include index.php.

Thanks.

kenjis commented 6 years ago

@imben1109

It is by design. See https://github.com/kenjis/codeigniter-composer-installer#folder-structure.

imben1109 commented 6 years ago

@kenjis Without index.php, how CodeIngiter operate? Sorry for my silly question.

kenjis commented 6 years ago

@imben1109 Not index.php, but public/index.php.

imben1109 commented 6 years ago

if I just run following command, could I run application.

cd public
php -S localhost:8080