Skip to content

Latest commit

 

History

History
327 lines (266 loc) · 9.74 KB

utils-php.md

File metadata and controls

327 lines (266 loc) · 9.74 KB

PHP

STANDARD

INSTALL

COMPOSER

composer dump-autoload (GENERATE import class)
composer update (update dependecies & generate import class)

XAMPP VIRTUAL HOST

  1. Open and edit like below the file: C:/xampp/apache/conf/extra/httpd-vhosts.conf
<VirtualHost *:80>
ServerAdmin [email protected]
DocumentRoot "C:/xampp3/htdocs/projectfolder/public"
ServerName myurl.test
</VirtualHost>

If you want to use directory external to your default htdocs then you need to add to the VirtualHost> tag the following:

<Directory "D:/Work/mypath/example">
    Require all granted    
</Directory>
  1. Open and edit like below the file: C:\Windows\System32\drivers\etc\hosts
127.0.0.1      myurl.test

More infos:

XAMPP INCLUDE HTML PAGES

c:/xampp/apache/conf/httpd.conf
Search for:
AddType text/html .shtml
Add the below two lines:
AddType text/html .html
AddOutputFilter INCLUDES .html
Go to Xampp Control Panel and stop the session and restart again.
Refresh the page in browser and see, the virtual includes will start working.
<!--#include virtual="/fr/header.html" -->
<!--#include virtual="/se/site/as-html-web/site/fr/header.html" -->

HOST

SECURITY

LISTS

LIBS: ALL

SERVERLESS

STARTER

FRAMEWORKS

DEVTOOLS

LIB:

SLIM PHP UTILS

SLIM PHP V3 SKELETON

SLIM PHP V4 SKELETON

SLIM PHP AUTH JWT

PSR15

SLIM PHP TEST

CMS / HEADLESS

ASYNCRONOUS ASYNCRONOUS

AUTODEPLOY

IDE + EXTENSION

CQRS / DDD / EventSourcing

XAMPP

xampp multiple !:

ENV CONF

SSO

VALIDATION

IMAGE

PUSH

MYSQL

LIBS

TESTS

ORM

PDO WRAPPER (ORM ALTERNATIVE)

PDF LIB

PROXY

STATIC ANALYZER / ANALYZYS

PHP VSCODE EXTENSIONS

Apache Conf API Elements extension change-case Composer Docker MySQL Syntax openapi-lint PHP Debug PHP DocBlocker PHP Intelephense PHP Mess Detector PHP Namespace Resolver PHP Phan (Analyzer) phpcbf phpcs XML Tools YAML