Quotes Website PHP Script by ChiDev

Description
โจ Highlights
- ๐จ Clean, modern design with light & dark mode
- ๐ฑ Fully responsive, with a native-style mobile menu
- ๐ Built-in search, sitemap, RSS feed, and Open Graph cards for SEO
- ๐ Multi-language quote support, including right-to-left Arabic
- ๐ฐ A complete advertising system โ no plugin required
- ๐ฅ Multi-admin accounts with granular, per-section permissions
- ๐ก๏ธ Rate limiting, brute-force protection, and CSRF protection built in
- ๐ A real analytics dashboard โ not just a hit counter
- ๐งฉ One-click CSV import and a duplicate-quote detector for large datasets
Features
๐ฅ๏ธ Public Site Features
๐ Browsing & Discovery
- Homepage feed of the latest quotes, paginated
- Quote of the Day โ the same quote for every visitor, all day, cached automatically
- Browse by Topic (category) with instant-as-you-type filtering
- Browse by Author, AโZ, with instant filtering, plus optional author photo & bio
- Related quotes shown on every quote page (same author, then same category)
- Full-text search across quotes and authors
- Multi-language quotes with a language badge, an automatic sidebar language switcher, and right-to-left rendering with a dedicated Arabic typeface
โค๏ธ Engagement
- Favorites โ save any quote with one tap, no account required (stored on-device)
- Copy, share (native share sheet or clipboard), and download-as-image on every quote
- Auto-generated 1200ร630 share images for social media, generated on the fly
- Keyboard shortcuts on quote pages (โ for another quote, C to copy, S to share)
- Newsletter subscribe box in the sidebar, with position you control
- Submit a Quote โ visitors can propose quotes, held in a moderation queue until approved
- Contact Us form with a built-in math CAPTCHA โ no external service required
๐งญ Navigation & Layout
- Sidebar widgets: Random Quote (live-refreshing), Top Topics, Top Authors (with live search), Subscribe, Languages, Pages, and Links
- Fully responsive mobile header โ hamburger menu, search, and dark-mode toggle, properly spaced and centered
- Dark mode toggle, remembered across visits
- "Back to top" button on long pages
- Custom, on-brand 404 and 500 error pages
- Optional cookie consent banner and site-wide announcement bar, both admin-controlled
- Maintenance mode with a custom message โ admins can still browse while it's on
๐ Growth & Integrations
- RSS/Atom feed of the latest quotes
- Embeddable widget โ generate a
widgetsnippet so other websites can display a live rotating quote from yours, with a category and light/dark theme option - Chunked XML sitemap (handles 60,000+ quotes without hitting search-engine limits)
- Open Graph & Twitter Card meta tags on every page, with the auto-generated quote image
- Custom tracking code field (Google Analytics, Plausible, etc.) โ no file editing needed
๐ ๏ธ Admin Panel Features
๐ Content Management
- Full CRUD for Quotes, Authors, and Categories
- Bulk actions on quotes โ multi-select delete, or move a batch into a different category in one click
- CSV bulk import โ upload a spreadsheet instead of using the command line
- Duplicate-quote detector โ scans your entire library and groups near-identical quotes so you can clean up a large scraped dataset fast
- Author bio & photo fields
- Manually managed language list โ add only the languages you actually use
- Static Pages editor (Privacy Policy, Terms, etc.) with a choice to show each page in the sidebar, the footer, or both
๐ฐ Monetization
- Advertising control panel โ three ad placements (header banner, sidebar, in-feed), each with an on/off switch and a plain code box for any ad network snippet
- Empty or disabled slots render nothing โ no ugly placeholder boxes for visitors
๐ฅ People & Access
- Multi-admin accounts with a super admin role and per-section permissions (Quotes, Categories, Authors, Submissions, Advertising, Pages, Links, Settings, Analytics)
- Every admin can change their own password
- Login brute-force protection โ automatic lockout after repeated failed attempts
- Newsletter subscriber list, with CSV export
- Contact message inbox and a quote submission moderation queue, each with unread/pending counts
- Notification center โ a bell icon consolidating everything that needs attention
- Admin activity log โ a full audit trail of who did what and when (super admin only)
๐ Insights
- Dashboard with at-a-glance totals
- Dedicated Analytics page: total views, average views per quote, never-viewed counts, and top-20 most-viewed quotes/authors/categories with a visual bar breakdown
โ๏ธ Configuration
- Settings page covering: homepage quotes-per-page, in-feed & sidebar ad frequency, sidebar widget sizes, subscribe-widget placement, cookie banner, maintenance mode, site announcement, tracking code, and where the Submit/Contact/Widget links appear (header, footer, both, or hidden)
- Everything is a checkbox or dropdown โ no code editing required for day-to-day changes
๐ Security, Built In
- Prepared statements (PDO) everywhere โ no raw SQL string building
- CSRF tokens on every form, admin and public
- Bcrypt password hashing for admin accounts
- Rate limiting on all public forms (submit, contact, subscribe) and on admin login
- Honeypot spam traps on public forms
- Config file protected from direct web access
Requirements
โ๏ธ Technical Requirements
PHP 8.0 or higher Database MySQL 5.7+ or MariaDB 10.2+ Required PHP extensions (database), ย (share-image generation) Web server Apache with (or equivalent on Nginx/LiteSpeed) Disk space Minimal โ the script itself is only a few MB; database size depends on your quote count Dependencies None. No Composer, no Node build step, no external services required to run
Instructions
๐ฆ Installation
1. Upload the files
Upload the entire script folder to your web host (via FTP, your hosting
file manager, or by extracting a zip directly on the server) โ typically
into public_html or your domain's document root.
2. Create a database
In your hosting control panel (cPanel, Plesk, etc.), create a new MySQL
database and a database user with full privileges on it. Note down the
database name, username, password, and host (usually localhost).
3. Configure the connection
Open config.php in the script's root folder and fill in your details:
php
'host' => 'localhost', 'name' => 'your_database_name', 'user' => 'your_database_user', 'pass' => 'your_database_password', 'site_url' => 'https://www.yourdomain.com', 'site_name' => 'Your Site Name',
4. Run the install wizard
Visit https://yourdomain.com/install... in your browser. It will:
- Check your PHP version, required extensions, and database connection
- Create all necessary database tables
- Walk you through creating your first admin account (automatically a super admin with full access)
- see the Documentation folder included with the script
| Author | ChiDev |
|---|---|
| Category | Scripts & Code / PHP Scripts / Miscellaneous |
| Price | $30 |
| Extended License | $90 |
| Rating | 4.20 from 16 ratings |
| Reviews | 16 |
| Likes | 28 |
| First Release | Mar 4, 2020 |
| Last Update | Sep 23, 2026 |
| Database | MySQL 5.7, MySQL 8.0, MySQL 8.4 LTS, MySQL 9.x, MariaDB 10.x |
| Files included | .php, .css, .html, .sql, JavaScript .js |
| Software version | PHP 8.0, PHP 8.1, PHP 8.2, PHP 8.3, PHP 8.4, PHP 8.5 |
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.