PPM - PHP Process Manager

PHP-PM é um gerenciador de processo, supercharger e load balancer para aplicações PHP que chega a ser 15 vezes mais rápidos do uma aplicação PHP tradicional.

It's based on ReactPHP and works best with applications that use request-response frameworks like Symfony's HTTPKernel. The approach of this is to kill the expensive bootstrap of PHP (declaring symbols, loading/parsing files) and the bootstrap of feature-rich frameworks. See Performance section for a quick hint. PHP-PM basically spawns several PHP instances as worker bootstraping your application (eg. the whole Symfony Kernel) and hold it in the memory to be prepared for every incoming request: This is why PHP-PM makes your application so fast.

Repositório do projeto: https://github.com/php-pm/php-pm

Aplicação Symfony como HTTP Server

Tutorial ensinando transformar uma aplicação Symfony em um servidor HTTP pronto para executar, e sem necessidade servidor adicional como por exemplo NGINX e/ou Apache2, utilizando a biblioteca ReactPHP.

TL;DR: Run your application as a HTTP server to increase its performances.

HTTP frameworks, such as Symfony, allow us to build applications that have the potential to achieve Super Speed.

A first way to make use of it is to run our application as a HTTP server. In this article we'll take a Symfony application and demonstrate how to run it as HTTP server using ReactPHP.

Fonte: https://gnugat.github.io/2016/04/13/super-speed-sf-react-php.html

PHP must watch

PHP must watch é um repositório contendo uma lista de conferências sobre PHP:

A list of interesting conference talks and great videos on PHP. Inspired by js-must-watch

Conferência PHP em Porto Alegre

Está chegando o grande dia da Conferência PHP do Rio Grande do Sul, organizada pelo PHPRS.

Haverá diversas palestras sobre PHP, segurança, carreira e muito mais, além daquele networking de sempre, para fazer novos contatos, encontrar novas oportunidades e aprender mais.

O evento ocorre no dia 7 de Maio de 2016 em Porto Alegre – RS, na Faculdade SENAC. Os ingressos já estão a venda pelo site http://conf.phprs.com.br/. Se você quiser a camiseta, é bom correr pois já estão esgotando.

Site do evento: http://conf.phprs.com.br/

12º Fórum Espírito Livre

Nos dias 4, 5 e 6 de maio acontecerá o 12º Fórum Espírito Livre em Vila Velha, Espírito Santo.

O 12º Fórum Espírito Livre tem como objetivos reunir a comunidade estadual e nacional interessada em desenvolvimento e aplicação de software livre e de código aberto. Dessa maneira, visa compartilhar experiências e conhecimento, de modo a estimular o uso crescente dos softwares livres, tecnologias e padrões abertos, o aprimoramento de tecnologias, a difusão da filosofia de compartilhamento e criação colaborativa e coletiva. Além disso espera-se estreitar a comunicação entre colaboradores e leitores da Revista Espírito Livre.

A inscrição é gratuita e deve ser feita através do site do evento: http://forum.espiritolivre.org/12ed/o-evento/inscricao/.

Imagine

Imagine é uma biblioteca OOP de manipulação de imagem com implementações para as extensões GD2, Imagick e Gmagick. Com a Imagine é possível redimensionar, criar thumbnail, adicionar marca d'água, efeitos, etc.

Exemplo:

<?php

$imagine = new Imagine\Gd\Imagine();
// or
$imagine = new Imagine\Imagick\Imagine();
// or
$imagine = new Imagine\Gmagick\Imagine();

$size    = new Imagine\Image\Box(40, 40);

$mode    = Imagine\Image\ImageInterface::THUMBNAIL_INSET;
// or
$mode    = Imagine\Image\ImageInterface::THUMBNAIL_OUTBOUND;

$imagine->open('/path/to/large_image.jpg')
    ->thumbnail($size, $mode)
    ->save('/path/to/thumbnail.png')

Documentação: https://imagine.readthedocs.io/en/latest/

PHP-FFMpeg

PHP-FFMpeg é um projeto que representa de forma orientada a objetos (OOP) a biblioteca ffmpeg/avconv, facilitando a manipulação de arquivos de áudio e vídeo.

This library requires a working FFMpeg install. You will need both FFMpeg and FFProbe binaries to use it. Be sure that these binaries can be located with system PATH to get the benefit of the binary detection, otherwise you should have to explicitely give the binaries path on load.

Exemplo:

$ffmpeg = FFMpeg\FFMpeg::create();
$video = $ffmpeg->open('video.mpg');
$video
    ->filters()
    ->resize(new FFMpeg\Coordinate\Dimension(320, 240))
    ->synchronize();
$video
    ->frame(FFMpeg\Coordinate\TimeCode::fromSeconds(10))
    ->save('frame.jpg');
$video
    ->save(new FFMpeg\Format\Video\X264(), 'export-x264.mp4')
    ->save(new FFMpeg\Format\Video\WMV(), 'export-wmv.wmv')
    ->save(new FFMpeg\Format\Video\WebM(), 'export-webm.webm');

PHP GUI

PHP-GUI é um projeto experimental que permite criar programas com interface gráfica nativa do desktop do usuário sem a necessidade de extensões adicionais.

PHP can be more than a "Web Language", it's a fast language, with a cross platform interpreter and a good CLI. GUI is a natural step for completing this ecosystem.

For many years, GUI projects are being developed for PHP, like PHP-GTK, PHP-QT, wxPHP and so many others, but none of them became popular.

PHP Terminal GameBoy Emulator

Para responder a pergunta do que dá para fazer utilizando PHP, surge o projeto de um emulador de GameBoy via terminal.

Some people will ask me: "Why you did that?"

Well, a friend asked me "What PHP can do?". I thought about that awhile and the idea came up. With PHP7's performance improvement now it's possible to emulate some systems :smile: and, come on, that's funny! :dancers:

It's based on the GameBoy JS Emulator.

Fonte: https://github.com/gabrielrcouto/php-terminal-gameboy-emulator/