- PHP MySQL Quizz classPackage:Summary:Manage questions and user answers stored in MySQLGroups:Author:Description:This class can manage questions and user answers stored in MySQL...
Read more at http://www.phpclasses.org/package/8322-PHP-Manage-questions-and-user-answers-stored-in-MySQL.html - Linear FitPackage:Summary:Perform linear regression on a set of data valuesGroups:Author:Description:This class can perform linear regression on a set of data values...
Read more at http://www.phpclasses.org/package/8320-PHP-Perform-linear-regression-on-a-set-of-data-values.html - PHP URL ComparePackage:Summary:Compare two URLs and show the differencesGroups:Author:Description:This class can compare two URLs and show the differences...
Read more at http://www.phpclasses.org/package/8315-PHP-Compare-two-URLs-and-show-the-differences.html - Simple ImagePackage:Summary:Resize images preserving the original proportionsGroups:Author:Description:This is a simple class can resize images preserving the original proportions...
Read more at http://www.phpclasses.org/package/8309-PHP-Resize-images-preserving-the-original-proportions.html - Manager MySQLPackage:Summary:Execute MySQL queries using table field valuesGroups:Author:Description:This class can execute MySQL queries using table field values...
Read more at http://www.phpclasses.org/package/8323-PHP-Execute-MySQL-queries-using-table-field-values.html - Remove nth Occurance from StringPackage:Summary:Remove or keep repeated text in a stringGroups:Author:Description:This class can remove or keep repeated text in a string...
Read more at http://www.phpclasses.org/package/8314-PHP-Remove-or-keep-repeated-text-in-a-string.html - PHP URL Hash Value HMACPackage:Summary:Generate hashes for URLs to prevent tamperingGroups:Author:Description:This class can generate hashes for URLs to prevent tampering...
Read more at http://www.phpclasses.org/package/8310-PHP-Generate-hashes-for-URLs-to-prevent-tampering.html - PHP Social SharingPackage:Summary:Get the times a page is shared in social networksGroups:Author:Description:This class can get the times a page is shared in social networks...
Read more at http://www.phpclasses.org/package/8317-PHP-Get-the-times-a-page-is-shared-in-social-networks.html - PHP CSSMinPackage:Summary:Compact CSS files eliminating redundant textGroups:Author:Description:This class can compact CSS files eliminating redundant text...
Read more at http://www.phpclasses.org/package/8321-PHP-Compact-CSS-files-eliminating-redundant-text.html
2013年11月6日星期三
Community News: Latest Releases from PHPClasses.org
Community News: Packagist Latest Releases for 11.06.2013
- nizsheanez/yii2-sphinx-tools (v1.1.6)
A lightweight JsonRpc Server and Client for PHP - nizsheanez/yii2-json-rpc (v1.1.2)
A lightweight JsonRpc Server and Client for PHP - nizsheanez/yii2-asset-converter (v1.2.0, v1.1.9, v1.1.8)
Less, Sass and Phamlp converter for Yii2. No system requires. Fork of https://github.com/athos99/assetparser with Composer support, Less autoupdate by Composer, customizing of output directory - markstory/asset_compress (v0.11)
An asset compression plugin for CakePHP. Provides file concatenation and a flexible filter system for preprocessing and minification. - anahkiasen/illuminage (1.1.0)
Wrapper for the Imagine library to hook into the Laravel framework - chilldev/proxy-templating-bundle (0.0.3)
Dynamic templating proxy references bundle for Symfony2. - components/handlebars.js (v1.1.2)
Handlebars.js and Mustache are both logicless templating languages that keep the view and the code separated like we all know they should be. - akkroo/apiclient (v1.0.4)
Akkroo Public API client libraries - jms/metadata (1.5.0)
Class/method/property metadata management in PHP - atelierspierrot/dev-tools (v1.2.1)
Tools & facilities to manage app packages' development - geoip/geoip (v1.14)
MaxMind GeoIP PHP API - psecio/iniscan (2.3)
A scanner to evaluate php.ini security - supertag/gearman-bundle (v0.2.1)
Gearman bundle for Symfony2 to manage and monitor PHP gearman jobs and queue - urodoz/cachemanager (1.0)
Bundle for Symfony 2 to handle cache management - snapshotpl/zf-snap-geoip (2.0.2)
MaxMind GeoIP Module for Zend Framework 2 - contao-community-alliance/composer (0.7.2, 0.7.1, 0.7.0)
composer integration into the contao cms - mf2/shim (v0.2.2)
A parsing library for parsing pages from a few common non-mf2 sites into the mf2 structure - mlalbuquerque/silex-skeleton (v3.9.0)
A Silex skeleton for little (not tiny) projects - erusev/parsedown (0.4.3, 0.4.2)
Parser for Markdown. - bitgandtter/ratchet-bundle (0.6.4, 0.6.3)
ratchet integration into sf2 - bitgandtter/google-bundle (0.3.7, 0.3.6, 0.3.5)
Integrate Google Services into Symfony 2 app. - bitgandtter/facebook-bundle (0.2.7, 0.2.6, 0.2.5)
Integrate Facebook Services into Symfony 2 app. - bitgandtter/twitter-bundle (0.2.4, 0.2.3, 0.2.2)
Integrate Twitter Services into Symfony 2 app. - nette/nette (v2.0.13)
Nette Framework - innovative framework for fast and easy development of secured web applications in PHP. Write less, have cleaner code and your work will bring you joy. - mauserrifle/simresults (v0.2.4)
Simrace result reader for PHP - webvariants/babelcache (v2.0.2)
Generic caching library with namespace support - anahkiasen/former (3.3.0)
A powerful form builder - voceconnect/voce-post-meta-date (v1.1.0)
Extension of Voce Post Meta Plugin to create date meta fields - voceconnect/voce-post-meta-psu (v1.0.0)
Post Meta API Extension for Post Selection UI fields - bitgandtter/binnacle-bundle (0.1.1)
Binnacle record - mongator/behaviors (v1.4.2, v1.4.3)
Bahaviors for Mongator, the Simple, powerful and ultrafast Object Document Mapper (ODM) for PHP and MongoDB - flow/flow (0.6.0)
Fast PHP templating engine - da-mitchell/steam-api (1.0.0)
PHP wrapper for the steam web API - slm/mail (v1.3.0)
Integration of various email service providers in the Zend Framework ZendMail - fr3d/xmldsig (v0.3)
Tool for easy management of XML Signatures (http://www.w3.org/TR/xmldsig-core/) - gordalina/mangopay-bundle (1.0.2)
Symfony2 bundle to integrate Mangopay - fuelphp/event (0.2.1)
Framework independent Event library. - bitgandtter/socialuser-bundle (0.2.6)
Symfony BIT SocialUserBundle - kumatch/fs-temp (0.1.1)
A simple temporary file and directory manager for PHP. - bitgandtter/user-bundle (0.2.2)
Symfony BIT UserBundle - davewid/peyote (0.7.1)
A database query builder for PHP 5.3+ - dphp/composer-utils (0.1.0)
Some utility scripts for Composer by dPHP. - femto/core (v0.2.0)
The core of the Femto framework - netsensia/companies-house (v0.0.10, v0.0.9)
Wrapper classes for Companies House Gateway - joomlatools/installer (0.1.0)
A Composer plugin to install Joomla extensions into your installation. - fortawesome/font-awesome (v4.0.3)
The iconic font designed for Bootstrap - beberlei/assert (v1.6)
Thin assertion library for input validation in business models. - atoum/atoum (0.0.1, 0.0.0)
Simple modern and intuitive unit testing framework for PHP 5.3+ - pid/speakingurl (0.5.0)
Generate of so called 'static' or 'Clean URL' or 'Pretty URL' or 'nice-looking URL' or 'Speaking URL' or 'user-friendly URL' or 'SEO-friendly URL' or 'slug' from a string. - openbuildings/purchases (0.3.22, 0.3.21)
Multi Store Purchases - ginger/ginger (v1.0.0)
- openbuildings/shipping (0.3.16)
Add complex shipping to openbuildings/purchases package - shabbyrobe/cachet (1.3.0)
Pluggable Caching for PHP 5.5 - frenkynet/flysystem (0.1.4)
Filesystem abstraction, but easy. - braincrafted/bootstrap-bundle (v2.0.0-alpha2)
Twitter Bootstrap for Symfony2 - happydemon/s4k (0.9)
An examplary implementation of Sentry in Kohana - xsolve-pl/xsolve-bootstrap-crud-bundle (1.0.0)
XSolve Twitter Bootstrap bundle with CRUD generator and an example layout - enlitepro/enlite-admin (v1.1.3)
- mediawiki/semantic-mediawiki (1.9beta1)
MediaWiki extension that lets you store and query structured data within wiki pages - cviebrock/eloquent-sluggable (1.0.4)
Easy creation of slugs for your Eloquent models in Laravel 4.
Timoh's Blog: Secure random numbers for PHP developers
Timoh has posted a look at random number generation to his site, focusing on one of the many methods to produce truly random number - using /dev/(u)random (available on Unix-based filesystems).
How would you gather cryptographically secure random bytes in your PHP application? This is actually quite a good question. It used to be, and seems, it still is not that uncommon to just simply call mt_rand() function to get the job done creating user's "initial password", for example. A bit more experienced reader will notice there is a security bug. [...] But actually only a few [functions to get random values] can be recommended for security sensitive purposes. And now I'm not talking about openssl_random_pseudo_bytes().
He starts with a look at openssl_random_pseudo_bytes and why there might be something wrong with its use - mainly that OpenSSL has had its own share of security issues in the past. Of the two random resources he recommends /dev/urandom as it's less blocking and more useful for web applications. He recommends the RandomCompat library if you need to take this random data and transform it into integers (with one caveat).
Link: http://timoh6.github.io/2013/11/05/Secure-random-numbers-for-PHP-developers.html
PHPMaster.com: Mapping with Geocoder PHP and Leaflet.js
On PHPMaster.com a new tutorial has been posted showing how to combine Geocoder PHP with Leaflet.js to create interactive maps. The Leaflet.js library lets you easily create mobile-friendly maps with simplicity and usability in mind.
Interactive maps inside a web application have a lot of great uses. From visualizing data to highlighting points of interest, maps are expected to communicate ideas within the context of location easily. The hardest part, however, is converting that data into coordinates that the map can understand. Luckily, Geocoder PHP allows us to connect to different geo-coding providers. Combined with Leaflet.js, a simple Javascript library, creating maps is a breeze.
He starts by helping you get the Geocoder library installed via Composer and make a sample page (using Bootstrap and jQuery) with a container for the map. He helps you set up Geocoder with an adapter to connect to the service of your choice (like Google Maps, Bing Maps or Openstreatmap). With this configured and created, he inputs some sample data and coverts the addresses to latitude/longitude sets. He walks you through getting Leaflte.js added to the page and pulling in these results via individual generated Javascript variables. You can check out a demo of the end result to see how it all fits together too.
Link: http://www.sitepoint.com/mapping-geocoder-php-leaflet-js/
The Nerdery: Is my code compatible with PHP 5.4 or 5.5?
On The Nerdery's blog today there's a new post that shows you a way to help test your code for PHP 5.4 and 5.5 - via PHP_CodeSniffer - as well as mentioning some of the changes that came with these versions.
Do you want to know if your code is compatible with that latest version of PHP? Do you need to upgrade your existing PHP website to a newer version of PHP? Do you want to see if your legacy PHP code is using any features that have been removed or deprecated in later versions of PHP? [...] ou need to migrate your existing code to ensure nothing will break when the upgrade occurs. How can you accomplish that?
They start with the list of differences (and backward incompatible changes) in the newer versions and point to the migration pages for each. Then they get into the use of PHP_CodeSniffer and some additional rules provided by Win Godden for checking the compatibility. With these added in, you can call the "phpcs" checking tool with the "PHPCompatibility" standard and check out the results. An example of what you might see on an older application is included in the post.
Link: http://blog.nerdery.com/2013/11/code-compatible-php-5-4-5-5/
2013年11月5日星期二
Community News: Latest PECL Releases for 11.05.2013
- zmq 1.1.0
- Device related fixes and improvements:
* Added setTimerCallback to set a timer function
* Added getIdleTimeout/getTimerTimeout - zmq 1.1.1
- Missing zmq_clock.c from the archive - riak 0.8.0
- Riak 1.4+ feature: CRDT counters implemented - xmldiff 0.9.1
- Fixed libxml behavior change after diff/merge
- Fixed DOM compatibility for PHP 5.3.6 and below (Remi Collet) - Judy 1.0.2
- Bug fix with count/size, see https://github.com/orieg/php-judy/issues/15
- Add missing test files in package.xml - riak 0.7.0
- Riak 1.4+ feature: secondary index paging implemented
Community News: phpDay 2014 Call for Papers Opened
The phpDay conference has officially announce their Call for Papers and are now accepting submissions for their 2014 event.
Please fill in your Call for Paper for the 2014 edition of the phpDay. We will contact you a couple of week after the Call for Paper ends (28/02/2014). We strongly encourage new speakers and new topics. Remember that phpDay is an international conference, so we prefer English session proposals.
They're looking for three different kinds of talks - regular (30 minute) sessions, 45 minute extended sessions and 90 minute workshops. The 2014 edition of the phpDay conference will be held May 16th and 17th in Verona, Italy.
Link: https://docs.google.com/a/phpdeveloper.org/spreadsheet/viewform?usp=drive_web&formkey=dG5GOUs1WW1zNWtHZXpIRTB2QjhEWmc6MA#gid=0