- PHP requirements: 5.3, ext/intl
- https://github.com/symfony/symfony-sandbox vs. https://github.com/symfony/symfony-bootstrapper vs. ..
- submodules vs. vendor scripts vs. MR
- submodule cons: not everything is in git (svn, mercurial etc)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
oss focused: | |
https://bountyoss.com | |
http://beex.org | |
http://www.freedomsponsors.org | |
http://selfstarter.us | |
not oss focused: | |
http://flattr.com | |
http://pledgie.com | |
http://www.launcht.com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$iterations = 10000; | |
$url = '/foo/bar'; | |
$list1 = array('/bar', '/ding', 'dong'); | |
$list2 = array('/foo', '/bar', '/ding', 'dong'); | |
$regexp1 = '/^\/(bar|ding|dong)/'; | |
$regexp2 = '/^\/(bar|foo|ding|dong)/'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require 'vendor/doctrine/common/lib/Doctrine/Common/Collections/Collection.php'; | |
require 'vendor/doctrine/common/lib/Doctrine/Common/Collections/Selectable.php'; | |
require 'vendor/doctrine/common/lib/Doctrine/Common/Collections/ArrayCollection.php'; | |
require 'vendor/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/PersistentCollection.php'; | |
require 'vendor/doctrine/phpcr-odm/lib/Doctrine/ODM/PHPCR/MultivaluePropertyCollection.php'; | |
use Doctrine\Common\Collections\ArrayCollection; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once __DIR__.'/AppKernel.php'; | |
use Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Response; | |
class AppCache extends HttpCache | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The symfony project is currently exploring ways to ensure that code contributors are aware that any pull request they send implies that their code is contributed under the MIT license. We are currently not yet convinced that we need a full blown CLA, especially since we are concerned about adding needless hurdles for contributions that git just so nicely reduced. Likely other projects have similar concerns. | |
So the idea is the following: | |
- In a git repository the admin can configure the location of the license file (either inside the repo or in theory also out side of the repo) | |
- In order to make life easier for users, github could provide template files so that they can easily add them to their repository | |
- Using those template files also makes it possible for github to determine the name of the license (aka when symfony uses the github MIT license template, then guthub can easily determine automatically that symfony uses the MIT license) | |
- The license information then becomes searchable. | |
- Maybe users can e |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
parameters: | |
dynamic.db.name: db1 | |
doctrine: | |
dbal: | |
default_connection: db1 | |
connections: | |
db1: | |
dbname: %dynamic.db.name% | |
user: db1_user |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# uses http://yaml.org/type/merge.html | |
# imports read the given file and define implicit merge key alias for all possible paths | |
### | |
# config.yml | |
foo: bar | |
# implicitly defines a &ding merge key alias | |
ding: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Before ### | |
## Doctrine Configuration | |
doctrine.dbal: | |
dbname: xxxxxxxx | |
user: xxxxxxxx | |
password: ~ | |
logging: %kernel.debug% | |
doctrine.orm: | |
auto_generate_proxy_classes: %kernel.debug% | |
mappings: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// RewriteRule ^css/main.css$ dev/less/getcss.php?cssfile=main [L] | |
header("Cache-Control: no-cache"); | |
header('Content-Type: text/css'); | |
if (isset($_GET['cssfile'])) { | |
$cache = generatecss($_GET['cssfile']); | |
if (isset($cache['compiled']) && is_array($cache)) { |