@@ -4,117 +4,23 @@ Symfony Standard Edition
4
4
Welcome to the Symfony Standard Edition - a fully-functional Symfony2
5
5
application that you can use as the skeleton for your new applications.
6
6
7
- This document contains information on how to download, install, and start
8
- using Symfony. For a more detailed explanation, see the [ Installation] [ 1 ]
9
- chapter of the Symfony Documentation.
10
-
11
- 1 ) Installing the Standard Edition
12
- ----------------------------------
13
-
14
- When it comes to installing the Symfony Standard Edition, you have the
15
- following options.
16
-
17
- ### Use Composer (* recommended* )
18
-
19
- As Symfony uses [ Composer] [ 2 ] to manage its dependencies, the recommended way
20
- to create a new project is to use it.
21
-
22
- If you don't have Composer yet, download it following the instructions on
23
- http://getcomposer.org/ or just run the following command:
24
-
25
- curl -s http://getcomposer.org/installer | php
26
-
27
- Then, use the ` create-project ` command to generate a new Symfony application:
28
-
29
- php composer.phar create-project symfony/framework-standard-edition path/to/install
30
-
31
- Composer will install Symfony and all its dependencies under the
32
- ` path/to/install ` directory.
33
-
34
- ### Download an Archive File
35
-
36
- To quickly test Symfony, you can also download an [ archive] [ 3 ] of the Standard
37
- Edition and unpack it somewhere under your web server root directory.
38
-
39
- If you downloaded an archive "without vendors", you also need to install all
40
- the necessary dependencies. Download composer (see above) and run the
41
- following command:
42
-
43
- php composer.phar install
44
-
45
- 2 ) Checking your System Configuration
46
- -------------------------------------
47
-
48
- Before starting coding, make sure that your local system is properly
49
- configured for Symfony.
50
-
51
- Execute the ` check.php ` script from the command line:
52
-
53
- php app/check.php
54
-
55
- The script returns a status code of ` 0 ` if all mandatory requirements are met,
56
- ` 1 ` otherwise.
57
-
58
- Access the ` config.php ` script from a browser:
59
-
60
- http://localhost/path/to/symfony/app/web/config.php
61
-
62
- If you get any warnings or recommendations, fix them before moving on.
63
-
64
- 3 ) Browsing the Demo Application
65
- --------------------------------
66
-
67
- Congratulations! You're now ready to use Symfony.
68
-
69
- From the ` config.php ` page, click the "Bypass configuration and go to the
70
- Welcome page" link to load up your first Symfony page.
71
-
72
- You can also use a web-based configurator by clicking on the "Configure your
73
- Symfony Application online" link of the ` config.php ` page.
74
-
75
- To see a real-live Symfony page in action, access the following page:
76
-
77
- web/app_dev.php/demo/hello/Fabien
78
-
79
- 4 ) Getting started with Symfony
80
- -------------------------------
81
-
82
- This distribution is meant to be the starting point for your Symfony
83
- applications, but it also contains some sample code that you can learn from
84
- and play with.
85
-
86
- A great way to start learning Symfony is via the [ Quick Tour] [ 4 ] , which will
87
- take you through all the basic features of Symfony2.
88
-
89
- Once you're feeling good, you can move onto reading the official
90
- [ Symfony2 book] [ 5 ] .
91
-
92
- A default bundle, ` AcmeDemoBundle ` , shows you Symfony2 in action. After
93
- playing with it, you can remove it by following these steps:
94
-
95
- * delete the ` src/Acme ` directory;
96
-
97
- * remove the routing entry referencing AcmeDemoBundle in ` app/config/routing_dev.yml ` ;
98
-
99
- * remove the AcmeDemoBundle from the registered bundles in ` app/AppKernel.php ` ;
100
-
101
- * remove the ` web/bundles/acmedemo ` directory;
102
-
103
- * empty the ` security.yml ` file or tweak the security configuration to fit
104
- your needs.
7
+ For details on how to download and get started with Symfony, see the
8
+ [ Installation] [ 1 ] chapter of the Symfony Documentation.
105
9
106
10
What's inside?
107
- ---------------
11
+ --------------
108
12
109
13
The Symfony Standard Edition is configured with the following defaults:
110
14
111
- * Twig is the only configured template engine ;
15
+ * An AppBundle you can use to start coding ;
112
16
113
- * Doctrine ORM/DBAL is configured;
17
+ * Twig as the only configured template engine ;
114
18
115
- * Swiftmailer is configured ;
19
+ * Doctrine ORM/DBAL ;
116
20
117
- * Annotations for everything are enabled.
21
+ * Swiftmailer;
22
+
23
+ * Annotations enabled for everything.
118
24
119
25
It comes pre-configured with the following bundles:
120
26
@@ -147,24 +53,17 @@ It comes pre-configured with the following bundles:
147
53
* [ ** SensioGeneratorBundle** ] [ 13 ] (in dev/test env) - Adds code generation
148
54
capabilities
149
55
150
- * ** AcmeDemoBundle** (in dev/test env) - A demo bundle with some example
151
- code
152
-
153
56
All libraries and bundles included in the Symfony Standard Edition are
154
57
released under the MIT or BSD license.
155
58
156
59
Enjoy!
157
60
158
- [ 1 ] : http://symfony.com/doc/2.3/book/installation.html
159
- [ 2 ] : http://getcomposer.org/
160
- [ 3 ] : http://symfony.com/download
161
- [ 4 ] : http://symfony.com/doc/2.3/quick_tour/the_big_picture.html
162
- [ 5 ] : http://symfony.com/doc/2.3/index.html
163
- [ 6 ] : http://symfony.com/doc/2.3/bundles/SensioFrameworkExtraBundle/index.html
164
- [ 7 ] : http://symfony.com/doc/2.3/book/doctrine.html
165
- [ 8 ] : http://symfony.com/doc/2.3/book/templating.html
166
- [ 9 ] : http://symfony.com/doc/2.3/book/security.html
167
- [ 10 ] : http://symfony.com/doc/2.3/cookbook/email.html
168
- [ 11 ] : http://symfony.com/doc/2.3/cookbook/logging/monolog.html
169
- [ 12 ] : http://symfony.com/doc/2.3/cookbook/assetic/asset_management.html
170
- [ 13 ] : http://symfony.com/doc/2.3/bundles/SensioGeneratorBundle/index.html
61
+ [ 1 ] : http://symfony.com/doc/current/book/installation.html
62
+ [ 6 ] : http://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/index.html
63
+ [ 7 ] : http://symfony.com/doc/current/book/doctrine.html
64
+ [ 8 ] : http://symfony.com/doc/current/book/templating.html
65
+ [ 9 ] : http://symfony.com/doc/current/book/security.html
66
+ [ 10 ] : http://symfony.com/doc/current/cookbook/email.html
67
+ [ 11 ] : http://symfony.com/doc/current/cookbook/logging/monolog.html
68
+ [ 12 ] : http://symfony.com/doc/current/cookbook/assetic/asset_management.html
69
+ [ 13 ] : http://symfony.com/doc/current/bundles/SensioGeneratorBundle/index.html
0 commit comments