Here's how I setup Laravel on MAMP:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^$ public/ [L]
RewriteRule (.*) public/$1 [L]
| # SnipMate is required to use snippets | |
| # Download SnipMate: http://www.vim.org/scripts/script.php?script_id=2540 | |
| # Put this file in ~/.vim/snippets/ then restart vim | |
| # This snippet file includes many useful snippets for CodeIgniter. Please feel free to fork and contribute! | |
| snippet php | |
| <?php | |
| ${1} | |
| ?> | |
| snippet ec | |
| echo "${1:string}"${2}; |