Changes between Version 29 and Version 30 of members/GRIP-UQAM/PHP


Ignore:
Timestamp:
Oct 6, 2016, 12:38:33 PM (5 years ago)
Author:
Grip Uqam
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • members/GRIP-UQAM/PHP

    v29 v30  
     1= Development =
     2== PHP Development Tools ==
     3* [WikiPedia:PHP_Development_Tools] (PDT)
     4* [DebianPackage:eclipse-pdt]
     5* [http://www.eclipse.org/pdt/#download download] on installed eclipse
     6== Static analyzer ==
     7* Static analyzer for PHP [https://www.google.ca/search?q=Static+analyzer+for+PHP Google]
     8=== About ===
     9* [http://blog.codacy.com/2014/05/06/php-static-analysis-tools/ Review of PHP Static Analysis Tools]
     10=== Lists ===
     11* [https://github.com/exakat/php-static-analysis-tools Static analysis tools for PHP]
     12* [http://phpqatools.org/ phpqatools.org] The PHP Quality Assurance Toolchain
     13=== Tools ===
     14* [https://packagist.org/packages/etsy/phan etsy/phan]
     15 * https://github.com/nikic/php-ast
     16* [https://packagist.org/packages/phpmetrics/phpmetrics phpmetrics/phpmetrics] Static analyzer tool for PHP : Coupling, Cyclomatic complexity, Maintainability Index, Halstead's metrics... and more ! [http://phpmetrics.org/ phpmetrics.org]
     17 * [https://packagist.org/packages/phpmetrics/composer-extension phpmetrics/composer-extension]
     18== Compiling PHP (to be able to use recent versions) ==
     19=== [http://phpbrew.github.io/phpbrew/ PHPBrew] ===
     20* [https://packagist.org/packages/phpbrew/phpbrew phpbrew/phpbrew] Useless in 2016-10 follow official dowload instructions instead (php phar)
     21* [https://github.com/phpbrew/phpbrew/wiki/Quick-Start Quick-Start]
     22* [https://github.com/phpbrew/phpbrew/wiki/Extension-Installer Extension-Installer]
     23* [https://github.com/phpbrew/phpbrew/wiki/Cookbook Cookbook]
     24* PHPBrew can also install some other utilities for PHP (see ...).
     25==== About ====
     26* [https://www.sitepoint.com/use-phpbrew-virtphp/ How to Use PHPbrew and VirtPHP]
     27* [https://www.devsaran.com/blog/phpbrew-and-virtphp-two-incredibly-effective-tools-php-developers PHPbrew and VirtPHP - Two incredibly effective tools for PHP developers]
     28==== configure: error: Cannot find OpenSSL's libraries ====
     29* [https://www.google.ca/search?q=configure%3A+error%3A+Cannot+find+OpenSSL%27s+libraries Google]
     30* [https://github.com/phpbrew/phpbrew/issues/2 configure error under ubuntu #2]
     31* [http://zgadzaj.com/how-to-install-php-53-and-52-together-on-ubuntu-1204 How to install PHP 5.3 and 5.2 together on Ubuntu 12.04]
     32==== Example ====
     33{{{#!sh
     34$ curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew
     35$ ./phpbrew
     36$ ./phpbrew init
     37Using root: /home/.../.phpbrew
     38Initialization successfully finished!
     39<=====================================================>
     40Phpbrew environment is initialized, required directories are created under
     41
     42    /home/jean-bernard/.phpbrew
     43
     44Paste the following line(s) to the end of your ~/.bashrc and start a
     45new shell, phpbrew should be up and fully functional from there:
     46
     47    source /home/jean-bernard/.phpbrew/bashrc
     48
     49To enable PHP version info in your shell prompt, please set PHPBREW_SET_PROMPT=1
     50in your `~/.bashrc` before you source `~/.phpbrew/bashrc`
     51
     52    export PHPBREW_SET_PROMPT=1
     53
     54To enable .phpbrewrc file searching, please export the following variable:
     55
     56    export PHPBREW_RC_ENABLE=1
     57
     58
     59For further instructions, simply run `phpbrew` to see the help message.
     60
     61Enjoy phpbrew at $HOME!!
     62
     63<=====================================================>
     64
     65# ./phpbrew install --with-openssl 7.0 +default -mcrypt +dbs +mb
     66# ./phpbrew install 7.0 +default -mcrypt +dbs +mb --with-openssl
     67$ ./phpbrew install 7.0 +default -mcrypt +dbs +mb -- --with-openssl
     68# env PHPBREW_PHP=php-7.0.11 ./phpbrew ext install github:nikic/php-ast php7
     69$ env PHPBREW_PHP=php-7.0.11 ./phpbrew ext install github:nikic/php-ast
     70$ ~/.phpbrew/php/php-7.0.11/bin/php -i |less
     71$ ~/.phpbrew/php/php-7.0.11/bin/php composer require etsy/phan
     72$ ~/.phpbrew/php/php-7.0.11/bin/php vendor/bin/phan --help
     73}}}
    174= Help about PHP =
    275* [http://www.php-fig.org/faqs/#can-you-help-me-with-my-php-code Can you help me with my PHP code?]
     
    578 * [http://php.net/manual/ PHP Manual] (especially the comments)
    679 * [http://phptherightway.com PHP: The Right Way]
     80= Books =
     81* php 7 programming [http://www.worldcat.org/search?q=php+7+programming WorldCat]
     82= Example code =
     83* https://github.com/thephpleague/skeleton
     84 * Contains Travis CI configuration
    785= PHP Syntax =
    886== php double colon class ==
     
    1088 * [http://stackoverflow.com/questions/3173501/whats-the-difference-between-double-colon-and-arrow-in-php/3173511 What's the difference between :: (double colon) and -> (arrow) in PHP?]
    1189 * [https://laracasts.com/discuss/channels/tips/double-colon-class Double colon class]
     90= What is new =
     91== What is new in php 7==
     92* [http://gophp7.org/gophp7-ext/ Home of the GoPHP7 extensions project]
     93* [https://www.sitepoint.com/learn-php-7-find-out-whats-new-and-more/ Learn PHP 7, Find out What’s New, and More]
    1294= Recommandations and Norms =
    1395== PHP Framework Interop Group ==