simple run nginx over php 8
run php8 first php-cgi.exe -b 127.0.0.1:9999 config for nginx.conf http { include mime.types; default_type application/octet-stream; server { listen …
Danang Setya Pramana - Working Memory
This is my working memory when i forgot some command and some code for my work
run php8 first php-cgi.exe -b 127.0.0.1:9999 config for nginx.conf http { include mime.types; default_type application/octet-stream; server { listen …
buat file php di root folder Codeigniter agar overide method php intellipense agar tidak terjadi error namespace CodeIgniter; /** * Class Controller */ class Controller { /** * Instance…
install phpunit via composer composer require --dev phpunit/phpunit on root folder tambahkan file phpunit.xml.dist <phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="system/Test/bootstrap.php" backupGlobals="false" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnError="false" stopOnFailure="false" stopOnIncomplete="false" stopOnSkipped="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"> <coverage includeUncoveredFiles="true" processUncoveredFiles="true">…
composer installation composer create-project codeigniter4/appstarter project-root
Php Unit Test CLI untuk codeigniter //untuk menjalankan semua unit test .\vendor\bin\phpunit .\core\tests\app\libraries\FunctionName.php //untuk menjalankan 1 unit test .\vendor\bin\phpunit --filter testSpecifiedMethod .\core\tests\app\libraries\FunctionName.php