MakeYou - Short Video Platform PHP ScriptMakeYou - Short Video Platform PHP Script
A TikTok-style short video platform with vertical swipe feed, user system, admin panel, video sync, ad monetization & dark UI. Recently UpdatedMakeYou - Short Video Platform PHP Script
A TikTok-style short video platform with vertical swipe feed, user system, admin panel, video syn...
Overview
MakeYou is a complete, production-ready short video sharing platform inspired by TikTok. Built with PHP 8, MySQL, and vanilla JavaScript — no framework dependency. Clean MVC architecture, fully responsive dark UI, and ready to deploy in 5 minutes.
★ LIVE DEMO
━━━━━━━━━━━━━━━━━━━━━━━━━
Website: https://makeyou.w-co.in/
Username: admin
Password: 12345678
★ WHAT MAKES MAKEYOU SPECIAL?
━━━━━━━━━━━━━━━━━━━━━━━━━
• Pure PHP — No Laravel, No CodeIgniter, No framework. Just clean, fast PHP 8 code
• Zero JavaScript frameworks — Vanilla JS only, lightweight & fast
• Mobile-first dark theme UI with TikTok-style vertical swipe feed
• Complete user system with Google OAuth social login
• Powerful admin panel with real-time analytics
• Auto video sync from YouTube via API (CRON based)
• Built-in monetization system supporting 5+ ad networks
• Secure: CSRF protection, XSS sanitization, bcrypt passwords, prepared statements
• Easy to customize — well-organized MVC structure with comments
★ WHAT'S INCLUDED
━━━━━━━━━━━━━━━━━━━━━━━━━
• Complete PHP source code (no encrypted/encoded files)
• MySQL database schema (single SQL import)
• Full documentation (README + inline code comments)
• .htaccess for clean URLs (Apache mod_rewrite)
• CRON script for automated video sync
• Ready to deploy on any shared/VPS hosting
Features
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
FRONTEND FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• TikTok-Style Vertical Swipe Video Feed — Full-screen videos with vertical scroll navigation, infinite loading with AJAX pagination
• Multi-Source Video Player — Supports YouTube embeds, local MP4/WebM uploads with native HTML5 player
• Video Filters & Sorting — Filter by: Newest, Popular (most views), Trending (most likes), Longest, Shortest duration
• Category System — Videos organized by custom categories, filter feed by category
• Source Filter — Filter videos by source: YouTube, Local uploads
• Search System — Real-time search by video title, tags, and category name
• Like System — One-click like with instant count update (AJAX, no reload)
• View Counter — Auto-increment views when video plays (tracked per session)
• Share Functionality — Share videos via direct URL with video parameter (?v=ID)
• SEO-Friendly URLs — Clean URLs with Apache mod_rewrite (.htaccess)
• Fully Mobile Responsive — Works perfectly on all screen sizes
• Dark Theme UI — Complete dark mode throughout the entire platform
• Video Share Links — Each video has a unique shareable URL for social media
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
USER SYSTEM
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Email Registration & Login — Username + email + password with validation
• Google OAuth Login — One-click Google sign-in (auto-creates account)
• Forgot Password — Email-based password reset with secure token (1-hour expiry)
• Reset Password — Token-validated password change form
• Remember Me — 30-day persistent login using secure hashed tokens (auto-login)
• User Profiles — Public profile page with avatar, bio, videos, stats
• Follow/Unfollow System — Follow other creators, followers/following count
• Blue Badge Verification — Users can apply for verification, admin approves
• Avatar Upload — Profile picture upload (supports JPG, PNG, GIF, WebP, max 5MB)
• Bio & Display Name — Editable profile settings
• User Dashboard — Personal stats: total videos, likes, views, followers, following
• Notifications Inbox — Real-time notifications for likes, follows, video publishes
• Video Upload — Upload MP4/WebM videos with custom thumbnail, caption, category
• CSRF Protection — All forms protected with CSRF tokens
• Session Security — Secure cookies, httponly, samesite=Lax
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
ADMIN PANEL
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Admin Dashboard — Total videos count, per-source breakdown (YouTube/Local), today's sync stats, recent sync logs
• Videos Manager — View all videos with pagination (20 per page), add/edit/delete videos
• Users Manager — View all registered users, edit user details (username, email, role, password), ban/unban users, delete users, toggle verification badge
• Activity Monitor — Real-time online users (active in last 5 mins), today's stats (views, likes, uploads, logins), unique visitors count, full activity log (last 50 actions)
• Verification Manager — View all badge requests, approve/reject verification applications, see user details (email, followers, avatar)
• Ads Manager — Create banner ads and video ads, paste any ad network script (Adsterra, PropellerAds, Monetag, Google AdSense, custom HTML/JS), enable/disable ads globally, track impressions and clicks per ad, header script injection for ad networks
• Pages CMS — Edit dynamic pages: Privacy Policy, Terms of Service, About Us, Contact, activate/deactivate pages, WYSIWYG content editing
• Site Settings — Site title & description, YouTube API key configuration, SMTP settings (host, port, username, password, encryption, from email/name), Google OAuth settings (client ID, secret, redirect URI), enable/disable Google login
• Video Sync — YouTube video sync via API (search by keywords), sync runs via CRON (every 15 minutes), sync logs with success/fail counts, duplicate detection (never imports same video twice)
• Role-Based Access — Admin vs User role separation, admin-only routes protected
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
MONETIZATION
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• Banner Ads — Display banner ads in the video feed (overlay style)
• Full-Screen Video Ads — Show video/interstitial ads between content
• Ad Script Support — Paste any ad network code: Adsterra, PropellerAds, Monetag, Google AdSense, or custom JS/HTML
• Header Script — Global header ad script injection
• Impression Tracking — Auto-count ad impressions
• Click Tracking — Track ad clicks
• Enable/Disable — Toggle all ads on/off from admin panel
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
TECHNICAL FEATURES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
• MVC Architecture — Controllers, Models, Helpers, Views separated cleanly
• PDO Database — Prepared statements for all queries (SQL injection safe)
• PSR-4 Autoloader — Auto-loads classes from controllers/, models/, helpers/
• REST API — JSON API endpoints for videos, likes, views, follow, notifications, profile, upload, admin actions
• SMTP Mailer — Built-in SMTP email sender using PHP sockets (no PHPMailer dependency), supports TLS/SSL
• CRON Jobs — Automated video sync script (cron/sync.php)
• XSS Protection — htmlspecialchars() helper function for all output
• CSRF Tokens — Server-generated tokens on all mutation forms
• Bcrypt Passwords — password_hash() with PASSWORD_BCRYPT
• Error Logging — Custom log_message() function, logs to app/storage/logs/app.log
• Rate Limiting — File-based rate limit cache
• Auto-Detect Base URL — Works in subdirectory or root domain automatically
• No External Dependencies — Zero Composer packages, zero npm, zero frameworks
Requirements
• PHP 8.0 or higher (tested on PHP 8.0, 8.1, 8.2, 8.3, 8.4)
• MySQL 5.7+ or MariaDB 10.3+
• Apache Web Server with mod_rewrite module enabled
• PHP Extensions Required: cURL, mbstring, PDO, PDO_MySQL
• Minimum 50MB disk space
• Any shared hosting, VPS, or dedicated server
• Works with: cPanel, DirectAdmin, Plesk, or manual server setup
• Local development: XAMPP, WAMP, LAMP, Laragon all supported
OPTIONAL (for full functionality):
• SMTP credentials (Gmail, SendGrid, Mailgun, etc.) — for email features
• YouTube Data API v3 key — for video sync (free: 10,000 units/day)
• Google Cloud OAuth credentials — for Google social login
Instructions
━━━━━━━━━━━━━━━━━━━━━━━━━
INSTALLATION GUIDE (5 Minutes)
━━━━━━━━━━━━━━━━━━━━━━━━━
STEP 1: UPLOAD FILES
• Upload all files to your web server document root or subdirectory
• Works on any hosting: Shared hosting (cPanel), VPS (Ubuntu/CentOS), Dedicated
• For local testing: Place in htdocs (XAMPP) or www (WAMP) folder
STEP 2: CREATE DATABASE
• Create a new MySQL database via phpMyAdmin or command line
• Import the schema file:
- Via phpMyAdmin: Select database → Import → Choose database/schema.sql → Go
- Via CLI: mysql -u root -p your_database < database/schema.sql
STEP 3: CONFIGURE DATABASE CONNECTION
• Open file: config/config.php
• Edit these lines:
define('DB_HOST', '127.0.0.1'); ← Your database host
define('DB_PORT', '3306'); ← Your database port
define('DB_NAME', 'your_db_name'); ← Your database name
define('DB_USER', 'your_username'); ← Your database username
define('DB_PASS', 'your_password'); ← Your database password
• The SITE_URL is auto-detected — no manual configuration needed!
STEP 4: SET FILE PERMISSIONS
• Set write permissions on upload & storage folders:
chmod 777 public/uploads/
chmod 777 public/uploads/videos/
chmod 777 public/uploads/thumbnails/
chmod 777 public/uploads/avatars/
chmod 777 app/storage/cache/
chmod 777 app/storage/logs/
• On shared hosting: Use File Manager → Permissions → 777
STEP 5: CREATE ADMIN ACCOUNT
• Open in browser: http://yoursite.com/admin/sign...
• Fill in: username, email, password
• Then run this SQL query in phpMyAdmin:
UPDATE admins SET role = 'admin' WHERE id = 1;
• Now login at: http://yoursite.com/login
STEP 6: CONFIGURE SETTINGS (Optional)
• Go to Admin Panel → Settings
• YouTube Sync: Paste your YouTube Data API v3 key
• Email: Set SMTP host, port, username, password, encryption (TLS/SSL)
• Google Login: Set Client ID, Client Secret, Redirect URI
• Get YouTube API key: https://console.cloud.google.c...
• Get Google OAuth: https://console.cloud.google.c...
STEP 7: SETUP CRON JOB (Optional)
• For automatic video sync every 15 minutes:
*/15 * * * * php /full/path/to/cron/sync.php > /dev/null 2>&1
• On cPanel: Go to Cron Jobs → Add command above
• This will auto-import new YouTube videos based on your keywords
━━━━━━━━━━━━━━━━━━━━━━━━━
DONE! Your MakeYou platform is live.
━━━━━━━━━━━━━━━━━━━━━━━━━
TROUBLESHOOTING:
• 404 errors? Make sure mod_rewrite is enabled (a2enmod rewrite && service apache2 restart)
• Cannot upload? Check folder permissions (chmod 777)
• Emails not sending? Verify SMTP credentials in Admin → Settings
• Google login not working? Check redirect URI matches exactly in Google Console
Other items by this author
|
PHP Script Installation Service
Don't worry about the installation of your script! Have your PHP Script installed for you.
|
$39 | Buy now |
| Category | Scripts & Code / PHP Scripts / Multimedia / Video |
| First release | 3 July 2026 |
| Last update | 3 July 2026 |
| Software version | PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4 |
| Files included | .php, .css, .html, .sql, Javascript .js |
| Tags | admin panel, user management, video sharing script, php video script, mobile responsive, dark theme, tiktok clone, video upload, ad monetization, php mysql, social media script, google oauth, video sync, short video platform, video feed |








