https://github.com/solvebeam/wpdbx
Modern PHP wrapper for WordPress $wpdb with exception-based error handling.
https://github.com/solvebeam/wpdbx
composer composer-package packagist php solvebeam wordpress wordpress-development wordpress-library wpdb
Last synced: about 2 months ago
JSON representation
Modern PHP wrapper for WordPress $wpdb with exception-based error handling.
- Host: GitHub
- URL: https://github.com/solvebeam/wpdbx
- Owner: solvebeam
- License: gpl-3.0
- Created: 2025-11-06T18:14:15.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-12-12T12:55:35.000Z (7 months ago)
- Last Synced: 2025-12-14T03:28:18.840Z (6 months ago)
- Topics: composer, composer-package, packagist, php, solvebeam, wordpress, wordpress-development, wordpress-library, wpdb
- Language: PHP
- Homepage: https://packagist.org/packages/solvebeam/wpdbx
- Size: 33.2 KB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# SolveBeam WpdbX
Exception-based wrapper around WordPress `$wpdb` for modern PHP usage.
## Installation
```bash
composer require solvebeam/wpdbx
```
## Usage
```php
query( '…' );
} catch ( \Exception $e ) {
\wp_die( $e->getMessage() );
}
```
## Links
- https://github.com/solvebeam/wpdbx
- https://packagist.org/packages/solvebeam/wpdbx
- https://spdx.org/licenses/GPL-3.0-or-later.html
- https://www.solvebeam.com/