Jeśli jesteś właścicielem tej strony, możesz wyłączyć reklamę poniżej zmieniając pakiet na PRO lub VIP w panelu naszego hostingu już od 4zł!

Archive for Listopad, 2014

VG Tech Blog: Using Local Packages as Composer Dependencies

VG Tech Blog: Using Local Packages as Composer Dependencies

On the VG Tech blog this latest post shows you how to use local packages as dependencies in your Composer-enabled applications.

Composer changed pretty much everything when it comes to including dependencies in PHP projects. No more SVN externals or copying large library folders into your project. This is really great, but there’s one thing I’ve been struggling to find a smooth process for; developing dependencies for your project. When implementing your project, the need for some module, library, service provider or something else will arise, and sometimes you’ll have to implement it yourself. So, how to do that?

He starts with a list of three suggestions (including actually having the code in the project or mirroring the package) but suggests the last of the three: using a repository with a relative file system setup. He uses the “repositories” configuration option in the Composer config to define a “vcs” type and gives it a path to the package contents. He ends the post with the resulting output of the Composer install command, showing the package pulled in and being able to commit to it just like any other repo.

Link: http://tech.vg.no/2014/11/25/using-local-packages-as-composer-dependencies/
Source: http://www.phpdeveloper.org/news/22014

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

VG Tech Blog: Using Local Packages as Composer Dependencies

VG Tech Blog: Using Local Packages as Composer Dependencies

On the VG Tech blog this latest post shows you how to use local packages as dependencies in your Composer-enabled applications.

Composer changed pretty much everything when it comes to including dependencies in PHP projects. No more SVN externals or copying large library folders into your project. This is really great, but there’s one thing I’ve been struggling to find a smooth process for; developing dependencies for your project. When implementing your project, the need for some module, library, service provider or something else will arise, and sometimes you’ll have to implement it yourself. So, how to do that?

He starts with a list of three suggestions (including actually having the code in the project or mirroring the package) but suggests the last of the three: using a repository with a relative file system setup. He uses the “repositories” configuration option in the Composer config to define a “vcs” type and gives it a path to the package contents. He ends the post with the resulting output of the Composer install command, showing the package pulled in and being able to commit to it just like any other repo.

Link: http://tech.vg.no/2014/11/25/using-local-packages-as-composer-dependencies/
Source: http://www.phpdeveloper.org/news/22014

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

VG Tech Blog: Using Local Packages as Composer Dependencies

VG Tech Blog: Using Local Packages as Composer Dependencies

On the VG Tech blog this latest post shows you how to use local packages as dependencies in your Composer-enabled applications.

Composer changed pretty much everything when it comes to including dependencies in PHP projects. No more SVN externals or copying large library folders into your project. This is really great, but there’s one thing I’ve been struggling to find a smooth process for; developing dependencies for your project. When implementing your project, the need for some module, library, service provider or something else will arise, and sometimes you’ll have to implement it yourself. So, how to do that?

He starts with a list of three suggestions (including actually having the code in the project or mirroring the package) but suggests the last of the three: using a repository with a relative file system setup. He uses the “repositories” configuration option in the Composer config to define a “vcs” type and gives it a path to the package contents. He ends the post with the resulting output of the Composer install command, showing the package pulled in and being able to commit to it just like any other repo.

Link: http://tech.vg.no/2014/11/25/using-local-packages-as-composer-dependencies/
Source: http://www.phpdeveloper.org/news/22014

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

VG Tech Blog: Using Local Packages as Composer Dependencies

VG Tech Blog: Using Local Packages as Composer Dependencies

On the VG Tech blog this latest post shows you how to use local packages as dependencies in your Composer-enabled applications.

Composer changed pretty much everything when it comes to including dependencies in PHP projects. No more SVN externals or copying large library folders into your project. This is really great, but there’s one thing I’ve been struggling to find a smooth process for; developing dependencies for your project. When implementing your project, the need for some module, library, service provider or something else will arise, and sometimes you’ll have to implement it yourself. So, how to do that?

He starts with a list of three suggestions (including actually having the code in the project or mirroring the package) but suggests the last of the three: using a repository with a relative file system setup. He uses the “repositories” configuration option in the Composer config to define a “vcs” type and gives it a path to the package contents. He ends the post with the resulting output of the Composer install command, showing the package pulled in and being able to commit to it just like any other repo.

Link: http://tech.vg.no/2014/11/25/using-local-packages-as-composer-dependencies/
Source: http://www.phpdeveloper.org/news/22014

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Packagist Latest Releases for 11.25.2014

Community News: Packagist Latest Releases for 11.25.2014Recent releases from the Packagist:

Source: http://www.phpdeveloper.org/news/22012

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Packagist Latest Releases for 11.25.2014

Community News: Packagist Latest Releases for 11.25.2014Recent releases from the Packagist:

Source: http://www.phpdeveloper.org/news/22012

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Packagist Latest Releases for 11.25.2014

Community News: Packagist Latest Releases for 11.25.2014Recent releases from the Packagist:

Source: http://www.phpdeveloper.org/news/22012

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Packagist Latest Releases for 11.25.2014

Community News: Packagist Latest Releases for 11.25.2014Recent releases from the Packagist:

Source: http://www.phpdeveloper.org/news/22012

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Latest PECL Releases for 11.25.2014

Community News: Latest PECL Releases for 11.25.2014Latest PECL Releases:

  • termbox 0.1.2
    fix termbox_peek_event return value

  • strict 0.3.0
    fix issue in 5 series

  • mongo 1.6.0RC2
    ** Bug
    * [PHP-1266] – phpinfo() lists a default authentication mechanism (which may not be the default)
    * [PHP-1267] – Windows build failure
    * [PHP-1269] – Validate encoding and decoding of MongoBinData::UUID_RFC4122
    * [PHP-1270] – MongoDate->toDateTime is only supported for PHP 5.3.4 and later.

  • ip2location 6.0.4
    * new release

  • strict 0.2.0
    initial release

  • ip2location 6.0.2
    * new release

  • ip2location 6.0.3
    * new release

Source: http://www.phpdeveloper.org/news/22013

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>

Community News: Latest PECL Releases for 11.25.2014

Community News: Latest PECL Releases for 11.25.2014Latest PECL Releases:

  • termbox 0.1.2
    fix termbox_peek_event return value

  • strict 0.3.0
    fix issue in 5 series

  • mongo 1.6.0RC2
    ** Bug
    * [PHP-1266] – phpinfo() lists a default authentication mechanism (which may not be the default)
    * [PHP-1267] – Windows build failure
    * [PHP-1269] – Validate encoding and decoding of MongoBinData::UUID_RFC4122
    * [PHP-1270] – MongoDate->toDateTime is only supported for PHP 5.3.4 and later.

  • ip2location 6.0.4
    * new release

  • strict 0.2.0
    initial release

  • ip2location 6.0.2
    * new release

  • ip2location 6.0.3
    * new release

Source: http://www.phpdeveloper.org/news/22013

<!–
var d = new Date();
r = escape(d.getTime()*Math.random());
document.writeln('’);
//–>