A curated list of amazingly awesome PHP libraries, resources and shiny things.
- Composer
- Composer Related
- Frameworks
- Framework Components
| <?php | |
| namespace Helper; | |
| // Select2 helpers for the jQuery based replacement for select boxes. | |
| // See: http://select2.github.io/select2 | |
| // Author: Tortue Torche <tortuetorche@spam.me> | |
| // License: MIT | |
| // | |
| // Installation: | |
| // * Put this file in your 'tests/_support/Helper' directory |
| /* | |
| * Inspired by: | |
| * http://designedbythomas.co.uk/blog/how-detect-width-web-browser-using-jquery | |
| * | |
| * This script is ideal for getting specific class depending on device width | |
| * for enhanced theming. Media queries are fine in most cases but sometimes | |
| * you want to target a specific JQuery call based on width. This will work | |
| * for that. Be sure to put it first in your script file. Note that you could | |
| * also target the body class instead of 'html' as well. | |
| * Modify as needed |
| # Based on: http://stackoverflow.com/questions/2218075/using-git-with-your-cakephp-project | |
| # Procedure: | |
| # 1. Remove app/tmp/ from .gitignore | |
| # 2. touch app/tmp/empty | |
| # 3. git add app/tmp/empty | |
| # 4. git commit | |
| # 5. Add app/tmp/ to .gitignore | |
| # Clean tmpfiles and delete .gitignore |