- zip 1.11.0
- Added Zip64 support (large file support)
- Added UTF-8 support for file names, file comments, and archive comments
- Added zip_discard()
- Added ZIP_TRUNCATE for zip_open()
- Added zip_set_file_compression() - Judy 0.1.6
- Performance improvement from GitHub pull request #10
- Add countable spl interface from GitHub pull request #9 - APCu 4.0.0
All opcode caching abilities removed
The default locking is now rwlocks
APCu API installed in build environment
Please see TECHNOTES/README.md - pthreads 0.0.43
::isTerminated to detect fatal errors and uncaught exceptions
cast pthreads objects to array
implement count on pthreads object
implement selective inheritance (control what is available in the threaded context)
fix crash when undefined dimension is accessed
fix state detection when crash encountered - mongo 1.3.6
** Improvement
* [PHP-535] - Run commands on Replication Secondaries - event 1.5.1
Fix: EventBuffer::removeBuffer returned boolean instead of the number of bytes read
Add: EventBuffer::fd property
Change: EventBuffer class is not final any more
2013年4月2日星期二
Community News: Latest PECL Releases for 04.02.2013
Community News: Packagist Latest Releases for 04.02.2013
- piwik/piwik (1.12-b4, 1.12-b3)
Open Source Real Time Web Analytics Platform - zetta/menu-bundle (v1.0.0)
Admin menu - webcodr/mango (0.6.4, 0.6.3, 0.6.2, 0.6.1, 0.6.0, 0.5.1, 0.5.0)
A MongoDB object document mapper for PHP - smx/simplemeetings (v0.2.2, v0.2.1, v0.2.0)
Simple and abstracted library for integrating with web meetings providers such as WebEx and Citrix. - cboden/Ratchet (v0.2.5)
PHP WebSocket library - phundament/app (0.16.0)
Yii Application Boilerplate, with packages from composer repository http://packages.phundament.com - friendsofsymfony/jsrouting-bundle (1.1.4)
Symfony FOSJsRoutingBundle - mobiledetect/mobiledetectlib (2.5.9)
Mobile_Detect is a lightweight PHP class for detecting mobile devices. It uses the User-Agent string combined with specific HTTP headers to detect the mobile environment. - slm/three-step-view (v0.1.0)
A small modules that enables the three step layout pattern in your Zend Framework 2 application - zircote/rhubarb (0.1.2, 0.1.1)
A PHP Celery Client Implementation - mlalbuquerque/silex-skeleton (v3.1.3, v3.1.2)
A Silex skeleton for little (not tiny) projects - phery/phery (2.4.5)
XAJAX alternative, phery.js is a library in PHP that maps to all jQuery functions, DOM manipulation, meta arguments and serialization, seamless ajax integration, RESTful emulation, form submission and partial rendering views, plus its PSR-0 compatible - james-swift/swdf_image_resizer (v0.3.0)
A PHP class and set of functions to make automatically re-sizing images for your website simple and secure. - webcodr/collection (2.0.1, 2.0.0)
Collection library for PHP - marcelog/pami (1.70.1)
Asterisk Manager Interface (AMI) client for PHP, event driven, object oriented - matthimatiker/molcomponents (1.4.5-alpha5)
Library that contains utility classes and extends the functionality of Zend Framework 1. - constantcontact/constantcontact (1.0.0)
Constant Contact PHP SDK for v2 - amparo/cache-bundle (v0.1.0)
Doctrine cache integration. - mockery/mockery (0.8.0)
Mockery is a simple yet flexible PHP mock object framework for use in unit testing with PHPUnit, PHPSpec or any other testing framework. Its core goal is to offer a test double framework with a succint API capable of clearly defining all possible object operations and interactions using a human readable Domain Specific Language (DSL). Designed as a drop in alternative to PHPUnit's phpunit-mock-objects library, Mockery is easy to integrate with PHPUnit and can operate alongside phpunit-mock-objects without the World ending. - matthimatiker/marshaller (0.1.2)
Marshaller is a composer installer that copies packages to a configurable location. - pscheit/psc-cms-js (1.2.0)
js library for Psc CMS (pscheit/psc-cms). - pscheit/psc-cms (1.2.0)
a content management system ontop of webforge. - n98/magerun (1.57.0)
Tools for managing Magento projects and installations - mattketmo/email-checker (v0.2)
Throwaway email detection library - monolog/monolog (1.4.1)
Sends your logs to files, sockets, inboxes, databases and various web services - camspiers/statistical-classifier (0.4.3, 0.4.2)
A PHP implementation of a Naive Bayes statistical classifier, including a structure for building other classifier, multiple data sources and multiple caching backends - venturecraft/revisionable (v1.0.0-BETA2)
Revisionable is a laravel package that allows you to keep a revision history for your models without thinking, built on top of Ardent - toddish/verify (v1.1.0)
A simple authentication bundle for Laravel 4. It features roles, permissions, password salting and is fully extendable.
NetTuts.com: Taming Slim 2.0
On NetTuts.com today there's a new tutorial posted about "taming" Slim 2.0, the latest version of the popular PHP microframework. They look at application structure and share some tips to using this update.
Slim is a lightweight framework that packs a lot of punch for its tiny footprint. It has an incredible routing system, and offers a solid base to work from without getting in your way. Let me show you! But that's not to say that Slim doesn't has some issues; it's one-file setup becomes cluttered as your application grows. In this article, we'll review how to structure a Slim application to not only sustain, but improve its functionality and keep things neat and systematic.
He starts with an example of "vanilla Slim" and looks some at what's happening behind the scenes in the routing engine. They then give you a step by step installation and usage guide including updating the router to use class files. An example controller is included as well as some basic error handling using a Twig template for use across the application.
PHPMaster.com: Say Hello to Boris: A Better REPL for PHP
On PHPMaster.com today Shameer C has a new tutorial introducing you to Boris, a REPL (read-eval-print loop tool) that's a bit more enhanced than the basic PHP interactive shell.
As web developers, we know the importance of the JavaScript console provided by the browser in testing out code snippets. We don't need to write an entire HTML page and JavaScript code just to verify the functioning or logic of a small routine we wrote. Instead, we simply run the expressions in the console and immediately see the results. Similarly, a REPL (Read-Eval-Print Loop) is the console of a programming language in which we can write code line-by-line and see what it does. [...] PHP's REPL is very good in what it does, although it does have some limitations. [...] And so, Boris tries to solve these problems and other concerns as well.
He walks you through the installation (via a git clone and, later, through Composer) and shows how to run it as well as some sample output. He also shows how to make a custom command-line Boris runner and how to embed it into your application. His example of a tool that would benefit from this is a command-line web service client using Boris and Guzzle.
Rob Allen: Objects in the model layer: Part 2
Rob Allen previously posted about some of his practices around the different types of objects in the model layer of his Zend Framework 2 applications. In this latest post he follows up and shares some example code for the different types.
I previously talked about the terms I use for objects in the model layer and now it's time to put some code on those bones. Note that,as always, all code here is example code and not production-ready.
He includes sample classes related to his "books" examples - a "book" entity (with title, author, id and ISBN), a mapper object to load/save/delete the entity and a service object that provides an interface for the entity to the rest of the application.
2013年4月1日星期一
Community News: Packagist Latest Releases for 04.01.2013
- socalnick/scn-social-auth (1.8.3, 1.7.6, 1.9.3)
Uses the HybridAuth PHP library to Enable authentication via Google, Facebook, Twitter, Yahoo!, etc for the ZfcUser ZF2 module. - duellsy/pockpack (2.1.2)
Package to handle communication with GetPocket.com API neatly. - venturecraft/revisionable (v1.0.0-BETA1)
Revisionable is a laravel package that allows you to keep a revision history for your models without thinking, built on top of Ardent - mjohnson/decoda (6.0.0-rc3)
A lightweight lexical string parser for BBCode styled markup. - camspiers/statistical-classifier (0.4.0)
A PHP implementation of a Naive Bayes statistical classifier, including a structure for building other classifier, multiple data sources and multiple caching backends - skyzyx/alfred-workflow-builder (1.0.3)
Workflow Builder for Alfred 2 - js/mysqlnd-bundle (v1.1.1, v1.1.0)
The JSMysqlndBundle is an extension to the Symfony2 profiling toolbar. It extends the data collection with information gathered from PHP's mysqlnd database driver, giving more insight on the performance. - js/mysqlnd-analytics (v1.1.0)
The JSMysqlndAnalytics library is a library to process statistics collected by PHP's myslqnd module and providing guidance for improving applications using ext/mysql, mysqli or pdo_mysql. - propel/propel1 (1.6.9)
Propel is an open-source Object-Relational Mapping (ORM) for PHP5. - friendsofsymfony/jsrouting-bundle (1.1.3)
Symfony FOSJsRoutingBundle - james-swift/swdf_image_resizer (v0.2.2)
A PHP class and set of functions to make automatically re-sizing images for your website simple and secure. - bear/resource (0.7.4)
RESTful service layer framework - adamstipak/nette-rest-route (1.0.0)
Rest route for Nette Framework - maxromanovsky/common-worker-pool (v1.0.0)
Worker Pool helper for PHP - lexik/form-filter-bundle (v1.2.2)
This bundle aim to provide classes to build some form filters and then build a doctrine query from this form filter. - sp/fixture-dumper (v1.0.1)
Dump fixtures from doctrine. - ray/di (1.0.0)
Guice style annotation-driven dependency injection framework - webignition/http-client (1.3.2.1)
HTTP Client with additional reliability over regular HTTP request sending to compensate for timeouts and redirects - ray/aop (1.0.0)
Aspect oriented programing framework - skyzyx/mimetypes (1.1.1)
Creates a JSON document containing a thorough list of file extensions => mime types as provided by the Apache httpd project. - imbo/imbo (0.2.0)
RESTful image server that handles image storage/transformations and metadata