Feed aggregator
Community News: Packagist Latest Releases for 05.15.2013
- loic-sharma/profiler (v1.1.0)
A PHP 5.3 profiler based off of Laravel 3's Anbu.
- phery/phery (2.5.2, 2.5.1)
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
- phundament/p3pages (0.11.5, 0.11.4, 0.11.3)
Page Manager
- jbboehr/zsql (0.1.0)
SQL generator loosely based on Zend_Db_Select
- geoip2/geoip2 (v0.1.1)
MaxMind GeoIP2 PHP API
- components/handlebars.js (1.0.0-rc.4)
Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be.
- precore/precore (1.0.1, 1.0.0)
Common classes and utilities
- tecnick.com/tcpdf (6.0.015)
TCPDF is a PHP class for generating PDF documents.
- nixilla/carweb-api-consumer (0.1)
CarweB API consumer in PHP
- phundament/app (0.20.2)
Yii Application Boilerplate, with packages from composer repository http://packages.phundament.com
- rampage-php/framework (1.0.0-alpha6)
Rampage PHP Framework based on Zend Framework 2
- fritz-payment/jsonrpc (0.1.0-RC1)
A general JSON RPC implementation
- thadafinser/zfc-datagrid (0.2.0)
Zend Framework 2 Module that provides a datagrid for different datasources and output formats
- bit3/contao-nested-menu (1.0.2)
Nested menus for Contao OpenSource CMS
- zweifisch/zf (v0.2.5)
a micro php web/cli framework/router
- hobnob/xml-stream-reader (1.0.1)
PHP SAX XML Stream Reader
- fightbulc/jsonrpc_curl (0.5.4)
JSON-RPC CURL
- graze/event (0.1.4)
Simple event pub-sub
- torohill/php-template (1.0.0)
A very basic template class that uses PHP as the templating language.
- ruudk/postmark-bundle (0.1.3)
This bundle lets you send messages via Postmark. It can offload the sending of messages to a Resque worker for speed and reliability.
- rah/danpu (2.3.2, 1.3.2, 2.3.1)
MySQL database dump and restoration tool implemented in PHP
- gridonic/prince-service-provider (1.0.0)
A PrinceXML ServiceProvider for Silex.
- gridonic/princexml-php (1.1.0)
PrinceXML PHP5 wrapper converted to follow the PSR-0 standard.
- certatim/zf2-ses-transport (0.3.2-alpha, 0.3.1-alpha)
ZF2 Module for adding an SeS bases Transport class
- dflydev/canal (v1.0.0)
Content analysis for the purpose of determining Internet media types.
Community News: Latest Releases from PHPClasses.org
- PHP Fatal Error Handler
Package:Summary:Handle fatal PHP errors redirecting to a pageGroups:Author:Description:This class can handle fatal PHP errors redirecting the current request to a page...
Read more at http://www.phpclasses.org/package/8046-PHP-Handle-fatal-PHP-errors-redirecting-to-a-page.html
- Handle Error Fatal
Package:Summary:Handle fatal PHP errors redirecting to a pageGroups:Author:Description:This class can handle fatal PHP errors redirecting the current request to a page...
Read more at http://www.phpclasses.org/package/8046-PHP-Handle-fatal-PHP-errors-redirecting-to-a-page.html
- PHP CSV Writer Class
Package:Summary:Export tabular data records to files in CSV formatGroups:Author:Description:This class can export tabular data records to files in CSV format...
Read more at http://www.phpclasses.org/package/8058-PHP-Export-tabular-data-records-to-files-in-CSV-format.html
- PHP Smart Session
Package:Summary:Access sessions initialized only when necessaryGroups:Author:Description:This class can access sessions initialized only when necessary...
Read more at http://www.phpclasses.org/package/8043-PHP-Access-sessions-initialized-only-when-necessary.html
- Database Pagination
Package:Summary:Paginate database query result listingsGroups:Author:Description:This class can paginate database query result listings...
Read more at http://www.phpclasses.org/package/8051-PHP-Paginate-database-query-result-listings.html
- List processor
Package:Summary:List data from arrays in HTML tablesGroups:Author:Description:This class can list data from arrays in HTML tables...
Read more at http://www.phpclasses.org/package/8054-PHP-List-data-from-arrays-in-HTML-tables.html
- PHP AJAX Multiple Dropdown Select List Creator
Package:Summary:Create multiple dropdown selects listsGroups:Author:Description:This class can create multiple dropdown selects lists...
Read more at http://www.phpclasses.org/package/8041-PHP-Create-multiple-dropdown-selects-lists.html
- Ah MySQLi
Package:Summary:Execute common MySQL queries using MySQLiGroups:Author:Description:This class can execute common MySQL queries using MySQLi...
Read more at http://www.phpclasses.org/package/8049-PHP-Execute-common-MySQL-queries-using-MySQLi.html
- PHP AJAX Multiple DropDown Select Lists Creator
Package:Summary:Create multiple dropdown selects listsGroups:Author:Description:This class can create multiple dropdown selects lists...
Read more at http://www.phpclasses.org/package/8041-PHP-Create-multiple-dropdown-selects-lists.html
- ressf
Package:Summary:Template engine extensible with pluginsGroups:Author:Description:This package implements a template engine extensible with plugins...
Read more at http://www.phpclasses.org/package/8031-PHP-Template-engine-extensible-with-plugins.html
- SquareSpec
Package:Summary:Test PHP code using Behavior Driven DevelopmentGroups:Author:Description:This package can be used to test PHP code using Behavior Driven Development...
Read more at http://www.phpclasses.org/package/8036-PHP-Test-PHP-code-using-Behavior-Driven-Development.html
- PHP Circuit Breaker class
Package:Summary:Test if a service is ready checking status firstGroups:Author:Description:This class can test if a service is ready checking status first...
Read more at http://www.phpclasses.org/package/8020-PHP-Test-if-a-service-is-ready-checking-status-first.html
- PHP Click CAPTCHA
Package:Summary:CAPTCHA validation checking where the user clicksGroups:Author:Description:This class can perform CAPTCHA validation checking where the user clicks...
Read more at http://www.phpclasses.org/package/8048-PHP-CAPTCHA-validation-checking-where-the-user-clicks.html
- PHP implementation of circuit breaker design pattern
Package:Summary:Test if a service is ready checking status firstGroups:Author:Description:This class can test if a service is ready checking status first...
Read more at http://www.phpclasses.org/package/8020-PHP-Test-if-a-service-is-ready-checking-status-first.html
Dealing with duplicated code
PostgresDAC supports Delphi XE4 and C++ Builder XE4
You're welcome to download the PostgresDAC v2.9.6 right now at: http://microolap.com/products/connectivity/postgresdac/download/ or login to your private area on our site at http://microolap.com/my/downloads/
FeedbackPlease don't hesitate to ask any questions or report bugs with our Support Ticketing system available at http://www.microolap.com/support/
Simon Holywell: Improve PHP session cookie security
Simon Holywell has a new post talking about cookie security in PHP, focusing on some of the PHP configuration settings that can help.
The security of session handling in PHP can easily be enhanced through the use of a few configuration settings and the addition of an SSL certificate. Whilst this topic has been covered numerous times before it still bears mentioning with a large number of PHP sites and servers having not implemented these features.He talks about the httponly flag when setting the cookie/in the configuration, the "use only cookies" for sessions and forcing them to be "secure only".
Link: http://simonholywell.com/post/2013/05/improve-php-session-cookie-security.htmlGetting Started with PHP Zend Framework 2 for Oracle DB
This post shows the changes to the ZF2 tutorial application to allow it to run with Oracle Database 11gR2.
Oracle Database SQL identifiers are case insensitive by default so "select Abc from Xyz" is the same as "select abc from xyz". However the identifier metadata returned to programs like PHP is standardized to uppercase by default. After executing either query PHP knows that column "ABC" was selected from table "XYZ".
In PHP code, array indices and object attributes need to match the schema identifier case that is returned by the database. This is either done by using uppercase indices and attributes in the PHP code, or by forcing the SQL schema to case-sensitively use lower-case names.
The former approach is more common, and is shown here.
The instructions for creating the sample ZF2 application are here. Follow those steps as written, making the substitutions shown below.
SchemaIn Oracle 11gR2, the schema can be created like:
DROP USER ZF2 CASCADE;
CREATE USER ZF2 IDENTIFIED BY WELCOME
DEFAULT TABLESPACE USERS QUOTA UNLIMITED ON USERS
TEMPORARY TABLESPACE TEMP;
GRANT CREATE SESSION
, CREATE TABLE
, CREATE PROCEDURE
, CREATE SEQUENCE
, CREATE TRIGGER
, CREATE VIEW
, CREATE SYNONYM
, ALTER SESSION
TO ZF2;
CONNECT ZF2/WELCOME
CREATE TABLE ALBUM (
ID NUMBER NOT NULL,
ARTIST VARCHAR2(100) NOT NULL,
TITLE VARCHAR2(100) NOT NULL,
PRIMARY KEY (ID)
);
CREATE SEQUENCE ALBUMSEQ;
CREATE TRIGGER ALBUMTRIGGER BEFORE INSERT ON ALBUM FOR EACH ROW
BEGIN
:NEW.ID := ALBUMSEQ.NEXTVAL;
END;
/
INSERT INTO ALBUM (ARTIST, TITLE)
VALUES ('The Military Wives', 'In My Dreams');
INSERT INTO ALBUM (ARTIST, TITLE)
VALUES ('Adele', '21');
INSERT INTO ALBUM (ARTIST, TITLE)
VALUES ('Bruce Springsteen', 'Wrecking Ball (Deluxe)');
INSERT INTO ALBUM (ARTIST, TITLE)
VALUES ('Lana Del Rey', 'Born To Die');
INSERT INTO ALBUM (ARTIST, TITLE)
VALUES ('Gotye', 'Making Mirrors');
COMMIT;
Driver and Credentials
The driver and credentials are Oracle-specific. Always use the OCI8 adapter in ZF, since it is more stable and has better scalability. Specifying a character set will make connection faster.
zf2-tutorial/config/autoload/global.php: return array(
'db' => array(
- 'driver' => 'Pdo',
- 'dsn' => 'mysql:dbname=zf2tutorial;host=localhost',
- 'driver_options' => array(
- PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES \'UTF8\''
- ),
+ 'driver' => 'OCI8',
+ 'connection_string' => 'localhost/orcl',
+ 'character_set' => 'AL32UTF8',
),
'service_manager' => array(
'factories' => array(
zf2-tutorial/config/autoload/local.php:
return array(
'db' => array(
- 'username' => 'YOUR USERNAME HERE',
- 'password' => 'YOUR USERNAME HERE',
+ 'username' => 'ZF2',
+ 'password' => 'WELCOME',
),
// Whether or not to enable a configuration cache.
// If enabled, the merged configuration will be cached and used in
Attribute & Index Changes
The rest of the application changes are just to handle the case of the Oracle identifiers correctly.
zf2-tutorial/module/Album/Module.php
$dbAdapter = $sm->get('Zend\Db\Adapter\Adapter');
$resultSetPrototype = new ResultSet();
$resultSetPrototype->setArrayObjectPrototype(new Album());
- return new TableGateway('album', $dbAdapter, null, $resultSetPrototype);
+ return new TableGateway('ALBUM', $dbAdapter, null, $resultSetPrototype);
},
),
);
zf2-tutorial/module/Album/view/album/album/add.phtml
$form->prepare();
echo $this->form()->openTag($form);
-echo $this->formHidden($form->get('id'));
-echo $this->formRow($form->get('title'));
-echo $this->formRow($form->get('artist'));
+echo $this->formHidden($form->get('ID'));
+echo $this->formRow($form->get('TITLE'));
+echo $this->formRow($form->get('ARTIST'));
echo $this->formSubmit($form->get('submit'));
echo $this->form()->closeTag();
zf2-tutorial/module/Album/view/album/album/delete.phtml
<h1><?php echo $this->escapeHtml($title); ?></h1> <p>Are you sure that you want to delete -'<?php echo $this->escapeHtml($album->title); ?>' by -'<?php echo $this->escapeHtml($album->artist); ?>'? +'<?php echo $this->escapeHtml($album->TITLE); ?>' by +'<?php echo $this->esc
Truncated by Planet PHP, read more at the original (another 7231 bytes)
PHPMaster.com: Safely Deprecating APIs
On PHPMaster.com today there's an article with some good suggestions about ways to deprecate parts of an API safely.
Deprecation can happen for various reasons - perhaps an API is no longer useful and has reached its end-of-life, or the refactoring of code to improve its reusability and testability obsoletes particular methods. In this article I'll share with you some key points that you should follow when deprecating APIs so you can continue to grow your code and provide fair warning to those who depend on it.They break it up into a few different steps:
- Prepare for Refactoring
- Employ the Single Responsibility Principle
- Communicate with your Users
- Remove the Old Code
Juan Treminio: Introduction to Vagrant/Puppet and introducing PuPHPet
Juan Treminio has written up a post about a new tool he's created that makes generating Vagrant/Puppet configs easy - PuPHPet.
I just released the initial version of PuPHPet, my GUI-based gnerator for Vagrant/Puppet environments! [...] Enter PuPHPet, my GUI configurator. I have created a simple, easy to use web app that targets PHP developers and the classic LAMP stack. You will not need to learn the ins and outs of Vagrant or Puppet to build your own working VM to your specific needs. As of now you can define things like custom virtual hosts, what version of PHP to install, set up some MySQL databases, etc, all without having to touch a manifest file.His tool (hosted version is here) lets you define things like machine name, IP address, memory and target folder. You can pick from various server, PHP, MySQL and Apache packages you want installed as well. A custom archive (zip) file will be created that can be dropped into your system ready for use.
Link: http://jtreminio.com/2013/05/introduction_to_vagrant_puppet_and_introducing_puphpet_a_simple_to_use_vagrant_puppet_gui_configuratorCommunity News: Packagist Latest Releases for 05.14.2013
- dflydev/apache-mime-types (v1.0.1)
Apache MIME Types
- irestful/objectloader (v1.0.0)
Very simple classes to load objects.
- icecave/chrono (0.2.0)
PHP date and time abstractions that are decoupled from the system clock.
- ocramius/proxy-manager (0.3.5)
A library providing utilities to generate, instantiate and generally operate with Object Proxies
- leounglaub/contao-simple-ajax (1.0.1)
More control over your AJAX requests.
- mattcg/cjsdelivery (0.4.3)
Deliver CommonJS-syntax JavaScript modules to clients as a single file.
- rah/danpu (1.3.1, 2.3.0, 1.3.0, 2.2.0, 1.2.0, 2.1.1, 2.1.0, 1.1.0)
MySQL database dump and restoration tool implemented in PHP
- mandrill/mandrill (1.0.28)
API client library for the Mandrill email as a service platform
- onemightyroar/php-paulus-components (0.9.4)
Components to enhance Paulus projects to enable quicker, more structured REST API's
- guzzle/plugin-backoff (v3.5.0)
Guzzle backoff retry plugins
- guzzle/plugin-cache (v3.5.0)
Guzzle HTTP cache plugin
- guzzle/plugin (v3.5.0)
Guzzle plugin component containing all Guzzle HTTP plugins
- guzzle/plugin-cookie (v3.5.0)
Guzzle cookie plugin
- guzzle/plugin-curlauth (v3.5.0)
Guzzle cURL authorization plugin
- guzzle/plugin-error-response (v3.5.0)
Guzzle errorResponse plugin for creating error exceptions based on a service description
- guzzle/plugin-mock (v3.5.0)
Guzzle Mock plugin
- guzzle/plugin-oauth (v3.5.0)
Guzzle OAuth plugin
- guzzle/service (v3.5.0)
Guzzle service component for abstracting RESTful web services
- guzzle/stream (v3.5.0)
Guzzle stream wrapper component
- guzzle/plugin-history (v3.5.0)
Guzzle history plugin
- guzzle/plugin-log (v3.5.0)
Guzzle log plugin for over the wire logging
- guzzle/plugin-md5 (v3.5.0)
Guzzle MD5 plugins
- guzzle/guzzle (v3.5.0)
Guzzle is a PHP HTTP client library and framework for building RESTful web service clients
- guzzle/batch (v3.5.0)
Guzzle batch component for batching requests, commands, or custom transfers
- guzzle/cache (v3.5.0)
Guzzle cache adapter component
- guzzle/http (v3.5.0)
HTTP libraries used by Guzzle
- guzzle/inflection (v3.5.0)
Guzzle inflection component
- guzzle/iterator (v3.5.0)
Provides helpful iterators and iterator decorators
- guzzle/log (v3.5.0)
Guzzle log adapter component
- guzzle/plugin-async (v3.5.0)
Guzzle async request plugin
- triagens/arangodb (v1.3.0)
ArangodDb PHP client
- fsi/datasource-bundle (v1.0.3)
FSi DataSource Bundle
- geekality/website (v0.1)
My homemade MVC framework using Mustache and Less
- rgou/bootstrap-bundle (v0.7.4)
Twitter Bootstrap Symfony2 bundle with generator for Doctrine ORM and ODM
- tecnick.com/tcpdf (6.0.014)
TCPDF is a PHP class for generating PDF documents.
- paulus/paulus (v0.9.5)
A PHP micro-framework (well, more like a "mini" framework) for creating RESTful API services quickly and efficiently.
- geoip2/geoip2 (0.1.0)
MaxMind GeoIP2 PHP API
- wa72/htmlpagedom (v1.0.2)
HtmlPageDom is a PHP library for easy manipulation of HTML documents using DOM (like jQuery for PHP)
- phundament/p3pages (0.11.2)
Page Manager
- aequasi/memcached-bundle (1.3.1, 1.3)
Memcached Bundle
- symfony/assetic-bundle (v1.1.0-beta1, v2.3.0-beta1)
Integrates Assetic into Symfony2
- jiriknesl/mockista (1.1)
Mockista is library for mocking, which I've written, because I find mocking in PHPUnit slow.
- jcambien/kengai (1.0.3)
Configuration tool for your PHP applications
- zweifisch/zf (v0.2.4)
a micro php web/cli framework/router
- nunzion/php-expect (0.3.0)
An expressive but lightweight library to validate preconditions and invariants.
- simplon/facebook (0.6.2)
Facebook Library
- ixtrum/file-manager-plugins (v1.0)
Official collection of Ixtrum File Manager plugins
- patchwork/utf8 (v1.1.5, v1.1.4)
UTF-8 strings handling for PHP 5.3: portable, performant and extended
- ixtrum/file-manager (v1.0)
Comfortable PHP & AJAX file manager component for Nette framework
- simonjodet/gumdrop_blog_template (1.0.0)
A blog template for Gumdrop
- fabricius/fabricius (v0.1.1)
Library for defining content in a similar way as Jekyll.
- betawax/role-model (v1.0.0)
Advanced models for Laravel's Eloquent ORM.
- oldsound/rabbitmq-bundle (v1.1.2, v1.1.1)
Integrates php-amqplib with Symfony2 and RabbitMq
- rampage-php/framework (1.0.0-alpha5)
Rampage PHP Framework based on Zend Framework 2
- clubmaster/formextra (1.2)
ClubMaster form extra.
- webignition/web-page-model (0.5.4)
Model of a web page, based off webignition/web-resource-model
- komex/fetch (1.0.2, 1.0.1)
A PHP IMAP Library
- metamodels/attribute_translatedtext (1.0.0)
MetaModels attribute for translated text
- metamodels/attribute_translatedtags (1.0.0)
MetaModels attribute for translated text
- metamodels/attribute_translatedselect (1.0.0)
MetaModels attribute for translated selects
- metamodels/attribute_translatedlongtext (1.0.0)
MetaModels attribute for translated longtext
- hostnet/form-twig-bridge (0.4)
Allows usage of the Symfony 2 form framework, rendered in twig, without using all of Symfony 2!
- metamodels/attribute_translatedfile (1.0.0)
MetaModels attribute for translated files
- metamodels/attribute_translatedalias (1.0.0)
MetaModels attribute for translated alias
- metamodels/attribute_text (1.0.0)
MetaModels attribute for selects
- phpunit/phpunit (3.7.20)
The PHP Unit Testing framework.
- xi/fixtures (1.1.1)
Convenient creation of Doctrine entities in tests. Like Ruby's FactoryGirl.
- kriswallsmith/assetic (v1.1.0-beta1)
Asset Management for PHP
Community News: Latest PECL Releases for 05.14.2013
- APM 1.1.0RC2
Changed:
- upgraded UI by using tweeter boostrap and upgrading jqGrid
- mongo 1.4.0RC1
** Bug
* [PHP-776] - MongoCollection::batchInsert() with empty options array segfaults
* [PHP-781] - MongoCollection::count() should not leak, and throw exception instead of returning GLE document
* [PHP-792] - Memory leak while reading an INT64 on a 32bit platform with native_long enabled
* [PHP-795] - MongoCode segfaults when internal 'code' property is modified
* [PHP-800] - Error codes for some errors in bson.c are re-used.
** Improvement
* [PHP-744] - Support the oplog_replay query flag
* [PHP-775] - MongoCursor->hint() can't hint on a index by name
** Task
* [PHP-475] - Create functional phpt tests for read preference exceptions
* [PHP-780] - Deprecate slaveOkay & timeout URI options
* [PHP-788] - Document journal/fsync MongoClient connection options
* [PHP-793] - Add deprecation notice to non-array options for MongoDB::createCollection
* [PHP-801] - Deprecate boolean options to MongoCollection::insert()
* [PHP-802] - Deprecate boolean options to MongoCollection::ensureIndex()
* [PHP-805] - Deprecate (for real) the "chunks" option in MongoGridFS::__construct
- couchbase 1.1.5
Same release as 1.1.4, fixed pecl package:
- Don't check for JSON. It's part of the php core
- Adjust parameter names in reflection to match couchbase-api.php
- Prototype trying to get the thing working for PECL
- Reset the error code between each request of a persistent connection
- Report libcouchbase version in phpinfo
- Remove gettimeofday implementation for win32
- PCBC-206: Prototype for configuration caching
- Fixup memory allocation for URL path
- PCBC-186: Add method to list all design docs
- PCBC-178: Add support for connection_timeout
- Update GetReplica test
- PCBC-218: Detect invalid characters in CAS
- Add bucket manipulation example
- PCBC-172: Add design document examples
- PCBC-191 Don't coredump for invalid argument
- Update the list of supported PHP versions
Improve PHP session cookie security
PHPMaster.com: MongoDB Indexing, Part 2
PHPMaster.com has posted part two of their series looking at indexing in MongoDB databases (part one here) with some more advanced concepts Mongo makes available.
In part 1 of this series we had an introduction to indexing in MongoDB. we saw how to create, use, and analyze queries with indexes giving us a good foundation to build on. In this part, we'll take a look at a few more small but important concepts, like indexing on sub-documents and embedded fields, covered queries, and index direction.They use the same "posts" collection from the previous article, showing you how to index it based on a "location" sub document and "embedded fields" inside of it. They also touch on complex sorting with a multi-field index and the idea of "covered queries." These are queries that all fields queried are part of an index as well as all returned. They finish up the article by showing you how to remove indexes too.
Link: http://phpmaster.com/mongodb-indexing-27PHP.com: A Chat With Adminer - A Simple, Yet Effective, Database Management tool written in PHP
On 7PHP.com today there's a new interview with Jakub Vrana about his tool Adminser, a lightweight alternative to things like phpMyAdmin for database management.
Adminer, formerly known as phpMinAdmin, is a full-featured database management tool to be used as a more simple, effective and fast alternative to the famous PHPmyAdmin. Being curious about it, I had a chat with the creator of Adminer, Jakub Vrana.They talk about the problem the tool tries to solve and where the idea to make it came from. There's also a bit about why to use it over something like phpMyAdmin and what the current status/future plans for it are. If you want to read an interview with Jakub about his work and experiences, you can check out this post.
Link: http://7php.com/adminer-interviewCommunity News: Packagist Latest Releases for 05.13.2013
- mjohnson/admin (0.17.0)
A CakePHP admin plugin.
- mjohnson/utility (1.4.2)
A collection of CakePHP utility libraries.
- neutron/tip-top (0.1.2, 0.1.1, 0.1.0)
Tip-Top, a library to set timeouts and periodic timers
- herrera-io/version (0.1.0)
A library for creating, editing, and comparing semantic versioning numbers.
- hiraku/xml_builder (1.0.12)
Simple DSL for building XML
- phundament/app (0.20.1, 0.20.0)
Yii Application Boilerplate, with packages from composer repository http://packages.phundament.com
- kraksoft/fblikebox-bundle (1.0.0)
Add the FB Like Box inside the Symfony2 framework
- phundament/p3pages (0.11.1, 0.11.0)
Page Manager
- kraksoft/fitvids-bundle (1.0.2)
Add the FitVids.js inside the Symfony2 framework
- nunzion/php-expect (0.2.0, 0.1.0)
An expressive but lightweight library to validate preconditions and invariants.
- powerapi/powerapi-php (2.3.2)
PHP API for PowerSchool
- kraksoft/bootstrap-bundle (2.3.1.1, 2.3.1, 2.3.0)
Add the Bootstrap inside the Symfony2 framework
- kraksoft/nivo-slider-bundle (3.2.3, 3.2.2, 3.2.1, 3.2, 3.1.1, 3.1)
KraksoftNivoSliderBundle
- kraksoft/html5shiv-bundle (3.6.2.3, 3.6.2.2, 3.6.2.1, 3.6.2, 3.6.1)
KraksoftHTML5ShivBundle
- phundament/gii-template-collection (0.8.9)
Gii Template Collection
- flame/thumbnail-helper (v1.0)
Nette template helper for lazy creating of thumbnails
- kraksoft/ancient-bundle (1.0.2.3, 1.0.2.2)
KraksoftAncientBundle
- textpattern/installer (1.0.4)
Textpattern plugin and theme installer
- joshuaestes/composer-installer-puppet (1.0.1)
This custom installer allows you to manage your puppet modules with composer.
- bjyoungblood/BjyAuthorize (1.2.6)
ZendAcl based firewall system for ZF2 dispatch protection
- bjyoungblood/bjy-authorize (1.2.6)
ZendAcl based firewall system for ZF2 dispatch protection
- kherge/box (2.0.0-rc.2)
A tool to simplify building PHARs.
- kvdh/symfony-jquery-colorbox (v1.4.15)
jQuery Colorbox vendor package for Symfony 2.x
- rediscluster/rediscluster (0.5.2)
a php interface to a Cluster of Redis key-value store
- zweifisch/zf (v0.2.3)
a micro php web/cli framework/router
- imbo/imboclient (0.8.1)
Client for Imbo servers written in PHP
- leighmacdonald/php_rbac (0.9.0)
An implementation of RBAC Level 2
- raulfraile/ladybug-bundle (v0.6)
Symfony2 bundle for Ladybug library (Simple and Extensible PHP Dumper)
Compiling PHP 5.5 From Scratch
PostgreSQL 9.3 Beta 1 Released
The first beta release of PostgreSQL 9.3, the latest version of the world's best open source database, is now available. This beta contains previews of all of the features which will be available in version 9.3, and is ready for testing by the worldwide PostgreSQL community. Please download, test, and report what you find.
Major FeaturesThe major features available for testing in this beta include:
- Writeable Foreign Tables, enabling pushing data to other databases
- pgsql_fdw driver for federation of PostgreSQL databases
- Automatically updatable VIEWs
- MATERIALIZED VIEW declaration
- LATERAL JOINs
- Additional JSON constructor and extractor functions
- Indexed regular expression search
- Disk page checksums to detect filesystem failures
In 9.3, PostgreSQL has greatly reduced its requirement for SysV shared memory, changing to mmap(). This allows easier installation and configuration of PostgreSQL, but means that we need our users to rigorously test and ensure that no memory management issues have been introduced by the change. We also request that users spend extra time testing the improvements to Foreign Key locks.
Additional FeaturesAdditional features included in this release are:
- Fast failover to replicas for high availability
- Streaming-only remastering of replicas
- Performance and locking improvements for Foreign Key locks
- Parallel pg_dump for faster backups
- Directories for configuration files
- pg_isready database connection checker
- COPY FREEZE for reduced IO bulk loading
- User-defined background workers for automating database tasks
- Recursive view declaration
- lock_timeout directive
For a full listing of the features in version 9.3 Beta, please see the release notes. Additional descriptions and notes on the new features are available on the 9.3 Features Wiki Page.
Test 9.3 Beta 1 NowWe depend on our community to help test the next version in order to guarantee that it is high-performance and bug-free. Please download PostgreSQL 9.3 Beta 1 and try it with your workloads and applications as soon as you can, and give feedback to the PostgreSQL developers. Features and APIs in Beta 1 will not change substantially before final release, so it is now safe to start building applications against the new features. More information on how to test and report issues
Get the PostgreSQL 9.3 Beta 1, including binaries and installers for Windows, Linux and Mac from our download page.
Full documentation of the new version is available online, and also installs with PostgreSQL.
Community News: Packagist Latest Releases for 05.12.2013
- mjohnson/decoda (6.0.2)
A lightweight lexical string parser for BBCode styled markup.
- paulredmond/chosen-cakephp (2.0.9, 2.1.4)
Chosen CakePHP plugin for CakePHP 2
- rah/danpu (2.0.1, 1.0.0)
MySQL database dump and restoration tool implemented in PHP
- mparaiso/simpleuserserviceprovider (0.0.14, 0.0.13)
Simple User management for Silex intended to mimic FOSUserBundle features, work in progress , not production ready yet !
- sammaye/mongoyii (1.2.35, 1.2.3)
A Yii MongoDB ORM
- mjohnson/uploader (4.0.14)
File uploader and validation plugin for CakePHP.
- mparaiso/doctrineodmserviceprovider (0.0.11, 0.0.10)
Doctrine ODM service provider for Silex
- mparaiso/crudserviceprovider (0.0.12)
CRUD helper Silex framework
- kdyby/autowired (v0.9.1, v0.9)
Syntax sugar for working with services in Nette Framework
- pixel418/markdownify (v2.1.3)
The HTML to Markdown converter for PHP
- tfox/mpdf-port-bundle (1.1.0)
A wrapper for mPDF class which allows to use mPDF in Symfony2 projects
- alchemy/binary-driver (1.4.0)
A set of tools to build binary drivers
- zweifisch/zf (v0.2.2, v0.2.1, v0.2.0)
a micro php web/cli framework/router
- toddish/verify (v2.0.1, v2.0.0)
A simple authentication bundle for Laravel 4. It features roles, permissions, password salting and is fully extendable.
- ajt/guzzle-asana (0.9.2)
Asana API client written on top of Guzzle PHP.
- doctrine/dbal (2.4.0-BETA2, 2.3.4)
Database Abstraction Layer
- hiraku/xml_builder (1.0.11)
Simple DSL for building XML
- doctrine/orm (2.3.4)
Object-Relational-Mapper for PHP
Community News: Packagist Latest Releases for 05.11.2013
- league/oauth2server (2.1)
A lightweight and powerful OAuth 2.0 authorization and resource server library with support for all the core specification grants. This library will allow you to secure your API with OAuth and allow your applications users to approve apps that want to access their data from your API.
- pixel418/markdownify (v2.1.2)
The HTML to Markdown converter for PHP
- primal/routing (2.0)
A file based url routing engine
- ali/datatable (v1.4.0)
Symfony2 Ajax Datagrid Bundle for doctrine2 entities
- filp/damnit (1.0.6, 1.0.5)
php error handling for cool kids
- filp/whoops (1.0.6, 1.0.5)
php error handling for cool kids
- mandrill/mandrill (1.0.27)
API client library for the Mandrill email as a service platform
- php-ffmpeg/php-ffmpeg (0.2.4)
FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg
- zf-commons/zfc-rbac (0.2.0)
Zend Framework 2 Module that provides a layer of features of ZendPermissionsRbac
- pixel418/staq (v0.6.0)
Staq is a small PHP framework for an enjoyable web development
- symfony/symfony (v2.3.0-BETA2)
The Symfony PHP framework
- mparaiso/crudserviceprovider (0.0.10, 0.0.9, 0.0.8)
CRUD helper Silex framework
- kvdh/symfony-jquery-file-upload (v8.1.0)
jQuery File Upload vendor package for Symfony 2.x
- sauce/sausage (v0.8.3)
PHP version of the Sauce Labs API
- dmishh/recaptcher (1.0.0-beta4)
Yet another reCAPTCHA PHP implementation
- tecnick.com/tcpdf (6.0.013)
TCPDF is a PHP class for generating PDF documents.
- puddin/data (1.0.0)
A data access layer built on top of the Doctrine DBAL
- pugx/extravalidator-bundle (v2.2.1)
Add extra validators for forms
- pixel418/iniliq (v0.3.2)
An ini parser for inherited values through multiple configuration files
- pixel418/ubiq (v0.4.6)
Functions for readable treatment of string, array & object
- sensio/framework-extra-bundle (v2.3.0-BETA2)
This bundle provides a way to configure your controllers with annotations
- marcj/php-rest-service (0.1.1)
PHPRestService is a simple and fast PHP class for server side RESTful APIs.
- twig/twig (v1.13.0)
Twig, the flexible, fast, and secure template language for PHP
- kenkataiwa/gatekeeper (0.1.3)
Open Authentiation Abstration
- stomping/stomping (0.1.3)
STOMP 1.x Library for PHP
- puddin/mvc (1.0.0)
A lightweight MVC architecture
- puddin/rest (1.0.0, 1.0)
A lightweight RESTful web service architecture
- leaseweb/doctrine-pdo-dblib (1.0.0)
Library for support of the pdo_dblib (MSSQL) driver in Doctrine
- mparaiso/doctrineodmserviceprovider (0.0.9, 0.0.8, 0.0.7, 0.0.6, 0.0.5)
Doctrine ODM service provider for Silex
- mparaiso/simpleuserserviceprovider (0.0.12, 0.0.11, 0.0.10)
Simple User management for Silex intended to mimic FOSUserBundle features, work in progress , not production ready yet !
- onemightyroar/predis-toolkit (1.1.0)
Additional classes and functionality to extend Predis
- phormium/phormium (0.2)
A minimalist ORM for PHP.
- rampage-php/framework (1.0.0-alpha4)
Rampage PHP Framework based on Zend Framework 2
- garoevans/php-enum (v1.1.1, v1.1.0)
Convenient way to always have an Enum object available and utilise Spl Types if available.
- doctrine/phpcr-bundle (1.0.0-alpha3)
Symfony DoctrinePHPCRBundle
- law909/altorouter (1.0.0)
A lightning fast router for PHP
- fsi/datasource (v1.0.6)
FSi DataSource Component
- sammaye/mongoyii (1.2.25)
A Yii MongoDB ORM
- stefanotorresi/my-i18n (0.1.1)
A ZF2 locale detection module based on Matt Cockayne's ZucchiLocale
- studiobonito/silverstripe-imagefunctions (3.1.0, 3.0.1)
Image Functions Module primarily adds more image functions to the Image object but it also adds some useful SiteConfig settings.
- opauth/opauth (0.4.4)
Multi-provider authentication framework for PHP
- gabriel403/g403-session-db (1.0.1, 1.0)
Extension to ZF2 to allow sessions to be stored in the database.
- nelmio/api-doc-bundle (2.2.3)
Generates documentation for your REST API from annotations
- trismegiste/mondrian (1.1.0)
Mondrian is a set of static analysis and refactoring tools for more abstraction
- puddin/core (1.0.0)
Additional architecture built over top the Slim micro framework
- icecave/chrono (0.1.1)
PHP date and time abstractions that are decoupled from the system clock.
- rgou/bootstrap-bundle (v0.7.3)
Twitter Bootstrap Symfony2 bundle with generator for Doctrine ORM and ODM
Escaping in iCalendar and vCard
The #1 bug report in my vObject library (a library to parse and create iCalendar and vCard objects in PHP) is that it does a bad job escaping/un-escaping of values.
In particular, it double-escapes certain values, changing things like ; into
\\; and in other cases it's a bit too liberal un-escaping.
It's gotten to a point where I got so frustrated about this bug, I've been working all week on a new version of the parser.
Determined to do things right this time, I wanted to make sure I complied with all the relevant standards, in particular:
When I first wrote the vObject I naively thought that these formats were more or less the same. On the surface it does indeed seem that way, everything does seem to follow this basic structure:
BEGIN:VCARD
VERSION:4.0
FN:Evert Pot
END:VCARD
The nuances and slight difference between the specifications are enough to drive a simple person to madness though.
Just on the topic of ecaping values (the part after the :) the
specifications have the following to say:
vCard 2.1, as well as the other specs have a concept of 'compound' or multi-value properties. An example:
BEGIN:VCARD
VERSION:2.1
N:Pot;Evert;Middle;Dr.;M.D.
END:VCARD
As you can see, the N property has multiple values. Any of these values
may also contain a ;, which must be escaped as \;. So we also cannot
blindly encode a string and automatically add backslashes to any ; we see.
The semi-colons should only be escaped in the ADR, ORG and N fields,
but we can assume that backslashed semi-colons may also appear in other values.
Any property may have a parameter, a parameter looks a bit like this:
BEGIN:VCARD
VERSION:2.1
NOTE;ENCODING=QUOTED-PRINTABLE:Handsome guy, for sure..
END:VCARD
A parameter in vCard starts with a ;, has a name and a value. Only the colon
may be escaped in parameters, using \:.
If you somehow wanted to encode a real backslash though, there's no mention of escaping it as a double-backslash.
If you need newlines in any values, quoted-printable encoding must be used.
Other specs all encode newlines as \n or \N.
rfc2425 says that backslashes (\\), newlines (\N or \n) and comma's (\,)
must always be escaped, no exceptions.. Well except when the comma is used as
a delimiter for multiple values.
rfc2426 add semi-colon (\;) to this list, except when it's used as a
delimiter. Semi-colon is used as a delimiter in the N, ADR, GEO and
ORG fields. NICKNAME and CATEGORIES use comma's.
vCard also says that individual parts of ADR, and N may also contain
multiple values themselves, which are themselves split by a comma.
Quoted-printable is now deprecated, and should no longer be used.
Parameters have also changed. The new rule is that parameters must not
contain ;, : or ", unless they are surrounded by double-quotes, in which
case only " may not appear. Escaping of the colon character (\:) has
disappeared.
vCard 4 changes the interpretation of 3.0 a bit, and now states that semi-colons may be escaped, depending on the property.
The implication is that we need to maintain lists of properties, if they
support multiple- or compound-values and which delimiter they use
(, or ;).
Semi-colons are now used by N, ADR, ORG and CLIENTPIDMAP. Comma's are
used by NICKNAME, RELATED, CATEGORIES and PID.
Even though the spec does say that comma's must always be escaped, it does
appear to violate this rule in it's own examples, specifically the example
for GEO (which is no longer a compound float value, but a url).
iCalendar 2
Truncated by Planet PHP, read more at the original (another 1860 bytes)
NetTuts.com: 10 Tips for Learning a New Technology
On NetTuts.com today they've posted a list of tips they think will help you learn a new technology faster. They've broken it up into ten different steps, some which could be done at any time but some have a bit more of an order.
We live in a very exciting time. Never before has education been so cheaply available to the masses (if not free). The medium, itself, has made tectonic shifts from a classroom setting, to blogs, screencasts and complete university classes, as a set of videos and interactive forums. Given these resources, there's absolutely no excuse not to dive in and learn. However, with such a wealth of resources, filtering through the options can often become overwhelming. In this article, I will outline a simple process to kick-start your education.Among the items in their list there's things like:
- "Let the Information Flow Begin"
- "Listen and Watch"
- "Blogging"
- "Feel the Pulse"
- "Meetups and Conferences"
Each tip comes with a bit of description and some links to other resources and tools that can help you along your way.
Link: http://net.tutsplus.com/articles/general/10-tips-for-learning-a-new-technology