Symfony

来自开放百科 - 灰狐
(版本间的差异)
跳转到: 导航, 搜索
(项目)
(未显示1个用户的65个中间版本)
第1行: 第1行:
[[Image:Symfony-logo.gif|right]]
+
{{SeeWikipedia}}
  
symfony: an open-source PHP5 web framework
+
[[Image:symfony-logo.png|right|Symfony]]
  
*http://www.symfony-project.com/
+
Symfony
*下载 - http://download.huihoo.com/php/framework/symfony/
+
  
[[Category:Framework]]
+
==简介==
[[Category:PHP]]
+
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==
 +
[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==
 +
[[文件:FriendsOfSymfony.png|right|FriendsOfSymfony]]
 +
*[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==
 +
[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==
 +
[http://books.sensiolabs.com/ Free books]
 +
*[http://www.symfony-project.org/gentle-introduction/1_4/en/ A Gentle Introduction to symfony 1.4] GNU Free Documentation License.
 +
*[http://www.symfony-project.org/more-with-symfony/1_4/en/ More with symfony 1.3 & 1.4] 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.
 +
 
 +
==用户案例==
 +
[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://symfony.com/ Symfony官网]
 +
*[http://symfony.com/doc/current/cookbook/index.html Symfony Cookbook]
 +
*[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:symfony]]
 +
[[category:PHP]]
 +
[[category:REST]]
 +
[[category:Huihoo Foundation]]

2024年8月21日 (三) 05:34的版本

Wikipedia-35x35.png 您可以在Wikipedia上了解到此条目的英文信息 Symfony Thanks, Wikipedia.
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,可见其强大及灵活之处。

版本

Symfony Releases

指南

$ 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 Components

Bundles

FriendsOfSymfony

Plugins

Plugins 针对 Symfony 1.x

项目

Awesome Symfony Awesome.png

Pimcore

MediaWiki

MediaWiki 和 Symfony 更好的集成、融合在一起。

Phabricator

Phabricator 和 Symfony 更好的集成、融合在一起。

分发版

Symfony Distributions

Books

Free books

用户案例

Case Studies

图集

链接

分享您的观点
个人工具
名字空间

变换
操作
导航
工具箱