php spark serve
PHP version 7.4 or higher is required, with the following extensions installed:
Additionally, make sure that the following extensions are enabled in your PHP:
- json (enabled by default - don't turn it off)
- xml (enabled by default - don't turn it off)
- mysqlnd
Information on running the CodeIgniter test suite can be found in the README.md file in the tests directory.
PHP >= 7.4.
https://github.com/agungsugiarto/codeigniter4-cors composer require agungsugiarto/codeigniter4-cors
CI_ENVIRONMENT = production app.baseURL = 'https://sprint09.cerolab.com/'
database.default.hostname = etzpmvnbob.mysql.db ... database.default.DBDriver = MySQLi
RewriteRule ^(.*)$ index.php?/$1 [L]
Then building (I use Bamboo, but a shell script would do):
- clone the repository to a directory
- running composer install to install all packages (including development packages)
- running phpunit to go through all the tests
- running composer --no-dev update to remove all composer packages that are for development and testing
- deleting my own tests directory