composer init
for initial setup- https://getcomposer.org - Composer website and documentation
- https://getcomposer.org/doc/05-repositories.md - Repositories documentation
- https://getcomposer.org/doc/articles/versions.md - Version constraint documentation
- https://getcomposer.org/doc/articles/scripts.md#writing-custom-commands - Composer "scripts"
This file contains 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
#!/usr/bin/sh | |
# Scipt for installing mcrypt.so extension for PHP 5.3.13 (default PHP for OS X 10.8 Mountain Lion) | |
mkdir /tmp/mcrypt | |
cd /tmp/mcrypt | |
curl --location --progress-bar http://sourceforge.net/projects/mcrypt/files/Libmcrypt/2.5.8/libmcrypt-2.5.8.tar.gz/download | tar -zx | |
curl --location --progress-bar http://us.php.net/get/php-5.3.13.tar.gz/from/nl.php.net/mirror | tar -zx |
This file contains 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
[alias] | |
fixlock = ! git reset HEAD -- composer.lock && git co -- composer.lock && composer update --no-scripts && git add composer.lock |
This file contains 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 namespace App\Mailer\Swift\Mime; | |
use Swift_Encoder; | |
use Swift_Mime_Grammar; | |
use Swift_Mime_Header; | |
use Swift_Mime_HeaderEncoder; | |
use Swift_Mime_SimpleHeaderFactory; | |
/** | |
* Hack SwiftMailer SimpleHeaderFactory to support RFC 6531 |
This file contains 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
-- Theme generated by vim2theme | |
Description = "vim darcula" | |
Default = { Colour="#a9b7c6" } | |
Canvas = { Colour="#2b2b2b" } | |
Number = { Colour="#6897bb" } | |
Escape = { Colour="#cc7832" , Italic=true} | |
String = { Colour="#a5c25c" } | |
BlockComment = { Colour="#808080" } |
This file contains 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 | |
class Foo { | |
private $bar = 'baz'; | |
/** @var Baz @ORM\ManyToOne(targetEntity=Baz::class) */ | |
private $baz; | |
} | |
class Baz { | |
private $tab = 'taz'; |
This file contains 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
This combination of settings will create these buttons to be used while you are working with Magento 2 development on PHPStorm | |
Printscreen: http://prntscr.com/l7n4zc | |
Instructions | |
1) First install BetterTouchTool (https://folivora.ai/) | |
2) Then download this profile https://gist.github.com/igor-imaginemage/b1dc812d9896c0f087c0ceaef838a476, rename the file to Default.bttpreset and import on BetterTouchTool. It should import configurations for PHPStorm. | |
3) The buttons will prompt only on PhpStorm and you should be with PHPStorm terminal opened. | |
It's a first release of this configuration, any contribution is welcome =) |
This file contains 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
package com.jetbrains.php.blade.injection; | |
import com.intellij.openapi.util.TextRange; | |
import com.intellij.openapi.vfs.VirtualFile; | |
import com.intellij.psi.*; | |
import com.intellij.psi.xml.XmlAttribute; | |
import com.intellij.psi.xml.XmlAttributeValue; | |
import com.jetbrains.php.blade.BladeFileType; | |
import com.jetbrains.php.lang.PhpLanguage; | |
import org.jetbrains.annotations.NotNull; |
PHP Conferences Fall 2015
Conference | WebSite | City | Country | Date |
---|---|---|---|---|
PHP SouthCoast | http://2015.phpsouthcoast.co.uk | Portsmouth | UK | 18/07 |
Laracon US | http://laracon.us | Luisville, KY | US | 11-12/08 |
NorthEastPHP | http://2015.northeastphp.org | Boston, MA | US | 22-23/08 |
Laracon EU | http://laracon.eu/2015/ | Amsterdam | Netherlands | 25-26/08 |
WeCamp | http://weca.mp/2015/ | De Kluut (Island) | Netherlands | 25-29/08 |
PHP Summer Camp | http://2015.phpsummercamp.com | Rovinj | Croatia | 26-29/08 |
This file contains 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
Taken from packagist.org | |
Packages with a master branch update since June 1st 2018: 98977 | |
Of those, package having requires on PHP extensions: 11676 (11.79%) | |
As only ~12% of packages declare their extension requirements, | |
and even then it might not be a complete list, take all this with | |
a big grain of salt, it is informative but definitely not a | |
complete picture of the most used extensions. |
OlderNewer