Use Sparklines to show trends on Datagrid

We’ve added support for visual representation of data using Sparklines in PHP Grid Framework. Sparklines charts can be used to show trends in a series of values, such as seasonal increases or decreases, website traffic, economic cycles, or to highlight maximum and minimum values. 

Now you can have Line, Bar, Composite (Both line/bar), Pie, Discrete, Bullet, Won-Lost, Color Map and Box Sparklines along with your other information. Few of them are shown in demo screenshot:

Licensed customers can request free upgrade using update link.
To purchase license, you can visit this link.

Import from Excel, Google Sheet, CSV to PHP Grid

Importing from ExcelWe’ve released ‘Import Data’ feature that will help customers who need to migrate from Microsoft Excel or Google Sheets or CSV File to their own web based solution using PHP Grid Framework.

– Import your external CSV file data in PHP Grid Framework.
– Migrating from Excel or Google Sheets to PHP Grid Framework.
– Selection to map imported data columns on database fields.
– Allow to Append OR Replace existing PHP Grid data.

Screencast below:

For How-tos, usage and technical details, refer updated documentation.

Existing customers can request update from this link.
To purchase license, you can visit this link.

Responsive PHP Grid (enhanced)

After a long delay, we have enhanced responsive feature of PHP Grid, which support some really useful intrinsic features:

– Your custom column display selection based on screen size
– Auto-hiding of columns (from end) based on screen size
– Column display choice on runtime
– Better mobile transposed display of View, Add and Edit dialog forms

Screencast #1

Screencast #2

For How-tos, usage and technical details, refer updated documentation.

Active license customers can request free upgrade using this link.

Laravel v5.0 Integration

NOTE: For more complete version, Visit Laravel 5.5 Integration Guide.

Following is the guide to integrate PHP Grid Framework with Laravel 5.

laravel_result

Step1: Folder placements in Laravel.

There are 2 main folders in PHP Grid Framework package archive. You need to:

Copy the contents of lib/inc folder —> Laravel/app/Classes/phpgrid
Copy the contents of lib/js folder —> Laravel/js/phpgrid

laravel_step1_1

The ‘app/Classes’ folder does not exist by default in laravel. You may create it for 3rd party class libraries.
Create another folder inside it with name ‘phpgrid’ and move all contents of ‘lib/inc’ in it. Final result will look like this:

laravel_step1_2

In similar way, copy the files from lib/js to laravel/public/js/phpgrid. Final result should look like following:

laravel_step1_3

Step2: Setting Controller code.

Here we included our library and rest code looks same as in our demos. Note the ‘\’ before class name while instantiating object. Finally we passed the output of render() function to view with a variable name ‘phpgrid_output’.

For demo purpose, we modified ‘laravel/app/Http/Controllers/WelcomeController.php’

laravel_step2

Step2: Setting View code.

In view code, we included the JS/CSS files from the ‘js’ folder which we copied in step1.1
And using blade template variable output, we pushed the grid output in our desired place in html.
For demo purpose, we modified ‘laravel/resources/views/welcome.blade.php’

laravel_step3

Note: PHP Grid Framework does not utilize ORM model layer of Laravel. It uses it’s own backend libraries.

Result: Get Set – Go!

laravel_result

Download all files to kick-start Laravel 5 with PHP Grid Framework.

Note: Demo comes with non-commercial / evaluation version of php grid framework. You can buy commercial usage license from this link.

PHP Database Table Editor v2.0

Lightweight & Feature-Rich PHP Database Editor for SQL, MySQL, Oracle, PostgreSQL, DB2

In today’s fast-paced development environment, developers and administrators often need instant access to database tables without the overhead of writing full CRUD (Create, Read, Update, Delete) modules. Whether you work with MySQL, SQL Server, Oracle, PostgreSQL (PgSQL), or DB2, PHP Grid offers a lightweight and powerful solution. With just a few configuration steps, you can access and edit your database tables directly within your existing PHP application.

Why PHP Grid Database Editor is a Time-Saving Tool

The PHP Grid Database Editor is designed for simplicity and efficiency. Instead of building complex modules for add, edit, delete, and search operations, you can get a fully functional database grid by setting the $g->table attribute to your selected database table.

Example code:

$g = new jqgrid();

// set few parameters
$grid["caption"] = "Grid for '$tab'";
$grid["autowidth"] = true;
$g->set_options($grid);

// set database table for CRUD operations
$g->table = $tab;

// render grid
$out = $g->render("list1");

This lightweight PHP database grid can be easily extended with additional features such as:

  • Access Control (ACL)

  • Exporting data (PDF, CSV, XLS)

  • Bulk editing with multi-selection

  • Grid persistence (column resizing, filters, sorting)

The demo above is based on MySQL, but the same code works seamlessly with MS SQL Server, Oracle, PgSQL, and DB2 databases.

Key Features of PHP Grid

  • CDN-based CSS/JS files for faster page loading

  • Hide or show specific columns

  • Select tables and fields for editing at runtime

  • Bulk editing and multi-selection support

  • Grid persistence (resizing, filtering, sorting)

  • Free and licensed versions available: Connect to MySQL, SQL Server, Oracle, PgSQL, and DB2 databases, with the licensed version offering advanced integration features

Frequently Asked Questions (FAQ)

Q: What is PHP Grid?
A: PHP Grid is a lightweight PHP-based database editor that allows developers and administrators to view, edit, and manage database tables without writing full CRUD modules. It supports MySQL, SQL Server, Oracle, PostgreSQL, and DB2.

Q: Who uses PHP Grid?
A: PHP developers, database administrators, and software teams who need fast and easy database management within PHP applications use PHP Grid. It is ideal for internal admin panels, dashboards, and rapid development projects.

Q: How does PHP Grid work?
A: PHP Grid works by connecting to your database using credentials in a config file. You set the target table in the $g->table attribute, and PHP Grid generates a fully interactive table grid with add, edit, delete, and search functionality.

Q: Can PHP Grid handle multiple databases?
A: Yes! PHP Grid supports MySQL, MS SQL Server, Oracle, PostgreSQL, and DB2. The same interface works for all supported database types.

Q: Is PHP Grid free?
A: PHP Grid comes with both Free and Licensed versions. The free version allows connection to multiple databases, while the licensed version adds advanced features and integration options for enterprise-level applications.

Q: Can I export data from PHP Grid?
A: Absolutely. PHP Grid supports exporting data in PDF, CSV, and XLS formats, making it easy to share reports or backups.

Get Started with PHP Grid

You can download PHP Grid today and save hours of development time. Integrate a powerful database editor directly into your PHP applications and start managing your tables instantly.

Complete code for this demo can be accessed from this link.

You can Download and Start saving your time now!

Announcing PHP Grid v2.0

Today, we are glad to announce the release of PHP Grid v2.0.
Adding a lot of features, updates, optimizations and fixes. Thanks for all who contributed in evaluation.

Major Highlights:

  • Overall User Interface Enhancement, New Glyph Icons, Cozy Spacing Layout enabling it to be used on mobile devices easily.  Bootstrap3 is also supported now. This version comes with 3 layouts, i.e. Cozy, Bootstrap and Classic (old slick version).
    basic
  • New Professional Themes (Dark, Light, Colored). Metro Color Themes light/dark/black are recently added. You can also rollover your custom color theme using jQueryUI.
    themes
  • Integration with jQuery Plugins. Now you can connect plugins like datetime, autocomplete, select2, fancybox, ckeditor, jscolor and many others with simple process, enabling endless possibilities in features.
    3rdparty
  • Added support for many missing database engines
    db
  • And finally, all such features gave same experience on modern browsers.
    Browsers

Technical Change-log:

  • Added support for PHP v5.0+ to v7.0
  • PDO and MySqli Drivers support
  • New Glyphicon (Iconset) / Bootstrap3 support
  • Muliple File Uploading Support
  • Support for SQLite and Firebird databases
  • Advanced Search Conditions (Search in Groups)
  • Exporting selected rows and columns
  • Session data based grid (with add/edit/del)
  • Exporting Master Detail PDF
  • Image auto-embed support in PDF export
  • Select2 plugin support for data entry and search form
  • Over 200+ fixes and updates.

Next Actions:

Active license customers can request free upgrade using this link.

Get a complete Features Tour by vising our website.