Professional Stock and Inventory Management System
StokMaster Pro is a comprehensive web-based management system that enables businesses to easily track stock, products, customers, and orders. With its modern interface, powerful features, and flexible structure, it is an ideal solution for small and medium-sized businesses.
For detailed information and features, please visit: https://www.megabre.com/stokmaster-pro.php
- Modern and responsive Tabler.io based interface
- Multi-language support (Turkish/English)
- Role-based authorization system
- Detailed activity logging (audit trail)
- Dynamic field system (products, categories, customers, stock)
- Advanced reporting and analytics
- Excel/CSV import/export
- Automatic backup system
- Database optimization tools
- Multi-currency support
- Customer tagging system
- Measurement unit management
- PHP 7.4+ compatible
- MySQL/MariaDB database
- Secure database access with PDO
- CSRF protection
- XSS protection
- SQL injection protection
- Session management
- Cache system
- PHP: 7.4 or higher
- MySQL/MariaDB: 5.7 or higher
- Web Server: Apache 2.4+ or Nginx
- PHP Extensions:
- PDO
- PDO_MySQL
- GD or Imagick (for image processing)
- mbstring
- json
- session
- fileinfo
# Clone the project or extract the ZIP file
cd /path/to/your/web/directory- Create a new database in MySQL/MariaDB:
CREATE DATABASE stok CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;- Import the
stok.sqlfile:
mysql -u username -p stok < stok.sqlOr import the stok.sql file via phpMyAdmin.
Edit config/database.php:
define('DB_HOST', 'localhost');
define('DB_NAME', 'stok');
define('DB_USER', 'username');
define('DB_PASS', 'password');
define('DB_CHARSET', 'utf8mb4');Edit BASE_URL in config/config.php:
define('APP_URL', 'http://yourdomain.com/stok');The following folders must be writable:
chmod 755 uploads/
chmod 755 uploads/company/
chmod 755 uploads/products/
chmod 755 uploads/profile/
chmod 755 uploads/import/
chmod 755 backup/
chmod 755 cache/Default admin credentials:
- Username: admin
- Password: admin123
Security Warning: Please change your password after first login!
- General statistics (total products, customers, orders, stock)
- Quick actions menu
- Monthly payments and debts chart
- Product categories distribution
- Recent transactions list
- Customizable widget visibility
- Product CRUD operations
- Category-based product management
- SKU and barcode management
- Product pricing
- Minimum stock level tracking
- Product image upload
- Dynamic field support
- Bulk operations
- Category CRUD operations
- Category-based dynamic field definition
- Category statistics
- Customer CRUD operations
- Customer detail page
- Customer order history
- Customer financial history (payment/debt)
- Customer balance tracking
- Customer tagging system
- Dynamic field support
- Stock entry/exit operations
- Stock adjustment
- Stock movement history
- Product-based stock tracking
- Unit-based stock management
- Order creation
- Order editing and deletion
- Order status management (Pending, Processing, Completed, Cancelled)
- Order detail page
- Order printing
- VAT calculation
- Payment/debt/expense management
- Multi-currency support
- Payment methods (Cash, Check, Promissory Note, Credit Card, Wire Transfer/EFT)
- Customer-based financial history
- Cash summary
- Reports: Sales, stock, and customer reports
- Calculators: Unit conversions, price calculations, VAT calculations
- Database Optimization: Table optimization, fragmentation analysis, cache clearing
- Backup: Automatic and manual database backup, restore
- Import/Export: Excel/CSV import/export for all modules
- Cache Management: Cache clearing and statistics
- System settings (company information, logo, timezone, date format)
- User management (roles: Admin, Manager, Accountant, Staff, Viewer)
- Inventory settings (low stock level, default unit, SKU settings)
- Currency management
- Customer tags
- Measurement units
- Detailed logging of all system activities
- User-based filtering
- Operation type filtering
- Date-based filtering
- Change details (old/new values)
- Profile information update
- Profile picture upload
- Password change
- Language preference
- Activity summary
Edit database connection information in config/database.php.
In config/config.php:
APP_NAME: Application nameAPP_VERSION: Version numberAPP_URL: Application URLAPP_TIMEZONE: Timezone
lang/tr.php: Turkish translationslang/en.php: English translations
To add a new language, add a new PHP file to the lang/ folder.
- ✅ CSRF token protection
- ✅ XSS protection (htmlspecialchars)
- ✅ SQL injection protection (PDO prepared statements)
- ✅ Session security
- ✅ Password hashing (password_hash)
- ✅ Role-based access control
- ✅ File upload validation
- ✅ Input sanitization
- Change admin password after first installation
- Use strong passwords
- Perform regular backups
- Keep system updated
- Use HTTPS (in production environment)
- Check access permissions for
config/folder
- Automatic backup can be performed from Settings > Tools > Backup menu
- Backups are saved to
backup/folder
mysqldump -u username -p stok > backup_manual.sql- Go to Settings > Tools > Backup
- Select the backup to restore
- Click "Restore" button
- Website: https://megabre.com
- Email: hello@megabre.com
- Documentation: https://www.megabre.com/stokmaster-pro.php
- Tabler.io integration
- ApexCharts integration
- Detailed activity logging system
- Customer detail page
- Report printing improvements
- Database optimization module
- Version management system
- Initial release
- Basic modules
- User management
- Stock management
This project is proprietary licensed. All rights reserved.
© 2024 Megabre. All rights reserved.
Ali Çömez / Slaweally
- Web: https://megabre.com
- Email: hello@megabre.com
- Tabler.io - Modern UI framework
- ApexCharts - Chart library
- Bootstrap - CSS framework
- jQuery - JavaScript library
- Select2 - Advanced select component
- DataTables - Table plugin
Last Update: 2025
Version: 1.1.3