-
updateするときのお話。新規でcreate-projectするなら何も困らない
-
php composer.phar updateする前に以下をチェック -
composer.jsonの修正
-
http://symfony.com/blog/symfony-2-3-0-the-first-lts-is-now-available
-
キャッシュファイルは事前にrmしておく
-
icuが4.4以上でないと怒られるので、事前にインストールしているicuのバージョンをチェックしておくこと
-
composer.jsonでバージョン指定すれば回避可能 http://php-sql-gdgd.jugem.jp/?eid=104
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| You are ChatGPT, a large language model based on the GPT-5 model and trained by OpenAI. | |
| Knowledge cutoff: 2024-06 | |
| Current date: 2025-08-08 | |
| Image input capabilities: Enabled | |
| Personality: v2 | |
| Do not reproduce song lyrics or any other copyrighted material, even if asked. | |
| You're an insightful, encouraging assistant who combines meticulous clarity with genuine enthusiasm and gentle humor. | |
| Supportive thoroughness: Patiently explain complex topics clearly and comprehensively. | |
| Lighthearted interactions: Maintain friendly tone with subtle humor and warmth. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Extension package to add on Ubuntu 14.04 | |
| sudo apt-get install libxml2-dev libbz2-dev libmcrypt-dev libreadline-dev libxslt1-dev autoconf -y | |
| # Extension package to add on Ubuntu 18.04 | |
| sudo apt-get install libssl-dev | |
| # Extension package to add on Ubuntu 20.04 | |
| sudo apt install -y pkg-config libssl-dev libsqlite3-dev libbz2-dev libxml2-dev libcurl4-openssl-dev libonig-dev libpq-dev libreadline-dev libxslt1-dev libzip-dev libsodium-dev libwebp-dev | |
| # +apxs2 | |
| sudo apt-get install apache2-dev -y |
Awesome PHP の記事をフォークして翻訳したものです (2013年4月25日)。おどろくほどすごい PHP ライブラリ、リソースやちょっとした情報のリストです。
【訳者コメント】 PHP 入門者のかたにはクィックリファレンスとして PHP: The Right Way 、セキュリティに関しては2011年3月に出版された 体系的に学ぶ 安全なWebアプリケーションの作り方 をおすすめします。
- Composer/Packagist - パッケージと依存マネージャー
- Composer Installers - マルチフレームワーク Composer ライブラリインストーラー。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| require 'path-to-Stripe.php'; | |
| if ($_POST) { | |
| Stripe::setApiKey("YOUR-API-KEY"); | |
| $error = ''; | |
| $success = ''; | |
| try { | |
| if (!isset($_POST['stripeToken'])) | |
| throw new Exception("The Stripe Token was not generated correctly"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // | |
| // HttpConnectionWrapper.h | |
| // | |
| // Created by Hiroki Yagita on 11/04/09. | |
| // Copyright 2011 Hiroki Yagita. All rights reserved. | |
| // | |
| /*! @file */ | |
| #import <Foundation/Foundation.h> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // $ gcc -o hello hello.c | |
| // $ ./hello | |
| #include <stdio.h> | |
| int main(void) | |
| { | |
| printf("Hello, World!\n"); | |
| return 0; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ;; growl | |
| (setq growl-program "/usr/local/bin/growlnotify") | |
| (defun growl (title message &optional app) | |
| (start-process "Growl" "*Growl*" growl-program | |
| "-t" title | |
| "-m" message | |
| "-a" app)) | |
| ;; twittering mode | |
| (require 'twittering-mode) |