dev-master
9999999-dev
MIT
The Requires
- php >=5.3.2
- symfony/console 2.*
- symfony/http-kernel 2.*
- symfony/finder 2.*
- symfony/framework-bundle 2.*
by Issei Murasawa
symfony multiple apps
Wallogit.com
2017 © Pedro Peláez
¡AvP[Vð^p·é Symfony2 Standard Edition vWFNgiڵͱ¿çjÌR}hÀsðâµÜ·B
á¦Îcache:clearÌR}hðA·×ÄÌAvP[VãÅÀs·éªÅ«Ü·B, (*1)
Composer ÅCXg[µÜ·B, (*2)
$ php composer.phar require issei/multiple-apps-support:dev-master
binfBNgÉconsoleƾ¤¤ÊR\[ª¶¬³êÜ·B
»ÝAcache:clear,assets:install,assetic:dumpÌ3ÂðT|[gµÄ¢Ü·B, (*3)
$ bin/console cache:clear --no-warmup --env=prod > Excuting command on frontend... > Clearing the cache for the prod environment with debug false > Excuting command on api... > Clearing the cache for the prod environment with debug false
·×į¶øIvVÅÀs³êÜ·B, (*4)
$ bin/console assets:install --symlink > Excuting command on frontend... > Installing assets using the symlink option > Installing assets for Symfony\Bundle\FrameworkBundle into web/frontend/bundles/framework > Excuting command on api... > Installing assets using the symlink option > Installing assets for Symfony\Bundle\FrameworkBundle into web/api/bundles/framework
æ1øiftHgFwebjÉ/%kernel.name%ªt^³êÜ·BIvVͤĘ̂ªgp³êÜ·B
¦-watch,--force,--perodIvVÍgpūܹñB, (*5)
$ bin/console assetic:install --env=prod --no-debug web > Excuting command on frontend... > Dumping all prod assets. > Debug mode is off. > > xx:xx:xx [file+] $(PROJECT_ROOT)/apps/frontend/../../web/frontend/css/xxxxxx.css > xx:xx:xx [file+] $(PROJECT_ROOT)/apps/frontend/../../web/frontend/js/xxxxxx.js > Excuting command on api... > Dumping all prod assets. > Debug mode is off. > > xx:xx:xx [file+] $(PROJECT_ROOT)/apps/api/../../web/api/css/xxxxxx.css > xx:xx:xx [file+] $(PROJECT_ROOT)/apps/api/../../web/api/js/xxxxxx.js
æ1øiftHgF%assetic.write_to%jªwè³ê½êÌÝA/%kernel.name%ªt^³êÜ·BIvVͤĘ̂ªgp³êÜ·B, (*6)
¡ÌAvP[ViáÅÍfrontend, apijÌJ[lARtBM
[VALbV
ðÅLÌAvP[V¼ðt¯½fBNgÉüêAappsàÅǵܷB
webfBNgÉàAvP[VÉAηéAvP[VÌfBNg¼ÅlXgµÄº³¢B, (*7)
¦±ÌA[LeN`ÌÚ×ÍȺð²Qƺ³¢B
* Multiple applications with Symfony2
* symfony1 [U[̽ßÌ Symfony2, (*8)
MIT
symfony multiple apps