My puppyのブログ

学んだ事や作っているプログラムなどについて書いています。

Azure App Service(Web Apps)でPHP7

2016/09/02 追記:
現在では試験的な機能ではなく、正式にPHP7に対応しています。
Microsoft Azureのダッシュボードから該当するWEBアプリを選んで、「アプリケーションの設定」→「PHPのバージョン」→「7.0」でPHP7を使用することができます。

azure.microsoft.com

まだ試験的な機能みたいですが、Azure App Service(Web Apps)でPHP7を使うことができます。
Azure App Service(Web Apps)を契約していることを前提として、

Azureの新ポータルにログイン

契約しているApp Service(Web Apps)を選択

ツール

拡張機能

追加

PHPの環境に合わせて「PHP7 x86」か「PHP7 x64」を選択すると、PHP7を使うことができます(^^)/

Slim Framework 3.0.0 released!

www.slimframework.com

PHPのマイクロフレームワーク「Slim」のバージョン3が12月7日にリリースされたそうです。
特徴は以下の通りです。

1.HTTP Router
Slim provides a fast and powerful router that maps route callbacks to specific HTTP request methods and URIs. It supports parameters and pattern matching.

2.Middleware
Build your application with concentric middleware to tweak the HTTP request and response objects around your Slim app.

3.PSR-7 Support
Slim supports any PSR-7 HTTP message implementation so you may inspect and manipulate HTTP message method, status, URI, headers, cookies, and body.

4.Dependency Injection
Slim supports dependency injection so you have complete control of your external tools. Use any Container-Interop container.

あとでいろいろ調べてみますね。