Creating a custom web application can feel overwhelming, especially with tight deadlines. Businesses need quick ways to manage data like clients, cases, or inventory. PHPRunner is here to help. It’s a low-code tool for building functional web apps quickly.
In this tutorial, weβll create a full CRUD (Create, Read, Update, Delete) web app with PHPRunner in just 30 minutes! Youβll learn how to:
- Connect PHPRunner to a database.
- Auto-generate CRUD pages (List, Add, Edit, View)
- Customize your app with themes, validation, and permissions.
- Test and deploy your app for real-world use.
What is PHPRunner and Why Use It?

PHPRunner is a low-code tool for PHP development. It creates professional web apps directly from your database.
π Key Benefits of PHPRunner
- Rapid Development β Build apps in minutes, not weeks.
- Multiple Database Support β Works with MySQL, SQL Server, PostgreSQL, Oracle, and MS Access.
- Ready-to-Use Templates β Include modern themes and layouts.
- Built-in Security β Offers role-based access and authentication.
- Mobile Responsive β Your app works on desktops, tablets, and phones.
π When should I choose PHPRunner?
- Best for quick projects, limited resources, or standard database applications.
- For complex business logic or a highly customized UI, traditional coding may be better.
Prerequisites before you start.

Before building your CRUD app, ensure you have:
π Software
- PHPRunner installed (official download)
- Database server (MySQL, SQL Server, or PostgreSQL)
- Web browser for testing.
π Knowledge
- A basic understanding of database tables and relationships is essential.
- Familiarity with CRUD concepts and web applications.
Step 1: Setting Up the Database

We will create a simple Legal Case Management Systemβgreat for law firms.
Create a new database: legal_cases
Table: cases
CREATE TABLE cases (
case_id INT AUTO_INCREMENT PRIMARY KEY,
client_name VARCHAR(100) NOT NULL,
case_title VARCHAR(150) NOT NULL,
case_status VARCHAR(50),
created_date DATE
);
π This structure tracks cases effectively while keeping it simple.
Step 2: Connecting PHPRunner to Your Database

- Start New Project β Click βNew Projectβ in PHPRunner.
- Choose Database Type β Select MySQL, SQL Server, or your preferred system.
- Enter Connection Details:
- Server:
localhostor IP - Database:
legal_cases - Username + Password
- Server:
- Test Connection β Confirm it connects successfully.
- Select Tables β Choose
cases. - Auto-Generate Pages β PHPRunner builds List, Add, Edit, and View pages automatically.
β Connection usually takes under 2 minutes.
Step 3: Generate CRUD Pages Automatically

PHPRunner instantly creates these four pages:
- List Page β All records in a searchable, sortable table.
- Add Page β Form to add new records with validation.
- Edit Page β Modify existing records.
- View Page β Read-only details of a single record.
π These pages come with professional design out-of-the-box.
Step 4: Customizing Your Application
Make your app business-ready:
- Themes & Design β Choose layouts and adjust fonts/colors.
- Search & Filter Options β Add filters for case status or client name.
- Validation Rules β Example:
- Require email format
- Set character limits
- Validate case number format
- User Roles β Example setup:
- Admin β Full access
- Attorney β Edit assigned cases
- Assistant β Basic data entry
Step 5: Testing Your CRUD App
Run your app locally:
- Create β Add a sample case
- Read β Test search & filters
- Update β Modify an entry
- Delete β Remove a record
π§ Common Issues
- Connection Errors β Check server/user details.
- Permission Problems β Update database privileges.
- Validation Issues β Adjust field rules in PHPRunner.
Step 6: Deployment Options
- Local Testing β Preview with PHPRunner.
- Web Server Deployment β Export files β upload to hosting β configure DB.
- Security β Enable HTTPS, backups, and secure credentials.
Advanced Features for Your CRUD App
- Authentication β Secure login + password encryption.
- Reporting & Analytics β Generate charts and reports for case progress.
- API Integration β Connect to billing or email systems.
- Mobile Optimization β PHPRunner apps are responsive, but you can fine-tune.
Business Use Cases

This CRUD setup can power:
- Law Firms β Case & client management
- Small Businesses β Customer & inventory tracking
- Healthcare β Patient & appointment systems
- Education β Information systems and grading
Next Steps in Your Development Journey
Now that youβve built your first CRUD app:
- Explore master-detail relationships
- Try API integrations
- Optimize performance for larger datasets
Final Thoughts & Call to Action

PHPRunner is one of the fastest ways to build functional, secure, and professional web apps.
At The Gate Solution, we specialize in custom PHPRunner applications for law firms, businesses, and organizations. If youβve started building with PHPRunner but need help with:
- Customization
- Deployment
- Security
- Advanced features
π We can help you turn your idea into a complete business solution.
Contact The Gate Solution today and letβs build your next application together.