欢迎大家赞助一杯啤酒🍺 我们准备了下酒菜:Formal mathematics/Isabelle/ML, Formal verification/Coq/ACL2, C++/F#/Lisp
Symfony
来自开放百科 - 灰狐
(版本间的差异)
小 |
小 (→项目) |
||
(未显示1个用户的53个中间版本) | |||
第1行: | 第1行: | ||
{{SeeWikipedia}} | {{SeeWikipedia}} | ||
− | |||
− | + | [[Image:symfony-logo.png|right|Symfony]] | |
− | + | Symfony | |
+ | |||
+ | ==简介== | ||
+ | Symfony:一个强大、流行的 [[PHP]] 开源框架,采用 MIT 许可协议。 | ||
+ | |||
+ | 可重点关注这三个基于 Symfony 的开源项目: | ||
+ | * 营销,[[Mautic]] Open Source Marketing Automation Software. | ||
+ | * 电商,[[Sylius]] Open Source eCommerce Platform. | ||
+ | * 分析,[[Matomo]] is the leading Free/Libre open analytics platform. | ||
+ | |||
+ | ==功能== | ||
+ | Symfony 的特色体现:Components、Bundles、Plugins,它们是Symfony扩展的基础。 | ||
+ | |||
+ | Symfony2(以下简称SF2)是一款及其强大的PHP框架,可以说应该是PHP中最强大的框架了。就算PHP官方之框架Zend Framework(以下简称ZF2)也一直望尘莫及,并且从ZF2开始就一直模仿SF2,但是从未超越它。SF2具有强大的可扩展性,利用Bundle的概念使框架可以无限制扩展,乃至SF2本身就是一个Bundle,并且可以利用SF2来构成自己所需的PHP框架。SF2默认整合了Twig模板,Doctrine ORM等,可以说唯一具备了PHP本身的简洁,明析与速度快的优点也结合了Java领域框架的强大性和Ruby on Rails敏捷开发概念的全能型框架。目前世界最流行的CMS系统-Drupal的Drupal8版本也将采用Symfony2,可见其强大及灵活之处。 | ||
+ | |||
+ | ==版本== | ||
+ | [https://symfony.com/releases Symfony Releases] | ||
+ | *[https://symfony.com/releases/6.0 Symfony 6.0] 需要 PHP 8.0.2 或以上 | ||
+ | *[https://symfony.com/releases/5.4 Symfony 5.4] LTS 版本,需要 PHP 7.2.5 或以上 | ||
+ | *[https://symfony.com/releases/4.4 Symfony 4.4] LTS 版本,需要 PHP 7.1.3 或以上 | ||
+ | |||
+ | ==指南== | ||
+ | $ curl -sS https://get.symfony.com/cli/installer | bash | ||
+ | $ symfony -v | ||
+ | $ symfony new myproject | ||
+ | $ cd myproject/ | ||
+ | $ symfony server:start | ||
+ | http://localhost:8000 | ||
+ | $ symfony server:stop | ||
+ | |||
+ | ==Applications== | ||
+ | [https://flex.symfony.com/ Symfony Recipes Server] Symfony [https://github.com/symfony/flex Flex] is the way to manage Symfony applications. | ||
==Components== | ==Components== | ||
− | *[http://symfony.com/ | + | [http://symfony.com/components Symfony Components] |
+ | *[[Symfony security component]] | ||
+ | *[https://github.com/symfony/polyfill-php80 Polyfill PHP 8.0] 该组件在纯 [[PHP]] 代码中实现了某些 PHP 8.0 功能,以此提供了在 PHP 8.0 之前的版本中无法使用的功能。 | ||
+ | *[https://github.com/symfony/http-kernel HttpKernel Component] | ||
+ | *[https://github.com/symfony/http-foundation HttpFoundation Component] | ||
+ | *[https://github.com/symfony/http-client HttpClient component] | ||
+ | *[https://github.com/symfony/console Console Component] | ||
+ | *[https://github.com/symfony/process Process Component] | ||
+ | *[https://github.com/symfony/translation Translation Component] | ||
+ | *[https://github.com/symfony/routing Routing Component] | ||
+ | *[https://github.com/symfony/filesystem Filesystem Component] | ||
+ | *[https://github.com/symfony/form Form Component] | ||
==Bundles== | ==Bundles== | ||
+ | [[文件:FriendsOfSymfony.png|right|FriendsOfSymfony]] | ||
*[http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html DoctrineMongoDBBundle] Doctrine [[MongoDB]] Object Document Mapper (ODM) | *[http://symfony.com/doc/current/bundles/DoctrineMongoDBBundle/index.html DoctrineMongoDBBundle] Doctrine [[MongoDB]] Object Document Mapper (ODM) | ||
+ | *[http://jmsyst.com/bundles/ Johannes Schmitt] | ||
+ | *[https://symfony.com/doc/current/bundles/FOSUserBundle/index.html FOSUserBundle] | ||
+ | *[https://symfony.com/doc/current/bundles/FOSRestBundle/index.html FOSRestBundle] | ||
==Plugins== | ==Plugins== | ||
[http://www.symfony-project.org/plugins/ Plugins 针对 Symfony 1.x] | [http://www.symfony-project.org/plugins/ Plugins 针对 Symfony 1.x] | ||
+ | |||
+ | ==项目== | ||
+ | [https://github.com/sitepoint/awesome-symfony Awesome Symfony] [[image:awesome.png]] | ||
+ | [[文件:Pimcore-logo-readme.png|right|Pimcore]] | ||
+ | *[https://github.com/symfony Symfony @ GitHub] | ||
+ | *[https://sonata-project.org/ Sonata Project] | ||
+ | *[https://github.com/EasyCorp/EasyAdminBundle EasyAdmin] | ||
+ | *[https://github.com/sonata-project/SonataAdminBundle Sonata Admin Bundle] | ||
+ | *[https://github.com/Sylius/Sylius Sylius] eCommerce solutions | ||
+ | *[https://github.com/elcodi/elcodi Elcodi for Symfony] | ||
+ | *[https://github.com/schmittjoh/JMSPaymentCoreBundle JMSPaymentCoreBundle] | ||
+ | *[https://github.com/hwi/HWIOAuthBundle HWIOAuthBundle] | ||
+ | *[http://api.symfony.com/3.1/index.html Symfony API] [https://github.com/FriendsOfPHP/Sami Sami: an API documentation generator] | ||
+ | *[http://cmf.symfony.com/ Symfony CMF] [https://github.com/phpcr/phpcr PHP Content Repository PHPCR] | ||
+ | *[[Pimcore]] | ||
+ | *[[Drupal]] | ||
+ | *[https://github.com/bolt Bolt CMS] | ||
+ | *[[phpBB]] | ||
+ | *[[Nextcloud]] | ||
+ | *[[OroPlatform]] | ||
+ | *[[OroCRM]] | ||
+ | *[[OroCommerce]] | ||
+ | *[[Marello]] | ||
+ | *[https://github.com/shopware/platform Shopware] | ||
+ | *[https://github.com/mautic/mautic Mautic] Open Source Marketing Automation Software | ||
+ | |||
+ | ==MediaWiki== | ||
+ | 将 [[MediaWiki]] 和 Symfony 更好的集成、融合在一起。 | ||
+ | *[https://www.mediawiki.org/wiki/Extension:AuthSymfony Extension:AuthSymfony] | ||
+ | *[https://www.mediawiki.org/wiki/Requests_for_comment Requests for comment (RFCs)] | ||
+ | |||
+ | ==Phabricator== | ||
+ | 将 [[Phabricator]] 和 Symfony 更好的集成、融合在一起。 | ||
+ | |||
+ | ==分发版== | ||
+ | [https://github.com/sitepoint/awesome-symfony#distributions Symfony Distributions] | ||
+ | *[https://github.com/symfony/symfony-standard Symfony Standard Edition] | ||
+ | *[https://github.com/gimler/symfony-rest-edition Symfony REST Edition] | ||
+ | *[[API Platform]] | ||
+ | *[https://github.com/symfony-cmf/standard-edition Symfony CMF Standard Edition] | ||
==Books== | ==Books== | ||
第21行: | 第106行: | ||
*[http://www.doctrine-project.org/projects/orm/1.2/docs/manual/en Doctrine ORM for PHP (1.2)] Creative Commons Attribution-Share Alike 3.0 Unported License. | *[http://www.doctrine-project.org/projects/orm/1.2/docs/manual/en Doctrine ORM for PHP (1.2)] Creative Commons Attribution-Share Alike 3.0 Unported License. | ||
*[http://www.symfony-project.org/jobeet/1_4/Propel/en/ Practical symfony 1.3 & 1.4 for Propel] Creative Commons Attribution-Share Alike 3.0 Unported License. | *[http://www.symfony-project.org/jobeet/1_4/Propel/en/ Practical symfony 1.3 & 1.4 for Propel] Creative Commons Attribution-Share Alike 3.0 Unported License. | ||
+ | |||
+ | ==用户案例== | ||
+ | [https://symfony.com/blog/category/case-studies Case Studies] | ||
+ | *[https://symfony.com/blog/yahoo-answers-powered-by-symfony Yahoo! Answers powered by symfony] | ||
+ | *[[composer]] 和 [https://github.com/composer/packagist packagist] | ||
+ | |||
+ | ==图集== | ||
+ | <gallery> | ||
+ | image:symfony-profiler.png|Profiler | ||
+ | image:Symfony-CMF-Request-Flow.png|Symfony CMF请求流 | ||
+ | image:sylius-architecture.png|Sylius | ||
+ | </gallery> | ||
==链接== | ==链接== | ||
− | *[http:// | + | *[http://symfony.com/ Symfony官网] |
− | + | ||
− | + | ||
*[http://symfony.com/doc/current/cookbook/index.html Symfony Cookbook] | *[http://symfony.com/doc/current/cookbook/index.html Symfony Cookbook] | ||
*[http://books.sensiolabs.com/ We publish Open-Source Books for demanding People] | *[http://books.sensiolabs.com/ We publish Open-Source Books for demanding People] | ||
+ | *[http://www.csdn.net/article/2014-08-04/2820962-handling-1-billion-requests-a-week-with-symfony2 为Symfony2和Redis正名,基于PHP的10亿请求/周网站打造] | ||
+ | *[http://www.infoq.com/cn/articles/symfony2 深入浅出Symfony2 - 如何提高网站响应速度] | ||
+ | *[http://www.infoq.com/cn/articles/a-people-search-platform-in-three-hours 深入浅出Symfony2 - 如何在三小时内开发一个寻人平台] | ||
+ | *[http://www.infoq.com/cn/articles/depth-study-of-Symfony2 深入浅出Symfony2 - 结合MongoDB开发LBS应用] | ||
[[category:framework]] | [[category:framework]] | ||
第33行: | 第132行: | ||
[[category:PHP]] | [[category:PHP]] | ||
[[category:REST]] | [[category:REST]] | ||
+ | [[category:Huihoo Foundation]] |
2024年8月21日 (三) 05:34的最后版本
您可以在Wikipedia上了解到此条目的英文信息 Symfony Thanks, Wikipedia. |
Symfony
目录 |
[编辑] 简介
Symfony:一个强大、流行的 PHP 开源框架,采用 MIT 许可协议。
可重点关注这三个基于 Symfony 的开源项目:
- 营销,Mautic Open Source Marketing Automation Software.
- 电商,Sylius Open Source eCommerce Platform.
- 分析,Matomo is the leading Free/Libre open analytics platform.
[编辑] 功能
Symfony 的特色体现:Components、Bundles、Plugins,它们是Symfony扩展的基础。
Symfony2(以下简称SF2)是一款及其强大的PHP框架,可以说应该是PHP中最强大的框架了。就算PHP官方之框架Zend Framework(以下简称ZF2)也一直望尘莫及,并且从ZF2开始就一直模仿SF2,但是从未超越它。SF2具有强大的可扩展性,利用Bundle的概念使框架可以无限制扩展,乃至SF2本身就是一个Bundle,并且可以利用SF2来构成自己所需的PHP框架。SF2默认整合了Twig模板,Doctrine ORM等,可以说唯一具备了PHP本身的简洁,明析与速度快的优点也结合了Java领域框架的强大性和Ruby on Rails敏捷开发概念的全能型框架。目前世界最流行的CMS系统-Drupal的Drupal8版本也将采用Symfony2,可见其强大及灵活之处。
[编辑] 版本
- Symfony 6.0 需要 PHP 8.0.2 或以上
- Symfony 5.4 LTS 版本,需要 PHP 7.2.5 或以上
- Symfony 4.4 LTS 版本,需要 PHP 7.1.3 或以上
[编辑] 指南
$ curl -sS https://get.symfony.com/cli/installer | bash $ symfony -v $ symfony new myproject $ cd myproject/ $ symfony server:start http://localhost:8000 $ symfony server:stop
[编辑] Applications
Symfony Recipes Server Symfony Flex is the way to manage Symfony applications.
[编辑] Components
- Symfony security component
- Polyfill PHP 8.0 该组件在纯 PHP 代码中实现了某些 PHP 8.0 功能,以此提供了在 PHP 8.0 之前的版本中无法使用的功能。
- HttpKernel Component
- HttpFoundation Component
- HttpClient component
- Console Component
- Process Component
- Translation Component
- Routing Component
- Filesystem Component
- Form Component
[编辑] Bundles
- DoctrineMongoDBBundle Doctrine MongoDB Object Document Mapper (ODM)
- Johannes Schmitt
- FOSUserBundle
- FOSRestBundle
[编辑] Plugins
[编辑] 项目
- Symfony @ GitHub
- Sonata Project
- EasyAdmin
- Sonata Admin Bundle
- Sylius eCommerce solutions
- Elcodi for Symfony
- JMSPaymentCoreBundle
- HWIOAuthBundle
- Symfony API Sami: an API documentation generator
- Symfony CMF PHP Content Repository PHPCR
- Pimcore
- Drupal
- Bolt CMS
- phpBB
- Nextcloud
- OroPlatform
- OroCRM
- OroCommerce
- Marello
- Shopware
- Mautic Open Source Marketing Automation Software
[编辑] MediaWiki
将 MediaWiki 和 Symfony 更好的集成、融合在一起。
[编辑] Phabricator
将 Phabricator 和 Symfony 更好的集成、融合在一起。
[编辑] 分发版
[编辑] Books
- A Gentle Introduction to symfony 1.4 GNU Free Documentation License.
- More with symfony 1.3 & 1.4 Creative Commons Attribution-Share Alike 3.0 Unported License.
- Doctrine ORM for PHP (1.2) Creative Commons Attribution-Share Alike 3.0 Unported License.
- Practical symfony 1.3 & 1.4 for Propel Creative Commons Attribution-Share Alike 3.0 Unported License.
[编辑] 用户案例
[编辑] 图集
[编辑] 链接
分享您的观点