Laravel 마이너 버전 업그레이드

1 개요[ | ]

Laravel 마이너 버전 업그레이드
  • 마이너 버전 업그레이드는 간단히 composer update로 가능하다.

2 확인[ | ]

root@zetawiki:/var/www/laravel# php artisan --version
Laravel Framework version 5.2.43
root@zetawiki:/var/www/laravel# cat composer.json | grep laravel/framework
        "laravel/framework": "5.2.*",
→ 현재 버전은 5.2.43
→ composer.json 에 5.2.* 으로 되어 있으므로 composer update시 5.2.x 최신 버전이 적용될 수 있음

3 업그레이드[ | ]

root@zetawiki:/var/www/laravel# composer update
> php artisan clear-compiled
Loading composer repositories with package information
Updating dependencies (including require-dev)
  - Removing guzzlehttp/guzzle (6.2.1)
  - Installing guzzlehttp/guzzle (6.2.2)
    Downloading: 100%         

  - Removing symfony/event-dispatcher (v3.1.3)
  - Installing symfony/event-dispatcher (v3.1.6)
    Downloading: 100%         

  - Removing vlucas/phpdotenv (v2.3.0)
  - Installing vlucas/phpdotenv (v2.4.0)
    Loading from cache

  - Removing psr/log (1.0.0)
  - Installing psr/log (1.0.2)
    Downloading: 100%         

  - Removing nikic/php-parser (v2.1.0)
  - Installing nikic/php-parser (v2.1.1)
    Loading from cache

  - Removing league/flysystem (1.0.27)
  - Installing league/flysystem (1.0.32)
    Downloading: 100%         

  - Removing laravel/framework (v5.2.43)
  - Installing laravel/framework (v5.2.45)
    Loading from cache

  - Removing laravel/socialite (v2.0.18)
  - Installing laravel/socialite (v2.0.20)
    Downloading: 100%         

  - Removing symfony/yaml (v3.1.3)
  - Installing symfony/yaml (v3.1.6)
    Downloading: 100%         

  - Removing phpdocumentor/reflection-docblock (3.1.0)
  - Installing phpdocumentor/reflection-docblock (3.1.1)
    Loading from cache

Writing lock file
Generating autoload files
> php artisan optimize
Generating optimized class loader

4 확인 2[ | ]

root@zetawiki:/var/www/laravel# php artisan --version
Laravel Framework version 5.2.45

5 같이 보기[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}