Home » Development » PHP » Seite 5
“Grav is a Fast, Simple, and Flexible, file-based Web-platform. There is Zero installation required. Just extract the ZIP archive, and you are already up and running. It follows similar principles to other flat-file CMS platforms, but has a different design philosophy than most.
Grav comes with a powerful Package Management System to allow for simple installation and upgrading of plugins and themes, as well as simple updating of Grav itself.”
Grav@GitHub
Detect changed files using PHP/MySQL/CRON.
GitHub
Varying Vagrant Vagrants is an open source Vagrant configuration focused on WordPress development. The primary goal of Varying Vagrant Vagrants (VVV) is to provide an approachable development environment with a modern server configuration. VVV is ideal for developing themes and plugins.
“NEON is very similar to YAML. The main difference is that the NEON supports “entities” (so can be used e.g. to parse phpDoc annotations) and tab characters for indentation. NEON syntax is a little simpler and the parsing is faster.”
NEON offers PHP, Javascript and Python support.
Go and play in their Sandbox
“RIPS is a static code analysis tool to automatically detect vulnerabilities in PHP applications.
By tokenizing and parsing all source code files RIPS is able to transform PHP source code into a program model and to detect sensitive sinks (potentially vulnerable functions) that can be tainted by user input (influenced by a malicious user) during the program flow.
Besides the structured output of found vulnerabilities RIPS also offers an integrated code audit framework for further manual analysis. ”
RIPS
TNT Search is a fully featured full text search engine written in PHP.
“Gravity Forms for WordPress is a full featured contact form plugin that features a drag and drop interface, advanced notification routing, lead capture, conditional logic fields, multi-page forms, pricing calculations and the ability to create posts from external forms.”
There are multiple options how to handle the confirmation page. Gravity form allows you to send query parameters to the page it is redirecting to.
You can send all form information in the clear, via query variables, but that looks really messy. Its better to use something like this .. lead_id={entry_id} and query form information on the actual confirmation page.
This will output the submitted form data as an array, with all fields linked by field id.
When you are reusing the field data for your own purposes, its easier to deal with field names than with fields ids. So we get the form meta data
and extend the lead array.
Before you needed to know the actual field id to get its value. Now you can use the generated lead key to get that value.
Much easier to reuse and remember :)
Crunz is a framework-agnostic package to schedule periodic tasks (cron jobs) in PHP using a fluent API.
Sometimes we need to debug a WordPress plugin, even though the website is live.
This would display the errors for anyone.
Gladly WordPress provides options to do this more subtle.
“Snappy is a PHP5 library allowing thumbnail, snapshot or PDF generation from a url or a html page. It uses the excellent webkit-based wkhtmltopdf and wkhtmltoimage available on OSX, Linux, Windows.”