Upgrade to Pro — share decks privately, control downloads, hide ads and more …

CakePHPアプリケーションの作り方 〜これまでと、これから

CakePHPアプリケーションの作り方 〜これまでと、これから

PHP Framework 最新バージョン使ってみた LT 発表資料
http://connpass.com/event/16016/

Kenichiro Kishida

June 17, 2015
Tweet

More Decks by Kenichiro Kishida

Other Decks in Technology

Transcript

  1. # ؀ڥߏங git clone https://github.com/alt3/cakebox.git cd cakebox cp Cakebox.yaml.default Cakebox.yaml

    vagrant up # ৽نΞϓϦέʔγϣϯੜ੒ vagrant ssh cakebox application add ΞϓϦ໊ # طଘΞϓϦέʔγϣϯΠϯετʔϧ cakebox application add ΞϓϦ໊ \ --source https://github.com/hoge.git \ --webroot /var/www/application/hoge http://blog.open.tokyo.jp/2015/04/19/cakebox-is-awesome.html
  2. { "name": "cakephp/app", "type": "project", "license": "MIT", "require": { "php":

    ">=5.4.16", "cakephp/cakephp": "3.0.*-dev", "mobiledetect/mobiledetectlib": "2.*", "cakephp/migrations": "dev-master", "cakephp/plugin-installer": "*" }, "require-dev": { "d11wtq/boris": "1.0.*", "cakephp/debug_kit": "3.0.*-dev", "cakephp/bake": "dev-master" }, "suggest": { "phpunit/phpunit": "Allows automated tests to be run without system-wide install.", "cakephp/cakephp-codesniffer": "Allows to check the code against the coding standards used in CakePHP." }, "autoload": { "psr-4": { "App\\": "src" } }, "autoload-dev": { "psr-4": { "App\\Test\\": "tests", "Cake\\Test\\": "./vendor/cakephp/cakephp/tests" } }, "scripts": { "post-install-cmd": "App\\Console\\Installer::postInstall", "post-autoload-dump": "Cake\\Composer\\Installer\\PluginInstaller::postAutoloadDump" }, "minimum-stability": "dev", "prefer-stable": true }
  3. "require": { "php": ">=5.4.16", "cakephp/cakephp": "~3.0", "mobiledetect/mobiledetectlib": "2.*", "cakephp/migrations": "~1.0",

    "cakephp/plugin-installer": "*" }, "require-dev": { "psy/psysh": "@stable", "cakephp/debug_kit": "~3.0", "cakephp/bake": "~1.0" },
  4. "autoload": { "psr-4": { "App\\": "src" } }, "autoload-dev": {

    "psr-4": { "App\\Test\\": "tests", "Cake\\Test\\": "./vendor/cakephp/ cakephp/tests" } },
  5. 03.