DigiShop - Digital Downloads Store PHP

Description
DigiShop is a ready-to-launch store for selling digital products. Upload a file, set a price, and your customer pays and downloads it in seconds. The file itself is never exposed: every download runs through a tokenised script that checks ownership, an expiry date and a download counter.
It is written in plain PHP with PDO — no Composer, no framework, no build tools. Upload it to ordinary shared hosting, run the web installer, and you are selling. Nothing to compile, nothing to learn.
What you can sell with it: PHP scripts, WordPress themes and plugins, ebooks and PDFs, music and sound effects, Lightroom presets, graphics, fonts, video templates, course material — anything that ships as a file.
Built in two languages. English and Arabic ship with the script and the layout switches to RTL automatically. Adding a language is one file: copy lang/en.php, translate the values, and it appears in the switcher by itself. Missing keys fall back to English, so a partial translation never breaks a page.
Security taken seriously. PDO prepared statements everywhere, output escaped through a single helper, a CSRF token on every POST form, bcrypt password hashing with session regeneration, and PHP execution disabled inside the upload folder.
Single-domain license. One purchase covers one live domain. Development copies on localhost, .test, .local and private IPs are free and unlimited. Moving to another domain is free — just ask.
Full commented source code. No encryption, no ionCube. 6 months of author support and free 1.x updates.
Features
STOREFRONT - Home page with featured products, special offers and latest arrivals - Categories and unlimited sub-categories with live product counts - Sort by name, price, rating, model, newest or best selling - Price-range filter, grid/list view, pagination and full-text search - Product page with image gallery, description tabs, star ratings and reviews - Cart and a single-page checkout - Customer accounts with order history and a personal download library - Fully responsive — desktop, tablet and phone
PAYMENTS - PayPal — Orders v2 REST integration, sandbox and live - Stripe — Checkout Sessions, plus a signed webhook so an order completes even if the buyer closes the browser - Manual / bank transfer — approve from the admin panel and the download links are generated - The amount actually paid is verified against the order total before anything is delivered
PROTECTED DELIVERY - 40-character download token, one per purchased item - Configurable download limit (default 5) and link lifetime (default 365 days) - Product files live outside the public path, blocked by .htaccess, streamed by PHP only - A refund revokes the download links immediately
ADMIN PANEL - Dashboard: products, paid orders, customers, revenue, recent orders, best sellers - Product manager with cover image and protected file upload (up to 300 MB) - Category manager with unlimited sub-categories and sort order - Order manager: filter by status, approve a pending order, refund - User manager: roles, suspension, spend per customer - Store settings: name, tagline, footer, about text
LANGUAGES & RTL - English and Arabic included, 291 translated strings - Automatic RTL layout — no separate stylesheet to maintain - Add a language by copying one file; it appears in the switcher automatically
SECURITY - PDO prepared statements — no string-built SQL anywhere - CSRF token on every POST form - bcrypt password hashing, session regeneration on login - Upload validation by extension and size, PHP execution disabled in upload folders
Requirements
- PHP 7.4 to 8.4 (tested up to 8.4) - MySQL 5.7+ or MariaDB 10.3+ - PHP extensions: pdo_mysql, curl, mbstring, openssl, zip (optional: gd) - Apache with mod_rewrite, or Nginx - Works on ordinary shared hosting — no SSH, no Composer, no Node.js - A PayPal and/or Stripe account if you want automatic payments (manual approval works without either)
Instructions
1. Upload the contents of the ZIP to your web root (public_html / htdocs). 2. Create an empty MySQL database and a user with full rights on it. 3. Open config/config.php and fill in DB_HOST, DB_NAME, DB_USER and DB_PASS. 4. Open https://your-domain.com/instal... in a browser, enter your admin name, e-mail and password, and optionally tick "install demo content". 5. Delete the install/ folder when the installer says it is finished. 6. Send me the domain you installed on; I e-mail you your license key and activation code. Paste it in Admin -> License -> Offline activation. 7. Add your PayPal / Stripe keys in config/config.php, and set PAYPAL_SANDBOX to false when you go live. 8. Add categories, then products (cover image + the file customers will download), and you are open for business.
Full step-by-step documentation with screenshots is included in the documentation/ folder.
| Author | goalsbang |
|---|---|
| Category | Scripts & Code / PHP Scripts / eCommerce |
| Price | $34 |
| Extended License | $102 |
| Likes | 1 |
| First Release | Sep 6, 2026 |
| Last Update | Sep 6, 2026 |
| Database | MySQL 5.7, MySQL 8.0, MariaDB 10.x, MariaDB 11.x |
| Files included | .php, .css, .html, .svg, .sql, .md, JavaScript .js |
| Software version | PHP 7.4, PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4 |
| Programming language | PHP, JavaScript |
Categories
Tags
External listing. code.market does not sell this product and does not process payment for it. Pricing, payment, delivery, licensing, refunds, and support are handled by the third-party merchant on its own website. We may earn an affiliate commission from a referral. Details.
Products of the Week.
Submit🥇
STOP GUESSING WHAT TO POST
AI that learns your brand voice and builds a month of consistent, on-brand social content: carousels, posts and hooks that sound like you, not like everyone else's AI.
SaaS · 3,096 views · 28 clicksSaaS · Week 45 · 3,096 views · 28 clicks
🥈
Conversational Backlinks for Busy Founders
Place Backlink Relevant Conversation for your domain across Forums and Conversations
Website · 40,486 views · 216 clicksWebsite · Week 45 · 40,486 views · 216 clicks
🥉
upvote.club
Free Social Media Engagement that Helps Boost Your Content. Upvote Club supports 19 social networks with 100+ engagement actions in one dashboard. Add links to your posts and get free engagement from real users.
SaaS · 38,578 views · 110 clicksSaaS · Week 45 · 38,578 views · 110 clicks
#4
Substack Posting API
Onboard your Agent to Substack. Write Publish on Substack via API
SaaS · 57,616 views · 197 clicksSaaS · Week 45 · 57,616 views · 197 clicks
#5
Seenshot App
Free, Fast, MacOS Screenshot app. Make Screenshot cmd+shift+2 and send it via link
Desktop App · 27,048 views · 119 clicksDesktop App · Week 45 · 27,048 views · 119 clicks
#6
Hand-Placed Backlinks $9.99 per link. Flat rate.
Buy hand-placed forum, Q-A and directory backlinks. Flat $9.99 per link, no subscriptions — you only pay for approved listings.
Website · 2,988 views · 18 clicksWebsite · Week 45 · 2,988 views · 18 clicks
#7
Free Invoice Generator - PDF Invoices in Your Browser, No Sign-Up
A free invoice maker for freelancers and small businesses: fill in the invoice, check the live preview, and download a PDF that looks exactly like it. Any currency, tax per item, three templates, no sign-up, and nothing leaves your device.
1,682 views · 16 clicksWeek 45 · 1,682 views · 16 clicks
#8
Merge PDF Files Free - Combine PDFs in Your Browser, No Upload
A free PDF merger for office workers, students, and freelancers: combine PDFs and images into one file in the browser, reorder files and pages, pick page ranges, keep bookmarks, and open password-protected PDFs. Nothing is uploaded, no sign-up, no watermark.
1,574 views · 13 clicksWeek 45 · 1,574 views · 13 clicks