Pada minggu yang lalu saya menulis di blog saya bagaimana menginstalasi Symfony 3, nah kini telah rilis versi terbarunya yakni versi 4.seperti kita ketahui jika dibandingkan Framework lainnya Symfony banya disukai oleh para web developer karena beberapa sebab seperti keamanan yang dibuat terpisah atau Out of the box,Template engine yang mudah digunakan atau dikolaborasikan dengan Frontend developer,built in Email library,annotation atau Block doc PHP yang akan dibaca parsing oleh program sehingga kita bisa memanipulasi program tanpa merubah program bawaannya,kekhasan yml atau yahoo markup language yang sangat friendly sehingga kita tidak perlu menggunakan tag html dan masih banyak lainnya
nah , apa yang baru dari versi 4 ini ?
berikut saya ambil dari Halaman Symfony.com
Symfony 4.0.0 has just been released. Here is a list of the most important changes:
- bug #25220 [HttpFoundation] Add Session::isEmpty(), fix MockFileSessionStorage to behave like the native one (@nicolas-grekas)
- bug #25209 [VarDumper] Dont use empty(), it chokes on eg GMP objects (@nicolas-grekas)
- bug #25200 [HttpKernel] Arrays with scalar values passed to ESI fragment renderer throw deprecation notice (@Simperfit)
- bug #25201 [HttpKernel] Add a better error messages when passing a private or non-tagged controller (@Simperfit)
- bug #25155 [DependencyInjection] Detect case mismatch in autowiring (@Simperfit, @sroze)
- bug #25217 [Dotenv] Changed preg_match flags from null to 0 (@deekthesqueak)
- bug #25180 [DI] Fix circular reference when using setters (@nicolas-grekas)
- bug #25204 [DI] Clear service reference graph (@nicolas-grekas)
- bug #25203 [DI] Fix infinite loop in InlineServiceDefinitionsPass (@nicolas-grekas)
- bug #25185 [Serializer] Do not cache attributes if attributes in context (@sroze)
- bug #25190 [HttpKernel] Keep legacy container files for concurrent requests (@nicolas-grekas)
- bug #25182 [HttpFoundation] AutExpireFlashBag should not clear new flashes (@Simperfit, @sroze)
- bug #25174 [Translation] modify definitions only if the do exist (@xabbuh)
- bug #25179 [FrameworkBundle][Serializer] Remove YamlEncoder definition if Yaml component isn't installed (@ogizanagi)
- bug #25160 [DI] Prevent a ReflectionException during cache:clear when the parent class doesn't exist (@dunglas)
- bug #25163 [DI] Fix tracking of env vars in exceptions (@nicolas-grekas)
- bug #25162 [HttpKernel] Read $_ENV when checking SHELL_VERBOSITY (@nicolas-grekas)
- bug #25158 [DI] Remove unreachable code (@GawainLynch)
- bug #25152 [Form] Don't rely on SymfonyComponentHttpFoundationFileFile if http-foundation isn't in FileType (@issei-m)
- bug #24987 [Console] Fix global console flag when used in chain (@Simperfit)
- bug #25137 Adding checks for the expression language (@weaverryan)
- bug #25151 [FrameworkBundle] Automatically enable the CSRF protection if CSRF manager exists (@sroze)
- bug #25043 [Yaml] added ability for substitute aliases when mapping is on single line (@Michał Strzelecki, @xabbuh)
Sebelumnya saya sudah menginstal versi3 sobat bisa melihatnya di link ini
http://idiuptocode.blogspot.com/2017/11/belajar-symfony-33.html
perbedaan cara penginstalan adalah pada saat awal perintah command , jika sebelumnya kita menggunakan perintah php symfony new bloglist bloglist adalah nama contoh project yang saya buat,Sobat bisa menginstalnya dengan nama yanng berbeda.Andaikan kita mengetikan baris perintah yang sama maka pada tampilan command akan muncul warning seperti ini :
[RuntimeException]
The selected version (4.0.0) cannot be installed because it does not exist.
Execute the following command to install the latest stable Symfony release:
symfony new symfony4
new <directory> [<version>]
maka perintah pada penginstalan Versi 4 menggunakan perintah seperti ini
composer create-project symfony/skeleton my-project
dan sobat bisa mengganti " my project" menjadi nama blog sobat
berikut merupakan List Download dari versi terbaru kini yakni veri 4 yang saya instal di direktori laragon di drive c
C:\laragon\www
λ composer create-project symfony/skeleton my-project
Installing symfony/skeleton (v4.0.0)
- Installing symfony/skeleton (v4.0.0): Downloading (100%)
Created project in my-project
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 21 installs, 0 updates, 0 removals
- Installing symfony/flex (v1.0.43): Loading from cache
- Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
- Installing symfony/console (v4.0.0): Downloading (100%)
- Installing symfony/routing (v4.0.0): Downloading (100%)
- Installing symfony/http-foundation (v4.0.0): Downloading (100%)
- Installing symfony/event-dispatcher (v4.0.0): Downloading (100%)
- Installing psr/log (1.0.2): Loading from cache
- Installing symfony/debug (v4.0.0): Downloading (100%)
- Installing symfony/http-kernel (v4.0.0): Downloading (100%)
- Installing symfony/finder (v4.0.0): Downloading (100%)
- Installing symfony/filesystem (v4.0.0): Downloading (100%)
- Installing psr/container (1.0.0): Loading from cache
- Installing symfony/dependency-injection (v4.0.0): Downloading (100%)
- Installing symfony/config (v4.0.0): Downloading (100%)
- Installing psr/simple-cache (1.0.0): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing symfony/cache (v4.0.0): Downloading (100%)
- Installing symfony/framework-bundle (v4.0.0): Downloading (100%)
- Installing symfony/yaml (v4.0.0): Downloading (100%)
- Installing symfony/dotenv (v4.0.0): Downloading (100%)
Writing lock file
Generating autoload files
Symfony operations: 4 recipes (59404e8e4e0aaee4f1393734d6b157d2)
- Configuring symfony/flex (>=1.0): From github.com/symfony/recipes:master
- Configuring symfony/console (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/routing (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/framework-bundle (>=3.3): From github.com/symfony/recipes:master
Executing script cache:clear [OK]
Executing script assets:install --symlink --relative public [OK]
What's next?
* Run your application:
1. Change to the project directory
2. Execute the php -S 127.0.0.1:8000 -t public command;
3. Browse to the http://localhost:8000/ URL.
Quit the server with CTRL-C.
Run composer require server for a better web server.
* Read the documentation at https://symfony.com/doc
C:\laragon\www
C:\laragon\www
λ composer create-project symfony/skeleton my-project
Installing symfony/skeleton (v4.0.0)
- Installing symfony/skeleton (v4.0.0): Downloading (100%)
Created project in my-project
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 21 installs, 0 updates, 0 removals
- Installing symfony/flex (v1.0.43): Loading from cache
- Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
- Installing symfony/console (v4.0.0): Downloading (100%)
- Installing symfony/routing (v4.0.0): Downloading (100%)
- Installing symfony/http-foundation (v4.0.0): Downloading (100%)
- Installing symfony/event-dispatcher (v4.0.0): Downloading (100%)
- Installing psr/log (1.0.2): Loading from cache
- Installing symfony/debug (v4.0.0): Downloading (100%)
- Installing symfony/http-kernel (v4.0.0): Downloading (100%)
- Installing symfony/finder (v4.0.0): Downloading (100%)
- Installing symfony/filesystem (v4.0.0): Downloading (100%)
- Installing psr/container (1.0.0): Loading from cache
- Installing symfony/dependency-injection (v4.0.0): Downloading (100%)
- Installing symfony/config (v4.0.0): Downloading (100%)
- Installing psr/simple-cache (1.0.0): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing symfony/cache (v4.0.0): Downloading (100%)
- Installing symfony/framework-bundle (v4.0.0): Downloading (100%)
- Installing symfony/yaml (v4.0.0): Downloading (100%)
- Installing symfony/dotenv (v4.0.0): Downloading (100%)
Writing lock file
Generating autoload files
Symfony operations: 4 recipes (59404e8e4e0aaee4f1393734d6b157d2)
- Configuring symfony/flex (>=1.0): From github.com/symfony/recipes:master
- Configuring symfony/console (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/routing (>=3.3): From github.com/symfony/recipes:master
- Configuring symfony/framework-bundle (>=3.3): From github.com/symfony/recipes:master
Executing script cache:clear [OK]
Executing script assets:install --symlink --relative public [OK]
What's next?
* Run your application:
1. Change to the project directory
2. Execute the php -S 127.0.0.1:8000 -t public command;
3. Browse to the http://localhost:8000/ URL.
Quit the server with CTRL-C.
Run composer require server for a better web server.
* Read the documentation at https://symfony.com/doc
C:\laragon\www
Sobat perhatikan pada notice yang saya list warna biru,maka kita disarankan untuk mengganti direktori project maka ikuti perintah command selanjutnya dengan mengetikan perintah
php -S 127.0.0.1:8000 -t public
seandainya Sobat langsung menjalankan di browser sebenarnya bisa saja dilakukan hanya saja sobat menambahkan /public dibelakang url project sobat dan tampilannya akan seperti ini
Jika sobat ingin menggantinya dan terkendala perintah yang disarankan diatas maka sobat bisa melanjutkan dengan mengetik baris seperti ini , jika Sobat tidak dalam folder C, silahkan sesuaikan karena disini saya contohkan menggunaan laragon yang ada di folder C
C:\laragon\www
λ cd my-project
C:\laragon\www\my-project
λ composer require server
maka Command aakan run seperti ini
Using version ^4.0 for symfony/web-server-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Installing symfony/process (v4.0.0): Downloading (100%)
- Installing symfony/web-server-bundle (v4.0.0): Downloading (100%)
Writing lock file
Generating autoload files
Symfony operations: 1 recipe (d61a6febbaf1bf856310427d31551fe7)
- Configuring symfony/web-server-bundle (>=3.3): From github.com/symfony/recipes:master
Executing script cache:clear [OK]
Executing script assets:install --symlink --relative public [OK]
dan pada browser sobat sudah bisa menggantikan alamut url "http://127.0.0.1:8000"
cara yang paling mudah adalah jika download langsung dari webserver , misalkan disini saya mengunakan Webserver laragon tinggal ke menu laragon dan pilih quick creat
secara otomatis akan menjalankan download setelah sobat menentukan nama dari project yang akan soabat buat, disini saya membuat dengan nama symblog, maka tampilan pada command akan berjalan seperti berikut
Creating project: [symblog]. Please wait...
***** Database:
Created database: [symblog]
***** Hint: In Terminal, you can type:
--------------------------------------------------
cd C:\laragon\www
composer create-project symfony/framework-standard-edition symblog
--------------------------------------------------
Running.......
Installing symfony/framework-standard-edition (v3.4.0)
- Installing symfony/framework-standard-edition (v3.4.0): Downloading (100%)
Created project in symblog
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 38 installs, 0 updates, 0 removals
- Installing doctrine/lexer (v1.0.1): Loading from cache
- Installing doctrine/annotations (v1.2.7): Loading from cache
- Installing twig/twig (v1.35.0): Downloading (100%)
- Installing symfony/polyfill-util (v1.6.0): Downloading (100%)
- Installing paragonie/random_compat (v2.0.11): Loading from cache
- Installing symfony/polyfill-php70 (v1.6.0): Loading from cache
- Installing symfony/polyfill-php56 (v1.6.0): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
- Installing symfony/symfony (v3.4.0): Downloading (100%)
- Installing symfony/polyfill-intl-icu (v1.6.0): Downloading (100%)
- Installing symfony/polyfill-apcu (v1.6.0): Loading from cache
- Installing psr/simple-cache (1.0.0): Loading from cache
- Installing psr/log (1.0.2): Loading from cache
- Installing psr/link (1.0.0): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing fig/link-util (1.0.0): Loading from cache
- Installing doctrine/inflector (v1.1.0): Loading from cache
- Installing doctrine/collections (v1.3.0): Loading from cache
- Installing doctrine/cache (v1.6.2): Loading from cache
- Installing doctrine/common (v2.6.2): Loading from cache
- Installing jdorn/sql-formatter (v1.2.17): Loading from cache
- Installing doctrine/doctrine-cache-bundle (1.3.2): Downloading (100%)
- Installing doctrine/dbal (v2.5.13): Loading from cache
- Installing doctrine/doctrine-bundle (1.8.1): Downloading (100%)
- Installing doctrine/instantiator (1.0.5): Loading from cache
- Installing doctrine/orm (v2.5.13): Downloading (100%)
- Installing incenteev/composer-parameter-handler (v2.1.2): Loading from cache
- Installing composer/ca-bundle (1.1.0): Downloading (100%)
- Installing sensiolabs/security-checker (v4.1.6): Downloading (100%)
- Installing sensio/distribution-bundle (v5.0.21): Downloading (100%)
- Installing sensio/framework-extra-bundle (v5.1.1): Downloading (100%)
- Installing monolog/monolog (1.23.0): Loading from cache
- Installing symfony/monolog-bundle (v3.1.2): Downloading (100%)
- Installing swiftmailer/swiftmailer (v5.4.8): Loading from cache
- Installing symfony/swiftmailer-bundle (v2.6.7): Downloading (100%)
- Installing sensio/generator-bundle (v3.1.6): Loading from cache
- Installing symfony/phpunit-bridge (v3.4.0): Downloading (100%)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
doctrine/doctrine-cache-bundle suggests installing symfony/security-acl (For using this bundle to cache ACLs)
sensio/framework-extra-bundle suggests installing symfony/psr-http-message-bridge (To use the PSR-7 converters)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Creating the "app/config/parameters.yml" file
Some parameters are missing. Please provide them.
database_host (127.0.0.1): symfony
database_port (null): 3306
database_name (symfony): symfony
database_user (root): root
database_password (null):
mailer_transport (smtp):
mailer_host (127.0.0.1):
mailer_user (null):
mailer_password (null):
secret (ThisTokenIsNotSoSecretChangeIt):
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
// Clearing the cache for the dev environment with debug true
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
Trying to install assets as relative symbolic links.
[OK] No assets were provided by any bundle.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
***** NOTE: Now, you can use pretty url for your awesome project :) *****
--------------------------------------------------
(Laragon) Project path: C:/laragon/www/symblog
(Laragon) Pretty url: http://symblog.dev
--------------------------------------------------
C:\laragon\www\symblog>
nah sampai disini sobat sudah mempunyai project symfony baru dengan versi 4.0
sekian dulu tutorial dari saya Jika sobat ingin melihat Video pengalaman Symfony 4 bisa melihat vdeonya disini
semoga bisa membantu.
php -S 127.0.0.1:8000 -t public
seandainya Sobat langsung menjalankan di browser sebenarnya bisa saja dilakukan hanya saja sobat menambahkan /public dibelakang url project sobat dan tampilannya akan seperti ini
Jika sobat ingin menggantinya dan terkendala perintah yang disarankan diatas maka sobat bisa melanjutkan dengan mengetik baris seperti ini , jika Sobat tidak dalam folder C, silahkan sesuaikan karena disini saya contohkan menggunaan laragon yang ada di folder C
C:\laragon\www
λ cd my-project
C:\laragon\www\my-project
λ composer require server
maka Command aakan run seperti ini
Using version ^4.0 for symfony/web-server-bundle
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 2 installs, 0 updates, 0 removals
- Installing symfony/process (v4.0.0): Downloading (100%)
- Installing symfony/web-server-bundle (v4.0.0): Downloading (100%)
Writing lock file
Generating autoload files
Symfony operations: 1 recipe (d61a6febbaf1bf856310427d31551fe7)
- Configuring symfony/web-server-bundle (>=3.3): From github.com/symfony/recipes:master
Executing script cache:clear [OK]
Executing script assets:install --symlink --relative public [OK]
dan pada browser sobat sudah bisa menggantikan alamut url "http://127.0.0.1:8000"
cara yang paling mudah adalah jika download langsung dari webserver , misalkan disini saya mengunakan Webserver laragon tinggal ke menu laragon dan pilih quick creat
secara otomatis akan menjalankan download setelah sobat menentukan nama dari project yang akan soabat buat, disini saya membuat dengan nama symblog, maka tampilan pada command akan berjalan seperti berikut
Creating project: [symblog]. Please wait...
***** Database:
Created database: [symblog]
***** Hint: In Terminal, you can type:
--------------------------------------------------
cd C:\laragon\www
composer create-project symfony/framework-standard-edition symblog
--------------------------------------------------
Running.......
Installing symfony/framework-standard-edition (v3.4.0)
- Installing symfony/framework-standard-edition (v3.4.0): Downloading (100%)
Created project in symblog
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 38 installs, 0 updates, 0 removals
- Installing doctrine/lexer (v1.0.1): Loading from cache
- Installing doctrine/annotations (v1.2.7): Loading from cache
- Installing twig/twig (v1.35.0): Downloading (100%)
- Installing symfony/polyfill-util (v1.6.0): Downloading (100%)
- Installing paragonie/random_compat (v2.0.11): Loading from cache
- Installing symfony/polyfill-php70 (v1.6.0): Loading from cache
- Installing symfony/polyfill-php56 (v1.6.0): Downloading (100%)
- Installing symfony/polyfill-mbstring (v1.6.0): Loading from cache
- Installing symfony/symfony (v3.4.0): Downloading (100%)
- Installing symfony/polyfill-intl-icu (v1.6.0): Downloading (100%)
- Installing symfony/polyfill-apcu (v1.6.0): Loading from cache
- Installing psr/simple-cache (1.0.0): Loading from cache
- Installing psr/log (1.0.2): Loading from cache
- Installing psr/link (1.0.0): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing psr/cache (1.0.1): Loading from cache
- Installing fig/link-util (1.0.0): Loading from cache
- Installing doctrine/inflector (v1.1.0): Loading from cache
- Installing doctrine/collections (v1.3.0): Loading from cache
- Installing doctrine/cache (v1.6.2): Loading from cache
- Installing doctrine/common (v2.6.2): Loading from cache
- Installing jdorn/sql-formatter (v1.2.17): Loading from cache
- Installing doctrine/doctrine-cache-bundle (1.3.2): Downloading (100%)
- Installing doctrine/dbal (v2.5.13): Loading from cache
- Installing doctrine/doctrine-bundle (1.8.1): Downloading (100%)
- Installing doctrine/instantiator (1.0.5): Loading from cache
- Installing doctrine/orm (v2.5.13): Downloading (100%)
- Installing incenteev/composer-parameter-handler (v2.1.2): Loading from cache
- Installing composer/ca-bundle (1.1.0): Downloading (100%)
- Installing sensiolabs/security-checker (v4.1.6): Downloading (100%)
- Installing sensio/distribution-bundle (v5.0.21): Downloading (100%)
- Installing sensio/framework-extra-bundle (v5.1.1): Downloading (100%)
- Installing monolog/monolog (1.23.0): Loading from cache
- Installing symfony/monolog-bundle (v3.1.2): Downloading (100%)
- Installing swiftmailer/swiftmailer (v5.4.8): Loading from cache
- Installing symfony/swiftmailer-bundle (v2.6.7): Downloading (100%)
- Installing sensio/generator-bundle (v3.1.6): Loading from cache
- Installing symfony/phpunit-bridge (v3.4.0): Downloading (100%)
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
doctrine/doctrine-cache-bundle suggests installing symfony/security-acl (For using this bundle to cache ACLs)
sensio/framework-extra-bundle suggests installing symfony/psr-http-message-bridge (To use the PSR-7 converters)
monolog/monolog suggests installing aws/aws-sdk-php (Allow sending log messages to AWS services like DynamoDB)
monolog/monolog suggests installing doctrine/couchdb (Allow sending log messages to a CouchDB server)
monolog/monolog suggests installing ext-amqp (Allow sending log messages to an AMQP server (1.0+ required))
monolog/monolog suggests installing ext-mongo (Allow sending log messages to a MongoDB server)
monolog/monolog suggests installing graylog2/gelf-php (Allow sending log messages to a GrayLog2 server)
monolog/monolog suggests installing mongodb/mongodb (Allow sending log messages to a MongoDB server via PHP Driver)
monolog/monolog suggests installing php-amqplib/php-amqplib (Allow sending log messages to an AMQP server using php-amqplib)
monolog/monolog suggests installing php-console/php-console (Allow sending log messages to Google Chrome)
monolog/monolog suggests installing rollbar/rollbar (Allow sending log messages to Rollbar)
monolog/monolog suggests installing ruflin/elastica (Allow sending log messages to an Elastic Search server)
monolog/monolog suggests installing sentry/sentry (Allow sending log messages to a Sentry server)
Generating autoload files
> Incenteev\ParameterHandler\ScriptHandler::buildParameters
Creating the "app/config/parameters.yml" file
Some parameters are missing. Please provide them.
database_host (127.0.0.1): symfony
database_port (null): 3306
database_name (symfony): symfony
database_user (root): root
database_password (null):
mailer_transport (smtp):
mailer_host (127.0.0.1):
mailer_user (null):
mailer_password (null):
secret (ThisTokenIsNotSoSecretChangeIt):
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::buildBootstrap
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::clearCache
// Clearing the cache for the dev environment with debug true
[OK] Cache for the "dev" environment (debug=true) was successfully cleared.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installAssets
Trying to install assets as relative symbolic links.
[OK] No assets were provided by any bundle.
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::installRequirementsFile
> Sensio\Bundle\DistributionBundle\Composer\ScriptHandler::prepareDeploymentTarget
***** NOTE: Now, you can use pretty url for your awesome project :) *****
--------------------------------------------------
(Laragon) Project path: C:/laragon/www/symblog
(Laragon) Pretty url: http://symblog.dev
--------------------------------------------------
C:\laragon\www\symblog>
lihat , beberapa list yang saya cetak biru lagi, disini Sobat diminta mengisi beberapa parameter, dari mulai host dan pengaturan standard lainnya, jika sobat ingin mengaturnya nanti dan hanya akan melakukan konfigurasi default maka tinggal tekan enter dan enter saja.Disini sobat akan diberikan alam url yang lebih pendek dan mudah untuk digunakan dengan nama http://symblog.dev/ , sangat mudah dan simple kan ?, tapi versinya 3.4 .
nah sampai disini sobat sudah mempunyai project symfony baru dengan versi 4.0
sekian dulu tutorial dari saya Jika sobat ingin melihat Video pengalaman Symfony 4 bisa melihat vdeonya disini
semoga bisa membantu.
tulisan yang bagus gan, mampir juga di blog saya ya,
BalasHapushttps://catatan-pemrograman.blogspot.com/2018/09/memulai-symfony-4.html