brunoakun / strint-9-api_php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

CodeIgniter 4

Server Requirements

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

Running CodeIgniter Tests

Information on running the CodeIgniter test suite can be found in the README.md file in the tests directory.


PUBLICAR en server compartido:

PHP >= 7.4.

cors:

https://github.com/agungsugiarto/codeigniter4-cors composer require agungsugiarto/codeigniter4-cors

modificar .env

CI_ENVIRONMENT = production app.baseURL = 'https://sprint09.cerolab.com/'

database.default.hostname = etzpmvnbob.mysql.db ... database.default.DBDriver = MySQLi

modificar public/.htaccess

RewriteRule ^(.*)$ index.php?/$1 [L]


vendor folder for deployment

Then building (I use Bamboo, but a shell script would do):

  1. clone the repository to a directory
  2. running composer install to install all packages (including development packages)
  3. running phpunit to go through all the tests
  4. running composer --no-dev update to remove all composer packages that are for development and testing
  5. deleting my own tests directory

About

License:MIT License


Languages

Language:PHP 97.8%Language:JavaScript 1.1%Language:CSS 0.8%Language:Smarty 0.2%Language:HTML 0.0%Language:Python 0.0%Language:Hack 0.0%