Copy/paste the following code block into your terminal.
# Downloading latest
wget http://download.redis.io/redis-stable.tar.gz
Redis is an open source (BSD licensed), in-memory data structure store, used as database, cache and message broker. It supports data structures such as strings, hashes, lists, sets, sorted sets with range queries, bitmaps, hyperloglogs and geospatial indexes with radius queries. Redis has built-in replication, Lua scripting, LRU eviction, transactions and different levels of on-disk persistence, and provides high availability via Redis Sentinel and automatic partitioning with Redis Cluster.
Not sure how long this will be good for, but here's an easy path to adding Memached and Redis support to MAMP 2.1.3. It depends on the fact that, right now, the Homebrew PHP project and MAMP are using the same versions of PHP. This assumes you have Homebrew and MAMP 2.1.3 installed. I'll just be describing the process for PHP 5.3.20.
Make sure you've tapped homebrew-dupes and homebrew-php with: brew tap homebrew/dupes
and brew tap josegonzalez/php
.
Install memcached and redis for PHP Homebrew: brew install php53-memcache
and brew install php53-redis
.
Go into MAMP and navigate to: File menu > Edit Template > PHP > PHP 5.3.2.0 php.ini.
<?php | |
namespace ForkCMS\Bundle\ExtensionsBundle\Installer\ModuleInstaller; | |
/** | |
* Module Installer | |
*/ | |
class ModuleInstaller | |
{ | |
/** |
With Translatable you can translate the fields you like in your Doctrine Entity. Check out other Doctrine Extensions
composer.json
# Fork CMS Device detection | |
[PR: Added Device Detection #321](https://github.com/forkcms/forkcms/pull/321) | |
<?php | |
namespace Blog\Entity; | |
use Doctrine\ORM\EntityRepository; | |
/** | |
* PostRepository | |
* | |
* This class was generated by the Doctrine ORM. Add your own custom |