LiteDigitalStore.
Sell e-books, templates, software or music: upload a file, set a price, and customers get a secure, expiring download link by e-mail after paying with PayPal.

One ZIP file, 159 KB, with the full PHP source code and a README.
Data is stored in protected files. Works on any PHP hosting.
Modern, responsive admin with light and dark mode.
Same design, same admin and same core in every script.
What is LiteDigitalStore?
Free PHP script to sell digital downloads with PayPal and secure links.
LiteDigitalStore is a free script for selling digital downloads without a shop platform. Upload your file (PDF, ZIP, EPUB, MP3...), set a price and share the product page. Customers pay with PayPal; the PayPal IPN listener verifies the payment with PayPal and e-mails a secure link that expires after a number of hours and downloads. Files are stored in a protected folder and are never exposed by a public URL. Free products work as lead magnets: visitors enter an e-mail address and receive the file.
LiteDigitalStore features
- Product pages with cover image, description, price and a PayPal Buy Now button
- Automatic delivery: verified PayPal IPN creates the order and e-mails a secure download link
- Files are stored outside public access (protected folder), links expire after N hours and N downloads
- Free downloads for an e-mail address (lead magnets)
- Orders list with revenue, download counters, resend link and refund status
- Product structured data (JSON-LD), spam protection without CAPTCHA, PayPal sandbox mode for testing
- Responsive store front, light and dark mode, accent color picker
- Flat-file storage: no MySQL, one-click data backup
How LiteDigitalStore works
- Open Admin > Settings and enter your PayPal business e-mail (use sandbox first to test), currency code, link lifetime and download limit.
- Add a product in Admin > Products: name, price, cover image, description and the file to sell. Set the price to 0 for a free download.
- Share the product page link. After payment PayPal calls
ipn.php, the order is created and the customer receives the download link by e-mail. - In Admin > Orders you can resend a link (it resets the expiry and download counter) or mark an order as refunded.
- Your server must be reachable from the internet (not localhost) for PayPal to send payment notifications. Make sure the PHP curl extension is enabled.
Install LiteDigitalStore in 5 minutes
- Download LiteDigitalStore.zip and unzip it.
- Upload the
LiteDigitalStorefolder to your web hosting (FTP or file manager). - Make the
dataanduploadsfolders writable. - Open
/admin/in your browser and create your admin account. - Click Add sample content in Settings, or start adding your own.
Requirements
- PHP 7.4 or newer (PHP 8.x recommended)
- Apache or nginx, any shared hosting
- No MySQL: files in the data folder
- README with full instructions is inside the ZIP
LiteDigitalStore questions
Is it safe? Can people share the link?
Links expire and are limited to the number of downloads you set (default 72 hours and 5 downloads), and the file itself is never exposed by a public address.
Does it support Stripe?
This version uses PayPal. If you prefer Stripe, sell through a Stripe Payment Link and use the admin to send files manually, or take a look at PHP Store.
Need more than LiteDigitalStore?
LiteDigitalStore is ideal for a handful of downloads. For a full online shop with categories, cart, coupons, customer accounts and more payment gateways, see PHP Store:
More free PHP scripts
LiteSubscription
Create a conversion-focused pricing page in minutes: plan cards, monthly / yearly switch, highlighted plan, feature lists and FAQ.
LiteAds
Let visitors post and browse classified ads. Categories, photos, search, moderation and seller messages, all without a database.
LiteCalendar
A clean public events calendar: month grid, upcoming list, recurring events, Add to Google Calendar and .ics downloads.
Browse all 20 free PHP scripts or see our professional PHP scripts.






