LoginSignup
0
0

More than 3 years have passed since last update.

Symfony4 のインストールについて調べてみたメモ

Last updated at Posted at 2019-11-28

PHPフレームワーク[Symfony4]をインストールした時のメモ書きです。

参考リンク

インストールする環境

  • Docker Desktop 2.1.0.4
  • mac osx
  • Symfony4

インストール手順

https://symfony.com/releases/4.4
最新のLTS が4.4.0 なので、これをインストールする。

$ mkdir project-name
$ cd project-name
$ git clone https://github.com/eko/docker-symfony.git
$ cd docker-symfony/
$ docker-compose up
cd symfony
rm -r ./var
$ cd ..
$ composer create-project symfony/website-skeleton symfony "4.4.*"

Installing symfony/website-skeleton (v4.4.99)
  - Installing symfony/website-skeleton (v4.4.99): Loading from cache
Created project in symfony
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing symfony/flex (v1.4.8): Loading from cache
Symfony operations: 1 recipe (7217b9f2de59952c53cbf0acf656d5ac)
  - Configuring symfony/flex (>=1.0): From github.com/symfony/recipes:master
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.4.*"
Package operations: 102 installs, 0 updates, 0 removals
  - Installing ocramius/package-versions (1.4.2): Loading from cache
  - Installing symfony/asset (v4.4.0): Loading from cache
  - Installing symfony/dotenv (v4.4.0): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing symfony/service-contracts (v1.1.8): Loading from cache
  - Installing psr/cache (1.0.1): Loading from cache
  - Installing symfony/var-exporter (v4.4.0): Loading from cache
  - Installing symfony/cache-contracts (v1.1.7): Loading from cache
  - Installing psr/log (1.1.2): Loading from cache
  - Installing symfony/cache (v4.4.0): Loading from cache
  - Installing symfony/expression-language (v4.4.0): Loading from cache
  - Installing symfony/inflector (v4.4.0): Loading from cache
  - Installing symfony/property-access (v4.4.0): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.13.0): Loading from cache
  - Installing symfony/options-resolver (v4.4.0): Loading from cache
  - Installing symfony/intl (v4.4.0): Loading from cache
  - Installing symfony/polyfill-intl-icu (v1.13.0): Loading from cache
  - Installing symfony/event-dispatcher-contracts (v1.1.7): Loading from cache
  - Installing symfony/event-dispatcher (v4.4.0): Loading from cache
  - Installing symfony/form (v4.4.0): Loading from cache
  - Installing symfony/polyfill-php73 (v1.13.0): Loading from cache
  - Installing symfony/http-client-contracts (v1.1.8): Loading from cache
  - Installing symfony/http-client (v4.4.0): Loading from cache
  - Installing symfony/polyfill-php72 (v1.13.0): Loading from cache
  - Installing symfony/polyfill-intl-idn (v1.13.0): Loading from cache
  - Installing symfony/mime (v4.4.0): Loading from cache
  - Installing doctrine/lexer (1.0.2): Loading from cache
  - Installing egulias/email-validator (2.1.11): Loading from cache
  - Installing symfony/mailer (v4.4.0): Loading from cache
  - Installing symfony/process (v4.4.0): Loading from cache
  - Installing symfony/http-foundation (v4.4.0): Loading from cache
  - Installing symfony/var-dumper (v4.4.0): Loading from cache
  - Installing symfony/debug (v4.4.0): Loading from cache
  - Installing symfony/error-handler (v4.4.0): Loading from cache
  - Installing symfony/http-kernel (v4.4.0): Loading from cache
  - Installing symfony/security-core (v4.4.0): Loading from cache
  - Installing symfony/security-http (v4.4.0): Loading from cache
  - Installing symfony/security-guard (v4.4.0): Loading from cache
  - Installing symfony/security-csrf (v4.4.0): Loading from cache
  - Installing symfony/dependency-injection (v4.4.0): Loading from cache
  - Installing symfony/filesystem (v4.4.0): Loading from cache
  - Installing symfony/config (v4.4.0): Loading from cache
  - Installing symfony/security-bundle (v4.4.0): Loading from cache
  - Installing symfony/translation-contracts (v1.1.7): Loading from cache
  - Installing symfony/translation (v4.4.0): Loading from cache
  - Installing twig/twig (v2.12.2): Loading from cache
  - Installing symfony/twig-bridge (v4.4.0): Loading from cache
  - Installing symfony/twig-bundle (v4.4.0): Loading from cache
  - Installing symfony/routing (v4.4.0): Loading from cache
  - Installing symfony/finder (v4.4.0): Loading from cache
  - Installing symfony/framework-bundle (v4.4.0): Loading from cache
  - Installing twig/extra-bundle (v3.0.0): Loading from cache
  - Installing symfony/twig-pack (v1.0.0): Loading from cache
  - Installing symfony/validator (v4.4.0): Loading from cache
  - Installing psr/link (1.0.0): Loading from cache
  - Installing symfony/web-link (v4.4.0): Loading from cache
  - Installing doctrine/annotations (v1.8.0): Loading from cache
  - Installing sensio/framework-extra-bundle (v5.5.1): Loading from cache
  - Installing monolog/monolog (1.25.2): Loading from cache
  - Installing symfony/monolog-bridge (v4.4.0): Loading from cache
  - Installing symfony/stopwatch (v4.4.0): Loading from cache
  - Installing symfony/console (v4.4.0): Loading from cache
  - Installing zendframework/zend-eventmanager (3.2.1): Loading from cache
  - Installing zendframework/zend-code (3.4.0): Loading from cache
  - Installing ocramius/proxy-manager (2.1.1): Loading from cache
  - Installing doctrine/event-manager (1.1.0): Loading from cache
  - Installing doctrine/cache (1.9.1): Loading from cache
  - Installing doctrine/dbal (v2.9.3): Loading from cache
  - Installing doctrine/reflection (v1.0.0): Loading from cache
  - Installing doctrine/collections (1.6.4): Loading from cache
  - Installing doctrine/persistence (1.2.0): Loading from cache
  - Installing doctrine/inflector (1.3.1): Loading from cache
  - Installing doctrine/common (v2.11.0): Loading from cache
  - Installing doctrine/migrations (2.2.0): Loading from cache
  - Installing symfony/doctrine-bridge (v4.4.0): Loading from cache
  - Installing jdorn/sql-formatter (v1.2.17): Loading from cache
  - Installing symfony/yaml (v4.4.0): Loading from cache
  - Installing doctrine/doctrine-bundle (2.0.0): Loading from cache
  - Installing doctrine/doctrine-migrations-bundle (2.1.2): Loading from cache
  - Installing doctrine/instantiator (1.3.0): Loading from cache
  - Installing doctrine/orm (v2.7.0): Loading from cache
  - Installing symfony/orm-pack (v1.0.7): Loading from cache
  - Installing symfony/serializer (v4.4.0): Loading from cache
  - Installing symfony/property-info (v4.4.0): Loading from cache
  - Installing webmozart/assert (1.6.0): Loading from cache
  - Installing phpdocumentor/reflection-common (2.0.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.0.1): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.3.2): Loading from cache
  - Installing symfony/serializer-pack (v1.0.2): Loading from cache
  - Installing symfony/web-profiler-bundle (v4.4.0): Loading from cache
  - Installing symfony/profiler-pack (v1.0.4): Loading from cache
  - Installing easycorp/easy-log-handler (v1.0.9): Loading from cache
  - Installing symfony/monolog-bundle (v3.5.0): Loading from cache
  - Installing symfony/debug-bundle (v4.4.0): Loading from cache
  - Installing symfony/debug-pack (v1.0.7): Loading from cache
  - Installing nikic/php-parser (v4.3.0): Loading from cache
  - Installing symfony/maker-bundle (v1.14.3): Loading from cache
  - Installing symfony/phpunit-bridge (v5.0.0): Loading from cache
  - Installing symfony/css-selector (v4.4.0): Loading from cache
  - Installing symfony/dom-crawler (v4.4.0): Loading from cache
  - Installing symfony/browser-kit (v4.4.0): Loading from cache
  - Installing symfony/test-pack (v1.0.6): Loading from cache
Writing lock file
Generating autoload files
Symfony operations: 19 recipes (7217b9f2de59952c53cbf0acf656d5ac)
  - Configuring symfony/framework-bundle (>=4.4): From github.com/symfony/recipes:master
  - Configuring symfony/mailer (>=4.3): From github.com/symfony/recipes:master
  - Configuring symfony/security-bundle (>=4.4): From github.com/symfony/recipes:master
  - Configuring symfony/translation (>=3.3): From github.com/symfony/recipes:master
  - Configuring symfony/twig-bundle (>=4.4): From github.com/symfony/recipes:master
  - Configuring symfony/routing (>=4.2): From github.com/symfony/recipes:master
  - Configuring twig/extra-bundle (>=v3.0.0): From auto-generated recipe
  - Configuring symfony/validator (>=4.3): From github.com/symfony/recipes:master
  - Configuring doctrine/annotations (>=1.0): From github.com/symfony/recipes:master
  - Configuring sensio/framework-extra-bundle (>=5.2): From github.com/symfony/recipes:master
  - Configuring symfony/console (>=4.4): From github.com/symfony/recipes:master
  - Configuring doctrine/doctrine-bundle (>=1.12): From github.com/symfony/recipes:master
  - Configuring doctrine/doctrine-migrations-bundle (>=1.2): From github.com/symfony/recipes:master
  - Configuring symfony/web-profiler-bundle (>=3.3): From github.com/symfony/recipes:master
  - Configuring easycorp/easy-log-handler (>=1.0): From github.com/symfony/recipes:master
  - Configuring symfony/monolog-bundle (>=3.3): From github.com/symfony/recipes:master
  - Configuring symfony/debug-bundle (>=4.1): From github.com/symfony/recipes:master
  - Configuring symfony/maker-bundle (>=1.0): From github.com/symfony/recipes:master
  - Configuring symfony/phpunit-bridge (>=4.3): From github.com/symfony/recipes:master
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
Executing script cache:clear [OK]
Executing script assets:install public [OK]

Some files may have been created or updated to configure your new packages.
Please review, edit and commit them: these files are yours.

Some files may have been created or updated to configure your new packages.
Please review, edit and commit them: these files are yours.


 What's next?


  * Run your application:
    1. Go to the project directory
    2. Create your code repository with the git init command
    3. Download the Symfony CLI at https://symfony.com/download to install a development web server

  * Read the documentation at https://symfony.com/doc


 What's next?


  * You're ready to send emails.

  * If you want to send emails via a supported email provider, install
    the corresponding bridge.
    For instance, composer require mailgun-mailer for Mailgun.

  * If you want to send emails asynchronously:

    1. Install the messenger component by running composer require messenger;
    2. Add 'Symfony\Component\Mailer\Messenger\SendEmailMessage': amqp to the
       config/packages/messenger.yaml file under framework.messenger.routing
       and replace amqp with your transport name of choice.

  * Read the documentation at https://symfony.com/doc/master/mailer.html


 Database Configuration


  * Modify your DATABASE_URL config in .env

  * Configure the driver (mysql) and
    server_version (5.7) in config/packages/doctrine.yaml


 How to test?


  * Write test cases in the tests/ folder
  * Run php bin/phpunit

実行

http://symfony.localhost

スクリーンショット 2019-11-28 12.59.03.png


ひとまずここまで。

続き

Webアプリケーションの作成

composer create-project してみた。

$ ls -la
total 48
drwxr-xr-x  14 yoshida  staff   448 12  2 19:57 .
drwxr-xr-x   3 yoshida  staff    96 11 28 11:53 ..
drwxr-xr-x  12 yoshida  staff   384 11 28 11:53 .git
-rw-r--r--   1 yoshida  staff    15 11 28 11:53 .gitignore
-rw-r--r--   1 yoshida  staff   474 11 28 11:53 .travis.yml
-rw-r--r--   1 yoshida  staff   677 11 28 11:53 LICENSE.md
-rw-r--r--   1 yoshida  staff  2695 11 28 11:53 README.md
-rw-r--r--   1 yoshida  staff   891 11 28 11:53 docker-compose.travis.yml
-rw-r--r--   1 yoshida  staff  1108 12  2 19:57 docker-compose.yml
drwxr-xr-x   3 yoshida  staff    96 11 28 11:53 elk
drwxr-xr-x   4 yoshida  staff   128 11 28 12:01 logs
drwxr-xr-x   5 yoshida  staff   160 11 28 11:53 nginx
drwxr-xr-x   6 yoshida  staff   192 11 28 11:53 php-fpm
drwxr-xr-x  18 yoshida  staff   576 11 28 12:53 symfony
docker-symfony yoshida$ composer create-project symfony/website-skeleton symfony-test01
Installing symfony/website-skeleton (v4.4.99)
  - Installing symfony/website-skeleton (v4.4.99): Loading from cache
Created project in symfony-test01
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 1 install, 0 updates, 0 removals
  - Installing symfony/flex (v1.5.3): Downloading (100%)
Symfony operations: 1 recipe (9010013582beb828ac7b5d48f3a7d4c9)
  - Configuring symfony/flex (>=1.0): From github.com/symfony/recipes:master
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.4.*"

Prefetching 34 packages 🎵 💨
  - Downloading (100%)

Package operations: 102 installs, 0 updates, 0 removals
  - Installing ocramius/package-versions (1.4.2): Loading from cache
  - Installing symfony/polyfill-mbstring (v1.13.1): Loading from cache
  - Installing twig/twig (v2.12.2): Loading from cache
  - Installing psr/log (1.1.2): Loading from cache
  - Installing symfony/polyfill-php73 (v1.13.1): Loading from cache
  - Installing symfony/polyfill-php72 (v1.13.1): Loading from cache
  - Installing symfony/polyfill-intl-idn (v1.13.1): Loading from cache
  - Installing symfony/mime (v4.4.1): Loading from cache
  - Installing symfony/http-foundation (v4.4.1): Loading from cache
  - Installing symfony/event-dispatcher-contracts (v1.1.7): Loading from cache
  - Installing psr/container (1.0.0): Loading from cache
  - Installing psr/cache (1.0.1): Loading from cache
  - Installing symfony/event-dispatcher (v4.4.1): Loading from cache
  - Installing symfony/var-dumper (v4.4.1): Loading from cache
  - Installing symfony/debug (v4.4.1): Loading from cache
  - Installing symfony/error-handler (v4.4.1): Loading from cache
  - Installing symfony/http-kernel (v4.4.1): Loading from cache
  - Installing symfony/translation-contracts (v1.1.7): Loading from cache
  - Installing symfony/twig-bridge (v4.4.1): Loading from cache
  - Installing symfony/twig-bundle (v4.4.1): Loading from cache
  - Installing symfony/routing (v4.4.1): Loading from cache
  - Installing symfony/finder (v4.4.1): Loading from cache
  - Installing symfony/filesystem (v4.4.1): Loading from cache
  - Installing symfony/service-contracts (v1.1.8): Loading from cache
  - Installing symfony/dependency-injection (v4.4.1): Loading from cache
  - Installing symfony/config (v4.4.1): Loading from cache
  - Installing symfony/var-exporter (v4.4.1): Loading from cache
  - Installing symfony/cache-contracts (v1.1.7): Loading from cache
  - Installing symfony/cache (v4.4.1): Loading from cache
  - Installing symfony/framework-bundle (v4.4.1): Loading from cache
  - Installing twig/extra-bundle (v3.0.0): Loading from cache
  - Installing symfony/twig-pack (v1.0.0): Loading from cache
  - Installing doctrine/lexer (1.0.2): Loading from cache
  - Installing doctrine/annotations (v1.8.0): Loading from cache
  - Installing sensio/framework-extra-bundle (v5.5.1): Loading from cache
  - Installing symfony/asset (v4.4.1): Loading from cache
  - Installing symfony/dotenv (v4.4.1): Loading from cache
  - Installing symfony/expression-language (v4.4.1): Loading from cache
  - Installing symfony/inflector (v4.4.1): Loading from cache
  - Installing symfony/property-access (v4.4.1): Loading from cache
  - Installing symfony/options-resolver (v4.4.1): Loading from cache
  - Installing symfony/intl (v4.4.1): Loading from cache
  - Installing symfony/polyfill-intl-icu (v1.13.1): Loading from cache
  - Installing symfony/form (v4.4.1): Loading from cache
  - Installing symfony/http-client-contracts (v1.1.8): Loading from cache
  - Installing symfony/http-client (v4.4.1): Loading from cache
  - Installing egulias/email-validator (2.1.11): Loading from cache
  - Installing symfony/mailer (v4.4.1): Loading from cache
  - Installing symfony/stopwatch (v4.4.1): Loading from cache
  - Installing symfony/console (v4.4.1): Loading from cache
  - Installing zendframework/zend-eventmanager (3.2.1): Loading from cache
  - Installing zendframework/zend-code (3.4.0): Loading from cache
  - Installing ocramius/proxy-manager (2.1.1): Loading from cache
  - Installing doctrine/event-manager (1.1.0): Loading from cache
  - Installing doctrine/cache (1.10.0): Loading from cache
  - Installing doctrine/dbal (v2.9.3): Loading from cache
  - Installing doctrine/reflection (v1.0.0): Loading from cache
  - Installing doctrine/collections (1.6.4): Loading from cache
  - Installing doctrine/persistence (1.2.0): Loading from cache
  - Installing doctrine/inflector (1.3.1): Loading from cache
  - Installing doctrine/common (v2.11.0): Loading from cache
  - Installing doctrine/migrations (2.2.0): Loading from cache
  - Installing symfony/doctrine-bridge (v4.4.1): Loading from cache
  - Installing symfony/security-core (v4.4.1): Loading from cache
  - Installing jdorn/sql-formatter (v1.2.17): Loading from cache
  - Installing symfony/yaml (v4.4.1): Loading from cache
  - Installing doctrine/doctrine-bundle (2.0.2): Loading from cache
  - Installing doctrine/doctrine-migrations-bundle (2.1.2): Loading from cache
  - Installing doctrine/instantiator (1.3.0): Loading from cache
  - Installing doctrine/orm (v2.7.0): Loading from cache
  - Installing symfony/orm-pack (v1.0.7): Loading from cache
  - Installing symfony/process (v4.4.1): Loading from cache
  - Installing symfony/security-http (v4.4.1): Loading from cache
  - Installing symfony/security-guard (v4.4.1): Loading from cache
  - Installing symfony/security-csrf (v4.4.1): Loading from cache
  - Installing symfony/security-bundle (v4.4.1): Loading from cache
  - Installing symfony/serializer (v4.4.1): Loading from cache
  - Installing symfony/property-info (v4.4.1): Loading from cache
  - Installing webmozart/assert (1.6.0): Loading from cache
  - Installing phpdocumentor/reflection-common (2.0.0): Loading from cache
  - Installing phpdocumentor/type-resolver (1.0.1): Loading from cache
  - Installing phpdocumentor/reflection-docblock (4.3.2): Loading from cache
  - Installing symfony/serializer-pack (v1.0.2): Loading from cache
  - Installing symfony/translation (v4.4.1): Loading from cache
  - Installing symfony/validator (v4.4.1): Loading from cache
  - Installing psr/link (1.0.0): Loading from cache
  - Installing symfony/web-link (v4.4.1): Loading from cache
  - Installing symfony/web-profiler-bundle (v4.4.1): Loading from cache
  - Installing symfony/profiler-pack (v1.0.4): Loading from cache
  - Installing monolog/monolog (1.25.2): Loading from cache
  - Installing easycorp/easy-log-handler (v1.0.9): Loading from cache
  - Installing symfony/monolog-bridge (v4.4.1): Loading from cache
  - Installing symfony/monolog-bundle (v3.5.0): Loading from cache
  - Installing symfony/debug-bundle (v4.4.1): Loading from cache
  - Installing symfony/debug-pack (v1.0.7): Loading from cache
  - Installing nikic/php-parser (v4.3.0): Loading from cache
  - Installing symfony/maker-bundle (v1.14.3): Loading from cache
  - Installing symfony/phpunit-bridge (v5.0.1): Loading from cache
  - Installing symfony/css-selector (v4.4.1): Loading from cache
  - Installing symfony/dom-crawler (v4.4.1): Loading from cache
  - Installing symfony/browser-kit (v4.4.1): Loading from cache
  - Installing symfony/test-pack (v1.0.6): Loading from cache
Writing lock file
Generating autoload files
Symfony operations: 19 recipes (9010013582beb828ac7b5d48f3a7d4c9)
  - Configuring symfony/framework-bundle (>=4.4): From github.com/symfony/recipes:master
  - Configuring symfony/twig-bundle (>=4.4): From github.com/symfony/recipes:master
  - Configuring symfony/routing (>=4.2): From github.com/symfony/recipes:master
  - Configuring twig/extra-bundle (>=v3.0.0): From auto-generated recipe
  - Configuring doctrine/annotations (>=1.0): From github.com/symfony/recipes:master
  - Configuring sensio/framework-extra-bundle (>=5.2): From github.com/symfony/recipes:master
  - Configuring symfony/mailer (>=4.3): From github.com/symfony/recipes:master
  - Configuring symfony/console (>=4.4): From github.com/symfony/recipes:master
  - Configuring doctrine/doctrine-bundle (>=2.0): From github.com/symfony/recipes:master
  - Configuring doctrine/doctrine-migrations-bundle (>=1.2): From github.com/symfony/recipes:master
  - Configuring symfony/security-bundle (>=4.4): From github.com/symfony/recipes:master
  - Configuring symfony/translation (>=3.3): From github.com/symfony/recipes:master
  - Configuring symfony/validator (>=4.3): From github.com/symfony/recipes:master
  - Configuring symfony/web-profiler-bundle (>=3.3): From github.com/symfony/recipes:master
  - Configuring easycorp/easy-log-handler (>=1.0): From github.com/symfony/recipes:master
  - Configuring symfony/monolog-bundle (>=3.3): From github.com/symfony/recipes:master
  - Configuring symfony/debug-bundle (>=4.1): From github.com/symfony/recipes:master
  - Configuring symfony/maker-bundle (>=1.0): From github.com/symfony/recipes:master
  - Configuring symfony/phpunit-bridge (>=4.3): From github.com/symfony/recipes:master
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
Executing script cache:clear [OK]
Executing script assets:install public [OK]

Some files may have been created or updated to configure your new packages.
Please review, edit and commit them: these files are yours.

Some files may have been created or updated to configure your new packages.
Please review, edit and commit them: these files are yours.


 What's next?


  * Run your application:
    1. Go to the project directory
    2. Create your code repository with the git init command
    3. Download the Symfony CLI at https://symfony.com/download to install a development web server

  * Read the documentation at https://symfony.com/doc


 What's next?


  * You're ready to send emails.

  * If you want to send emails via a supported email provider, install
    the corresponding bridge.
    For instance, composer require mailgun-mailer for Mailgun.

  * If you want to send emails asynchronously:

    1. Install the messenger component by running composer require messenger;
    2. Add 'Symfony\Component\Mailer\Messenger\SendEmailMessage': amqp to the
       config/packages/messenger.yaml file under framework.messenger.routing
       and replace amqp with your transport name of choice.

  * Read the documentation at https://symfony.com/doc/master/mailer.html


 Database Configuration


  * Modify your DATABASE_URL config in .env

  * Configure the driver (mysql) and
    server_version (5.7) in config/packages/doctrine.yaml


 How to test?


  * Write test cases in the tests/ folder
  * Run php bin/phpunit

$ ls -la
total 48
drwxr-xr-x  15 yoshida  staff   480 12  5 20:31 .
drwxr-xr-x   3 yoshida  staff    96 11 28 11:53 ..
drwxr-xr-x  12 yoshida  staff   384 11 28 11:53 .git
-rw-r--r--   1 yoshida  staff    15 11 28 11:53 .gitignore
-rw-r--r--   1 yoshida  staff   474 11 28 11:53 .travis.yml
-rw-r--r--   1 yoshida  staff   677 11 28 11:53 LICENSE.md
-rw-r--r--   1 yoshida  staff  2695 11 28 11:53 README.md
-rw-r--r--   1 yoshida  staff   891 11 28 11:53 docker-compose.travis.yml
-rw-r--r--   1 yoshida  staff  1108 12  2 19:57 docker-compose.yml
drwxr-xr-x   3 yoshida  staff    96 11 28 11:53 elk
drwxr-xr-x   4 yoshida  staff   128 11 28 12:01 logs
drwxr-xr-x   5 yoshida  staff   160 11 28 11:53 nginx
drwxr-xr-x   6 yoshida  staff   192 11 28 11:53 php-fpm
drwxr-xr-x  18 yoshida  staff   576 11 28 12:53 symfony
drwxr-xr-x  18 yoshida  staff   576 12  5 20:31 symfony-test01

$ cd symfony-test01/
$ ls -la
total 584
drwxr-xr-x  18 yoshida  staff     576 12  5 20:31 .
drwxr-xr-x  15 yoshida  staff     480 12  5 20:31 ..
-rw-r--r--   1 yoshida  staff    1663 12  5 20:31 .env
-rw-r--r--   1 yoshida  staff     162 12  5 20:31 .env.test
-rw-r--r--   1 yoshida  staff     252 12  5 20:31 .gitignore
drwxr-xr-x   4 yoshida  staff     128 12  5 20:31 bin
-rw-r--r--   1 yoshida  staff    2157 12  5 20:31 composer.json
-rw-r--r--   1 yoshida  staff  240398 12  5 20:31 composer.lock
drwxr-xr-x   9 yoshida  staff     288 12  5 20:31 config
-rw-r--r--   1 yoshida  staff    1010 12  5 20:31 phpunit.xml.dist
drwxr-xr-x   3 yoshida  staff      96 12  5 20:31 public
drwxr-xr-x   7 yoshida  staff     224 12  5 20:31 src
-rw-r--r--   1 yoshida  staff   13011 12  5 20:31 symfony.lock
drwxr-xr-x   3 yoshida  staff      96 12  5 20:31 templates
drwxr-xr-x   3 yoshida  staff      96 12  5 20:31 tests
drwxr-xr-x   3 yoshida  staff      96 12  5 20:31 translations
drwxrwxrwx   4 yoshida  staff     128 12  5 20:31 var
drwxr-xr-x  19 yoshida  staff     608 12  5 20:31 vendor

参考

書籍

  • PHPフレームワークSymfony4入門
0
0
0

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