Libraries tagged by use statements
alevikzs/reflection
81 Downloads
This package provides reflection API for retrieve use statements by some class.
uestla/aliaser
607 Downloads
Simple PHP library for parsing and handling class aliases defined by USE statements.
knuthelland/phpimports
9 Downloads
Automatically insert use statements in php files
xpd1437/elastic
3 Downloads
Use SQL statements to query elastic
swew/db
26 Downloads
A lightweight, fast, and secure PHP library for interacting with databases, creating migrations, and running queries. swew/db uses prepared statements to protect against SQL injection attacks and supports multiple database systems.
flashrick/elasticsearchsql
9 Downloads
Use SQL statements to query elasticsearch
1cool/elasticsearch
11 Downloads
Use SQL statements to query elasticsearch
renegare/will
602 Downloads
Utility classes that (should) enable you to write more human readable code (e.g invalidate the use of if statements and the like)
bentools/sqldates
81 Downloads
Magic __toString() functions on DateTime objects, for use in SQL statements.
asojon/mysql-pdo-wrapper
456 Downloads
A very simple wrapper around PDO and MySQL, making use of prepared statements.
goisneto/mysqlutil
4 Downloads
Easy way to make MySQL querys, use PDO with prepare statement and fetch results
webfactor/laravel-backpack-documents
243 Downloads
Ready to use Documents Backpack CRUD with API route for eg. privacy statement, imprint, sbt or gtc
singlestore/http-client
1 Downloads
This API allows you to execute SQL statements against a SingleStore database. It supports all statements that can be run in a direct database connection, and uses conventional data type conversion.
rikta/callback-switch
5 Downloads
Switch-statement-like objects based on callbacks for several use-cases
drupal-eca-recipe/eca_lib_0004
77 Downloads
Demonstrates how to express an if/elseif/else decision in an ECA model, the pattern people usually reach for when they want a PHP switch statement. ECA has neither a switch construct nor a working exclusive gateway, so the model uses the sentinel-default idiom instead: it assigns the default value up front, lets a matching branch overwrite it, and then, one hop downstream, tests whether the value is still the default in order to detect that nothing matched. Along the way it demonstrates the four-links-to-one-target OR idiom, in which several conditioned links leaving the same predecessor point at the same successor, so that any one of them is enough to run it.