Here's how I setup Laravel on MAMP:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
</IfModule>
if (strpos($_SERVER['HTTP_HOST'], 'localhost') !== false)
{
$_SERVER['LARAVEL_ENV'] = 'local';
}
else
{
$_SERVER['LARAVEL_ENV'] = 'production';
}
<?php
return array(
'url' => 'http://localhost:8888/_app_name_'
);
Did not work for me on Mamp.