File tree Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Expand file tree Collapse file tree 1 file changed +2
-24
lines changed Original file line number Diff line number Diff line change @@ -22,34 +22,12 @@ and enable the server bundle.
22
22
Installing the Web Server Bundle
23
23
--------------------------------
24
24
25
- First, execute this command:
25
+ Move into your project directory and run this command:
26
26
27
27
.. code-block :: terminal
28
28
29
29
$ cd your-project/
30
- $ composer require --dev symfony/web-server-bundle
31
-
32
- Then, enable the bundle in the kernel of the application::
33
-
34
- // src/Kernel.php
35
- class Kernel extends BaseKernel
36
- {
37
- public function registerBundles()
38
- {
39
- $bundles = array(
40
- // ...
41
- );
42
-
43
- if ('dev' === $this->getEnvironment()) {
44
- // ...
45
- $bundles[] = new Symfony\Bundle\WebServerBundle\WebServerBundle();
46
- }
47
-
48
- // ...
49
- }
50
-
51
- // ...
52
- }
30
+ $ composer require server --dev
53
31
54
32
Starting the Web Server
55
33
-----------------------
You can’t perform that action at this time.
0 commit comments