Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
//#define ?? auto | |
#define cease break | |
#define upon case | |
//#define ?? char | |
#define steadfast const | |
#define abide continue | |
//#define ?? default | |
#define undertake do | |
//#define ?? double | |
#define otherwise else |
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="${projectName}" basedir="." default="build:main"> | |
<!-- Properties --> | |
<property name="dir.app" value="${project.basedir}/app" /> | |
<property name="dir.src" value="${project.basedir}/src" /> | |
<property name="dir.build" value="${project.basedir}/app/build" /> | |
<property name="dir.docs" value="${dir.build}/docs" /> | |
<property name="dir.docs.phpdoc" value="${dir.docs}/phpdoc" /> | |
<property name="dir.docs.docblox" value="${dir.docs}/docblox" /> | |
<property name="dir.reports" value="${dir.build}/logs" /> |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Do your part to resist Government surveillance and take back your privacy:
/** | |
* Thanks to @philsturgeon for pointing this package | |
* and Filipe Dobreira "https://github.com/filp" for creating it ^^ | |
* Github : https://github.com/filp/whoops | |
* How to: | |
* Step 1 : Setup composer for Laravel 3 | |
* Step 2 : Add this code to your application/start.php or anywhere u like | |
* as long its after laravel registers its own error handlers | |
* so NOT in : index.php, paths.php or laravel/** | |
* |