0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

composerとその他のファイル(自分用)

Posted at

Composerとは

PHPのパッケージ・ライブラリ管理ツールのこと。
PHPを用いたアプリ開発に必要なライブラリやパッケージをまとめて管理することができる。

■パッケージ管理ツールのメリット3つ
①パッケージのインストールが楽
②チーム開発でパッケージやパッケージのバージョンを統一できる
③パッケージの依存関係を考えなくていい

composer.jsonとcomposer.lockとは

Composerがライブラリやパッケージを管理しているファイルが、composer.jsonやcomposer.lock

①composer.lockがない時(1回目のcomposer install)
composer.jsonを基にライブラリをインストールし、composer.lockを生成

②composer.lockがある時(2回目以降のcomposer install)
composer.lockを基にライブラリをインストールし

参考

composer.jsonとcomposer.lockの役割について分かりやすくまとめてみた

0
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?