informatique:php
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
informatique:php [15/01/2017 20:16] – [Outillage] Eclipse plugin PHP Tool Integration (PTI) cyrille | informatique:php [08/09/2023 07:41] (Version actuelle) – [Outillage] cyrille | ||
---|---|---|---|
Ligne 6: | Ligne 6: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
+ | |||
+ | |||
+ | PHP8 Attributes | ||
+ | * https:// | ||
+ | * https:// | ||
+ | |||
+ | |||
[[/ | [[/ | ||
- | Installer Php/ | + | |
+ | Installer | ||
+ | < | ||
+ | sudo apt install software-properties-common | ||
+ | sudo add-apt-repository ppa: | ||
+ | sudo apt update | ||
+ | </ | ||
===== Application Frameworks ===== | ===== Application Frameworks ===== | ||
Ligne 30: | Ligne 44: | ||
* [[http:// | * [[http:// | ||
* [[http:// | * [[http:// | ||
- | * [[http://cakePhp.org|CakePHP]] : [[wpfr> | + | * [[/informatique/ |
* [[http:// | * [[http:// | ||
Ligne 74: | Ligne 88: | ||
[[/ | [[/ | ||
- | + | Les generators " | |
+ | * [[https:// | ||
===== Outillage ===== | ===== Outillage ===== | ||
Ligne 83: | Ligne 97: | ||
Eclipse plugin: [[http:// | Eclipse plugin: [[http:// | ||
+ | |||
+ | [[/ | ||
+ | |||
==== phpUnderControl ==== | ==== phpUnderControl ==== | ||
Ligne 100: | Ligne 117: | ||
==== Debug with Eclipse/PDT and Zend Debugger ==== | ==== Debug with Eclipse/PDT and Zend Debugger ==== | ||
- | Voir [[:informatique: | + | Voir [[informatique:ide: |
config XDebug dans le php.ini : | config XDebug dans le php.ini : | ||
Ligne 193: | Ligne 210: | ||
[[http:// | [[http:// | ||
+ | |||
+ | ==== Cron ==== | ||
+ | |||
+ | === crunz === | ||
+ | |||
+ | https:// | ||
+ | * Crunz is a framework-agnostic package to schedule periodic tasks (cron jobs) in PHP using a fluent API | ||
+ | * Install a cron job once and for all, manage the rest from the code | ||
+ | * Crunz is capable of executing any kind of executable command as well as PHP closures | ||
+ | |||
+ | Ce package semble bien géré et pérenne ;-) | ||
==== Validation ==== | ==== Validation ==== | ||
Ligne 202: | Ligne 230: | ||
=== owasp-php-filters === | === owasp-php-filters === | ||
+ | |||
+ | ==== Office Excel/CSV ==== | ||
+ | |||
+ | === Spout === | ||
+ | |||
+ | http:// | ||
+ | |||
+ | Spout supports 3 types of spreadsheets: | ||
+ | Spout provides a simple and unified API to read or create these different types of spreadsheets. Switching from one type to another is ridiculously easy! | ||
+ | |||
+ | === PHPOffice === | ||
+ | |||
+ | PhpSpreadsheet, | ||
+ | |||
+ | https:// | ||
==== Graphique ==== | ==== Graphique ==== | ||
Ligne 208: | Ligne 251: | ||
=== PDF Parser === | === PDF Parser === | ||
- | http:// | ||
- | Une lib très simpliste pour extrait des éléments d'un PDF. C'est une sur-couche simplifiant l'API de TCPDF | + | * http:// |
+ | * Une lib très simpliste pour extrait des éléments d'un PDF. C'est une sur-couche simplifiant l'API de TCPDF | ||
+ | * https:// | ||
+ | * is a standalone PHP package that provides various tools to extract data from PDF files. | ||
- | === FPDF === | + | === mPDF === |
+ | |||
+ | https:// | ||
+ | |||
+ | Très fort pour les langues (Ko, Th, Zh ...) | ||
=== TCPDF === | === TCPDF === | ||
Ligne 255: | Ligne 304: | ||
=== xmlrpc-epi-php === | === xmlrpc-epi-php === | ||
- | ==== Divers | + | ==== Html & DOM scraper |
- | === eZComponents Workflow=== | + | === Simple HTML DOM === |
- | http://ezcomponents.org/docs/tutorials/Workflow | + | https://packagist.org/packages/voku/simple_html_dom |
- | The Workflow component provides a virtual machine that executes workflows represented through object graphs. These object graphs can be created programmatically through the software component' | + | === php-html-parser === |
- | [[http://ezcomponents.org/docs/api/trunk/ | + | https://packagist.org/packages/paquettg/php-html-parser |
- | + | ||
- | + | ||
- | ===php_uploadprogress=== | + | |
- | + | ||
- | Une extension PECL en C qui permet de suivre la progression d'un upload (An extension to track progress of a file upload).\\ | + | |
- | http:// | + | |
- | + | ||
- | See http:// | + | |
- | It is only known to work on Apache with mod_php, other SAPI implementations unfortunately still have issues. | + | |
- | At least PHP 5.2 is needed. | + | |
- | + | ||
- | Articles : | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
- | * [[http:// | + | |
=== Goutte === | === Goutte === | ||
Ligne 312: | Ligne 342: | ||
</ | </ | ||
+ | |||
+ | |||
+ | |||
+ | ==== Divers ==== | ||
+ | |||
+ | === eZComponents Workflow=== | ||
+ | |||
+ | http:// | ||
+ | |||
+ | The Workflow component provides a virtual machine that executes workflows represented through object graphs. These object graphs can be created programmatically through the software component' | ||
+ | |||
+ | [[http:// | ||
+ | |||
+ | |||
+ | ===php_uploadprogress=== | ||
+ | |||
+ | Une extension PECL en C qui permet de suivre la progression d'un upload (An extension to track progress of a file upload).\\ | ||
+ | http:// | ||
+ | |||
+ | See http:// | ||
+ | It is only known to work on Apache with mod_php, other SAPI implementations unfortunately still have issues. | ||
+ | At least PHP 5.2 is needed. | ||
+ | |||
+ | Articles : | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
===== Templates engines ===== | ===== Templates engines ===== | ||
+ | |||
+ | ==== Blade ==== | ||
+ | |||
+ | Used in Laravel https:// | ||
==== Twig ==== | ==== Twig ==== | ||
Ligne 408: | Ligne 473: | ||
MySQLnd Plugins: [[http:// | MySQLnd Plugins: [[http:// | ||
+ | |||
+ | ===== Other stuff ===== | ||
+ | |||
+ | ==== Streaming ==== | ||
+ | |||
+ | * When using nginx you need to disable fastcgi_buffering with header(' | ||
+ | * Disabling the cache is useful to avoid caching the response header(" | ||
+ | |||
+ | Streaming Ajax response | ||
+ | * [[https:// | ||
+ | |||
+ |
informatique/php.1484507816.txt.gz · Dernière modification : 15/01/2017 20:16 de cyrille