wiki:members/GRIP-UQAM/PHP

Version 41 (modified by Grip Uqam, 7 years ago) ( diff )

--

Development

PHP Development Tools

Debug bar

Static analyzer

About

Lists of tools

Tools

Compiling PHP (to be able to use recent versions)

PHPBrew

About

configure: error: Cannot find OpenSSL's libraries

Example

$ curl -L -O https://github.com/phpbrew/phpbrew/raw/master/phpbrew
$ ./phpbrew
$ ./phpbrew init
Using root: /home/.../.phpbrew
Initialization successfully finished!
<=====================================================>
Phpbrew environment is initialized, required directories are created under

    /home/jean-bernard/.phpbrew

Paste the following line(s) to the end of your ~/.bashrc and start a
new shell, phpbrew should be up and fully functional from there:

    source /home/jean-bernard/.phpbrew/bashrc

To enable PHP version info in your shell prompt, please set PHPBREW_SET_PROMPT=1
in your `~/.bashrc` before you source `~/.phpbrew/bashrc`

    export PHPBREW_SET_PROMPT=1

To enable .phpbrewrc file searching, please export the following variable:

    export PHPBREW_RC_ENABLE=1


For further instructions, simply run `phpbrew` to see the help message.

Enjoy phpbrew at $HOME!!

<=====================================================>

# ./phpbrew install --with-openssl 7.0 +default -mcrypt +dbs +mb
# ./phpbrew install 7.0 +default -mcrypt +dbs +mb --with-openssl
$ ./phpbrew install 7.0 +default -mcrypt +dbs +mb -- --with-openssl
# env PHPBREW_PHP=php-7.0.11 ./phpbrew ext install github:nikic/php-ast php7
$ env PHPBREW_PHP=php-7.0.11 ./phpbrew ext install github:nikic/php-ast
$ ~/.phpbrew/php/php-7.0.11/bin/php -i |less
$ ~/.phpbrew/php/php-7.0.11/bin/php composer require etsy/phan
$ ~/.phpbrew/php/php-7.0.11/bin/php vendor/bin/phan --help

Help about PHP

Conferences

Web Articles

Books

Example code

PHP Syntax

php double colon class

What is new

What is new in php 7

Recommandations and Norms

PHP Framework Interop Group

PHP Standards Recommendations

PSR-3 psr/log ? [[Image(...)]] [[Image(...)]] [[Image(...)]] providers
PSR-7 psr/http-message ? [[Image(...)]] [[Image(...)]] providers
PSR-6 psr/cache ? [[Image(...)]] providers
PSR-14 psr/event-manager ? [[Image(...)]] providers
bee4/events ? [[Image(...)]] providers
PSR-11 psr/container ? [[Image(...)]] providers
container-interop/container-interop ? [[Image(...)]] providers
PSR-16 psr/simplecache ? [[Image(...)]] providers
PSR-15 psr/middleware ? [[Image(...)]] providers
  • [not yet implemented]
zendframework/zend-expressive-router ? [[Image(...)]] dependents
async-interop/event-loop

Middlewares

Stack

Top packages

Top Rank

  • database

Top References

Top Monthly Download

Top Download

IDE, editing code

Packagist, Badges and Continuous Integration

Packagist badges

About Continuous Integration

Continuous Integration Providers

Package system

PHP Libraries

hybridauth/hybridauth

http://hybridauth.sourceforge.net/userguide.html

$ composer require hybridauth/hybridauth

Google::

  • easy

LinkedIn::

  • easy

OpenID::

  • easy (no secret information needed)

Yahoo OpenID::

Microsoft Live::

  • Not clear if the domain root URL can be used as redirect URI
  • Using the domain root URL as redirect URI results in an error at the time of clicking the icon on the registered web site
  • It is not possible to register inside Microsoft developper website a redirect URI similar to the one used for Google, because some caracteres are not accepted.
  • one could try to make a simpler redirection URI which would redirect to the one simililar to the one used for Google.
  • microsoft oauth2 application id
  • Getting Your Client ID for Web Authentication
  • https://account.live.com
  • Mes applications

Facebook

jessie (stable) bpo stretch (testing) /usr/share/php/
php5-apcu /usr/share/php/
composer/composer 2016-03-27 b # composer Composer
hybridauth/hybridauth 2016-01-12 2.6
psr/log 2012-12-21 1.0 1.0 1.0 php-psr-log Psr/Log
symfony/symfony 2016-02-28 3.0 2.3 2.8 php-symfony-framework-bundle Symfony/Bundle/FrameworkBundle
zendframework1, zendframework1 zendframework /usr/share/php/
zendframework 2 php-zend-
zendframework/zendsearch php-zend-search /usr/share/php/
https://packagist.org/packages/ DebianPackage /usr/share/php/
https://packagist.org/packages/ DebianPackage /usr/share/php/

APCu and APC

Aura

Container Interoperability

Drupal

members/GRIP-UQAM/Drupal

Symfony

members/GRIP-UQAM/Symfony

The League of Extraordinary Packages

Zend

As of mid 2016 documentation looks more complete for Zend 1, at least for some modules. Maybe more in books for Zend 2. ZF3 is also out, now each module has its own independent version. !! I had not been able to navigate ZEnd doc website!

English

French

zend-cache (-memory)

zend-di

zend-diactoros

PSR HTTP Message implementations (New in ZF3)

zendframework/zend-diactoros

zend-expressive

Develop PSR-7 middleware applications in minutes! (New in ZF3)

zendframework/zend-expressive

zend-feed

zendframework/zend-feed

zend-mail

Allow reading message. This seems not to be the case for SwiftMailer (august 2016).

zendframework/zend-mail

zf1/zend-mail

zend-search(-lucene)

zendframework/zendsearch

zf1/zend-search-lucene

zend-servicemanager

Packages

PHP Security Programming

PHP Programming

Namespaces

Testing

BDD Testing

Unit Testing

Functional or acceptance testing

It's 2016 now and there's Mink. It even supports different engines from headless pure-PHP "browser" (without JavaScript), over Selenium (which needs a browser like Firefox or Chrome) to a headless "browser.js" in NPM, which DOES support JavaScript. http://stackoverflow.com/questions/199045/is-there-a-php-equivalent-of-perls-wwwmechanize

  • Something similar is available in Python.

Coding Standards

About Coding Standards

Detecting coding standards' violations

PHP_CodeSniffer

php-cs-fixer

Test framework

how to manage object dependencies

Asynchronous IO Programming

General libraries

async-interop PHP Asynchronous Interoperability Group

React

The event loop is based on the reactor pattern (hence the name) and strongly inspired by libraries such as EventMachine (Ruby), Twisted (Python) and Node.js (V8).

The name

Packages

Family

Icicle

ReactiveX

Event

Event Dispatcher (not necessarily IO)

Event loop

Promise (concurrent.futures in python)

Coroutine

State machine



Topic libraries

By alphabetical order

Assertion

BDD Assertion

CLI

Comparator

Diff

Error handling

Feed (RSS, Atom, ...)

Git

GitHub

HTTP Clients

Middlewares (#TODO to be melded with other section

Stack

PSR-7 (http-message) Middlewares

Stratigility

Slim Middleware

Openid Connect

Process control

  • symfony

PCNTL

SQL

Static site generator

String

Timer, stopwatch (also on Symfony page)

Variables visualization

Version number managing of Git-hosted PHP projects

Web Frameworks

Web Applications

People

Note: See TracWiki for help on using the wiki.