V1: Classic Broadside V1: क्लासिक ब्रॉडसाइड
Traditional Hindi broadsheet layout with heritage columns, maroon headers, and serif typography. पारंपरिक हिंदी अख़बार शैली, मैरून हेडर और क्लासिक मल्टी-कॉलम ब्रॉडशीट लेआउट।
Curated native guides + 100+ instant world languages मूल द्विभाषी गाइड + 100+ वैश्विक भाषाओं में अनुवाद
1. Native Offline Editions (100% Verified) 1. मूल ऑफ़लाइन संस्करण (100% सटीक)
2. Quick Auto-Translate (Code blocks stay protected) 2. त्वरित ऑटो-अनुवाद (कोड ब्लॉक सुरक्षित रहेंगे)
3. Full 100+ Language Picker (Google Translate) 3. सभी 100+ भाषाएँ चुनें (Google Translate)
Everything needed to deploy, configure, customize, and monetize your Laravel 12 multi-theme newsroom portal—covering server setup, all 10 themes, AI auto-blogging, 23 ad placements, ePaper editions, REST APIs, and SEO automation. आपके Laravel 12 न्यूज़ पोर्टल की स्थापना, कॉन्फ़िगरेशन, सभी 10 थीम्स, AI ऑटो-ब्लॉगिंग, 23 विज्ञापन स्लॉट, ई-पेपर संस्करण, मोबाइल API और SEO स्वचालन की संपूर्ण जानकारी।
NexPress is an enterprise-grade digital news portal, multi-edition digital newspaper (ePaper), AI-powered editorial workspace, and multimedia video platform. Built with Laravel 12, it combines a reactive Inertia v2 + Vue 3 administration studio with a fast server-rendered Blade multi-theme frontend powered by cached read queries and WebP asset optimization.
NexPress एक उच्च-स्तरीय डिजिटल न्यूज़ पोर्टल, ई-पेपर संस्करण, AI-संचालित संपादकीय स्टूडियो और वीडियो पत्रकारिता सामग्री प्रबंधन प्रणाली है। यह Laravel 12 पर आधारित है और एडमिन के लिए आधुनिक Inertia v2 + Vue 3 तथा पाठकों के लिए अत्यंत तेज़ Blade + Tailwind CSS v4 थीम्स प्रदान करता है।
Backend Core
Laravel 12 / PHP 8.2+
Admin Panel
Inertia v2 + Vue 3
Public UI
10 Tailwind v4 Themes
Quality & Tests
Pest 3 + Larastan
app/
├── Console/Commands/ # WordPress importer, slug regenerator, sitemap ping, FB diagnose
├── Http/Controllers/ # Web, Admin (Inertia), & Mobile API v1 controllers
├── Providers/ThemeServiceProvider.php # Dynamic theme view resolver (v1..v10 + base)
└── Services/ # FrontendService, SeoService, AdService, PostSlugService, AI
config/
├── theme.php # Active THEME switcher & available 10-theme registry
└── ai.php # xAI (Grok), OpenAI, & Gemini SDK configuration
resources/
├── css/theme-v{1..10}.css # Individual Tailwind CSS v4 theme bundles
├── js/pages/admin/ # Vue 3 Admin Dashboard pages
└── views/themes/ # base/ partials + v1..v10 frontend templates
routes/
├── web.php # Public newsroom, ePaper, Shorts, Docs, Sitemaps, Forms
├── admin.php # Authenticated RBAC Admin Studio routes
└── api.php # Headless Mobile App REST API (/api/v1/*)
Ensure your hosting environment satisfies these requirements before installation:
इंस्टॉलेशन प्रारंभ करने से पहले सुनिश्चित करें कि आपका सर्वर इन आवश्यकताओं को पूरा करता है:
| Component घटक | Required Version / Modules आवश्यक संस्करण / मॉड्यूल | Purpose & Notes उपयोग व विवरण |
|---|---|---|
| PHP Runtime | 8.2, 8.3, 8.4, or 8.5 |
Required by composer.json (^8.2); OPcache recommended for production composer.json (^8.2) के अनुसार आवश्यक; उत्पादन हेतु OPcache अनुशंसित |
| Database Engine | MySQL 8.0+ / MariaDB 10.4+ / SQLite |
SQLite works for local preview; MySQL/MariaDB recommended in production लोकल टेस्टिंग हेतु SQLite; लाइव वेबसाइट हेतु MySQL/MariaDB अनुशंसित |
| PHP Extensions | bcmath, ctype, curl, dom, fileinfo, mbstring, openssl, pcre, pdo, xml, zip |
Standard Laravel 12 extensions enabled via cPanel PHP Selector or apt cPanel PHP Selector या सर्वर पैकेज मैनेजर से सक्रिय करें |
| Image Processing | GD Library with WebP support |
Powers automatic WebP conversion & caching at /media-webp/{path} /media-webp/{path} पर स्वचालित WebP रूपांतरण हेतु आवश्यक |
| Package Managers | Composer v2.5+ & Node.js 18+ / NPM |
Composer builds PHP autoload; Node compiles Tailwind CSS v4 & Vue 3 bundles PHP पैकेज हेतु Composer व एसेट्स बिल्ड हेतु Node.js आवश्यक |
| Web Server | Nginx, Apache (mod_rewrite), or LiteSpeed |
Document root must point directly to the /public directory डोमेन का Document Root सीधे /public फ़ोल्डर पर पॉइंट होना चाहिए |
Deploy locally or on a VPS in minutes using Composer and Vite:
Composer और Vite का उपयोग करके अपने लोकल कंप्यूटर या लाइव सर्वर पर पोर्टल स्थापित करें:
composer install --no-dev --optimize-autoloader
npm install
npm run build
cp .env.example .env
php artisan key:generate
# Important .env production settings:
APP_ENV=production
APP_DEBUG=false
APP_URL=https://yourdomain.com
THEME=v2
FILESYSTEM_DISK=public
QUEUE_CONNECTION=database
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_DATABASE=your_db
DB_USERNAME=your_user
DB_PASSWORD=strong_password
php artisan migrate --seed
php artisan storage:link
php artisan optimize
Seeded Super Admin Credentials & Security Notice सीडर द्वारा निर्मित डिफ़ॉल्ट एडमिन लॉगिन व सुरक्षा निर्देश
Running AdminUserSeeder (included in DatabaseSeeder) creates the initial Super Admin account:
Email [email protected] / Password nexpress@432!.
Log in at /login and immediately change both email and password under /settings/password, or customize database/seeders/AdminUserSeeder.php before seeding production.
php artisan migrate --seed चलाने पर प्रारंभिक Super Admin यूजर बनता है:
ईमेल [email protected] / पासवर्ड nexpress@432!।
कृपया /login पर लॉगिन करने के तुरंत बाद /settings/password से पासवर्ड बदल लें।
/public (never expose .env or root folders).gd, fileinfo, mbstring, pdo_mysql) in Select PHP Version.storage/ and bootstrap/cache/ have writable permissions (775 or 755).php /home/user/site/artisan schedule:run./public फ़ोल्डर पर सेट करें ताकि .env फ़ाइल सुरक्षित रहे।gd, fileinfo, mbstring, pdo_mysql एक्सटेंशन ऑन करें।storage/ व bootstrap/cache/ फ़ोल्डरों की परमिशन 775 सेट करें।artisan schedule:run चलाने हेतु cPanel Cron Job सेट करें।server {
listen 80;
server_name yourdomain.com www.yourdomain.com;
root /var/www/your-domain.com/public;
add_header X-Frame-Options "SAMEORIGIN";
add_header X-Content-Type-Options "nosniff";
client_max_body_size 64M;
index index.php;
charset utf-8;
location / {
try_files $uri $uri/ /index.php?$query_string;
}
location = /favicon.ico { access_log off; log_not_found off; }
location = /robots.txt { access_log off; log_not_found off; }
error_page 404 /index.php;
location ~ \.php$ {
fastcgi_pass unix:/var/run/php/php8.3-fpm.sock;
fastcgi_param SCRIPT_FILENAME $realpath_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_hide_header X-Powered-By;
}
location ~ /\.(?!well-known).* {
deny all;
}
}
[Unit]
Description=NexPress Queue Worker
After=network.target mysql.service
[Service]
Type=simple
User=www-data
Group=www-data
Restart=always
RestartSec=5
WorkingDirectory=/var/www/your-domain.com
ExecStart=/usr/bin/php /var/www/your-domain.com/artisan queue:work database --queue=default --sleep=3 --tries=3 --timeout=120 --max-time=3600
ExecReload=/usr/bin/php /var/www/your-domain.com/artisan queue:restart
KillSignal=SIGTERM
TimeoutStopSec=60
[Install]
WantedBy=multi-user.target
Ten complete frontend designs live in resources/views/themes/v1 through v10 and share base partials via ThemeServiceProvider. Switch the active theme anytime by setting THEME=vX in .env (defaults to v2 in config/theme.php) and clearing config cache:
इस पोर्टल में v1 से v10 तक 10 पूर्ण विकसित थीम्स शामिल हैं जो themes/base के साझा पार्शियल्स से जुड़ी हैं। थीम बदलने के लिए .env फ़ाइल में THEME=v10 (या v1..v10) सेट करें और कैश क्लियर करें:
Traditional Hindi broadsheet layout with heritage columns, maroon headers, and serif typography. पारंपरिक हिंदी अख़बार शैली, मैरून हेडर और क्लासिक मल्टी-कॉलम ब्रॉडशीट लेआउट।
Default newsroom design (config/theme.php fallback) with crisp white cards, crimson accents, and fast tickers. डिफ़ॉल्ट मॉडर्न कार्ड-आधारित डिज़ाइन, क्रिमसन एक्सेंट और लाइव ब्रेकिंग टिकर।
Deep indigo newsroom layout featuring generous whitespace, pull quotes, and distraction-free reading flow. गहरे इंडिगो पैलेट, पर्याप्त व्हाइटस्पेस और गहन पठन के लिए संपादकीय लेआउट।
Warm paper texture, terracotta accents, multi-tab lead showcase, homepage quote box, and columnist cards. वार्म पेपर टेक्सचर, टैब्ड लीड शोकेस, कोट बॉक्स और स्तंभकार कार्ड्स वाला मैगज़ीन लुक।
SaaS-inspired card grid with elevated shadows, pill badges, indigo chips, and structured sidebars. एलिवेटेड शैडो कार्ड्स, आधुनिक पिल बैज और स्पष्ट साइडबार वाला डिजिटल पोर्टल।
Dark-mode first night canvas (#0c1017) with glowing amber highlights tailored for late-evening readers. रात के पाठकों के लिए डार्क-मोड प्रथम (#0c1017) डिज़ाइन और चमकदार एम्बर हाइलाइट्स।
Geometric dark slate UI with electric cyan borders, monospace timestamps, and structured news dispatches. इलेक्ट्रिक सियान बॉर्डर, मोनोस्पेस मेटाडेटा और तकनीकी समाचार केंद्रित डार्क थीम।
Warm sand backdrop, soft rounded-3xl blocks, serif headlines, and prominent author commentary sections. सौम्य सैंड बैकग्राउंड, गोल कॉर्नर वाले कार्ड्स और स्तंभकारों को उभारने वाला डिज़ाइन।
Video-first television dark canvas highlighting multimedia reels, red LIVE indicators, and broadcast carousels. वीडियो और टीवी प्रसारण-केंद्रित डार्क थीम, रेड लाइव बैज व मल्टीमीडिया प्राथमिकता।
High-contrast 4px solid ink borders, electric yellow (#FACC15) surfaces, hard offset shadows, and bold uppercase type. 4px ठोस काले बॉर्डर, इलेक्ट्रिक येलो (#FACC15) एक्सेंट, हार्ड शैडो व विशाल हेडलाइंस।
# In .env:
THEME=v10
# Refresh config & compiled views:
php artisan optimize:clear
Each theme loads a dedicated entry file resources/css/theme-v{1..10}.css compiled in vite.config.ts. Adjust @theme variables (fonts, ink, paper surfaces, accent colors) and run npm run build.
प्रत्येक थीम की CSS फ़ाइल resources/css/theme-v{1..10}.css में है। @theme टोकन बदलकर npm run build चलाएं।
Arrange navigation in /admin/menus (supports nested dropdown children). Homepage sections render all 5 layouts: grid, hero, list, compact, and sub_category_grid, plus Quote Box (/admin/settings?tab=homepage) and Branded Share Image watermark settings (tab=share).
/admin/menus से नेविगेशन और ड्रॉपडाउन मेनू सेट करें। होमपेज सभी 5 लेआउट (grid, hero, list, compact, sub_category_grid), होमपेज कोट बॉक्स और ब्रांड शेयर इमेज का समर्थन करता है।
PostSlugService (Google Translate + AI fallback) and posts:regenerate-slugs CLI command./admin/posts/{post}/live-updates, plus highlight badges and highlighted_title.custom_css and custom_js injected via page-head-assets./authors and individual reporter profiles at /author/{user} showing bio, title, avatar fallback, and published counts.PostSlugService देवनागरी शीर्षकों से स्वतः साफ़ अंग्रेज़ी URL बनाता है।/authors और /author/{user} पर पत्रकारों की बायो व प्रकाशित खबरें।/admin/breaking-news with active toggles, target URLs, and priority sort ordering.breaking-news.speed (clamped cleanly from 8s fast to 90s slow).v1 through v10 brutalist yellow-and-ink pill) inside themes/base/partials/breaking-ticker.blade.php./admin/breaking-news से सक्रिय/निष्क्रिय टॉगल, कस्टम लिंक व प्राथमिकता क्रम निर्धारित करें।/epaper and interactive issue reader at /epaper/{epaper:slug}./admin/epapers, and homepage edition carousel integration./epaper पर दिनांक-वार अंक आर्काइव तथा /epaper/{slug} पर इंटरैक्टिव ई-पेपर व्यूअर।/videos) & Detail (/videos/{slug}): Supports YouTube embeds, auto-fetched video metadata (/admin/videos/fetch-metadata), Vimeo, and MP4 streams./videos/shorts): Mobile-first fullscreen vertical swipe player styled via .shorts-container and scroll-snap-type: y mandatory./media-webp/{path}): Transparently converts PNG/JPG images to cached WebP (quality 80, 1-year HTTP cache headers) via PHP GD to boost Core Web Vitals./videos): YouTube मेटाडेटा ऑटो-फ़ेच, Vimeo एवं MP4 वीडियो प्लेबैक सपोर्ट।/videos/shorts): मोबाइल पर फुलस्क्रीन रील्स/शॉर्ट्स जैसा स्वाइप प्लेयर।/media-webp/{path}): JPEG/PNG चित्रों को तीव्र लोडिंग व बेहतर PageSpeed हेतु कैश्ड WebP में रूपांतरित करता है।/admin/form-groups and /admin/forms; publish publicly at /forms/{slug} ("Submit News" button in the header)./forms/{slug}/captcha) and submission throttling (5 req/min)./admin/form-entries: download attached files, mark Verify/Reject/Spam, add editorial notes, or click Convert to Post (form-entries.convert)./admin/forms से कस्टम फ़ॉर्म बनाएं और /forms/{slug} पर लाइव प्रकाशित करें।/forms/{slug}/captcha) व थ्रॉटल सुरक्षा।/admin/form-entries से प्राप्त प्रविष्टियों को सत्यापित करें, फ़ाइल डाउनलोड करें अथवा एक क्लिक में सीधे समाचार लेख (Post) में बदलें।
Powered by the official laravel/ai SDK with multi-provider support configured in config/ai.php (xAI Grok with optional web search, OpenAI, and Google Gemini):
आधिकारिक laravel/ai SDK द्वारा संचालित बहु-प्रदाता प्रणाली (xAI Grok वेब सर्च सहित, OpenAI और Google Gemini):
/admin/ai/*)
एडिटर AI सहायक टूल्स
Inside the article editor, reporters can trigger AI draft generation, headline brainstorming (ai.title), excerpt summaries (ai.excerpt), SEO metadata (ai.seo), and prose polishing (ai.improve).
लेख लिखते समय पत्रकार सीधे AI ड्राफ्ट, शीर्षक सुझाव, सारांश, SEO मेटा और भाषा सुधार का उपयोग कर सकते हैं।
/admin/ai-schedules)
स्वचालित AI शेड्यूल व लॉग्स
Create recurring AI topic beats, test connections (/admin/ai-settings), trigger manual Run Now jobs, and audit full run logs in /admin/ai-history. Dispatched every minute via ai-blog:schedules-dispatch.
/admin/ai-schedules से आवर्ती विषय सेट करें, API कनेक्शन जांचें और /admin/ai-history में जेनरेशन इतिहास देखें।
AI_SDK_DEFAULT_PROVIDER=xai
AI_DEFAULT_PROVIDER=grok
AI_CONTENT_TEMPERATURE=0.4
AI_GROK_WEB_SEARCH_DEFAULT=false
XAI_API_KEY=
XAI_MODEL=grok-4.3
OPENAI_API_KEY=
OPENAI_MODEL=gpt-5.4-mini
GEMINI_API_KEY=
GEMINI_MODEL=gemini-2.0-flash-lite
Manage HTML/AdSense scripts or direct image banners in /admin/ads and map them to the 23 canonical placements seeded by AdPlacementSeeder:
/admin/ads से Google AdSense कोड या इमेज बैनर जोड़ें और नीचे दिए गए 23 मानक स्थानों पर प्रदर्शित करें:
| Placement Slug स्लग (Slug) | Display Name नाम | Location & Behavior स्थान एवं व्यवहार |
|---|---|---|
header-desktop |
Header Desktop | Desktop header leaderboard (728x90 / 970x90) डेस्कटॉप हेडर बैनर (728x90 / 970x90) |
header-mobile |
Header Mobile | Mobile header banner slot (320x100 / 320x50) मोबाइल हेडर विज्ञापन स्लॉट (320x100) |
header-banner |
Header Banner | Generic top-of-page fallback banner across themes सभी थीम्स में शीर्ष सामान्य बैनर फ़ॉलबैक |
sidebar-top |
Sidebar Top | Upper widget region in main sidebar (300x250) साइडबार का सबसे ऊपरी बॉक्स (300x250) |
sidebar-mid |
Sidebar Mid | Middle widget region between trending & categories साइडबार में ट्रेंडिंग और श्रेणियों के बीच का स्लॉट |
sidebar-bottom |
Sidebar Bottom | Lower sticky sidebar slot (300x600 / 300x250) साइडबार के निचले हिस्से का स्लॉट (300x600) |
sidebar-desktop |
Sidebar Desktop | Legacy desktop sidebar fallback alias डेस्कटॉप साइडबार फ़ॉलबैक एलियस |
before-title |
Before Title | Renders immediately above article or page H1 लेख के मुख्य शीर्षक (H1) के ठीक ऊपर |
after-title |
After Title | Directly beneath article headline & metadata लेख के शीर्षक व मेटाडेटा के ठीक नीचे |
after-featured-image |
After Featured Image | Positioned between lead photo and body paragraphs मुख्य फ़ीचर्ड फोटो और सामग्री के बीच |
post-1st-p |
Post 1st Paragraph | Auto-injected inside body after paragraph #1 लेख के पहले पैराग्राफ के ठीक बाद स्वतः |
post-2nd-p |
Post 2nd Paragraph | Auto-injected inside body after paragraph #2 लेख के दूसरे पैराग्राफ के ठीक बाद स्वतः |
post-3rd-p |
Post 3rd Paragraph | Auto-injected inside body after paragraph #3 लेख के तीसरे पैराग्राफ के ठीक बाद स्वतः |
in-article |
In Article | Mid-article & repeating inline desktop unit लेख के मध्य में बार-बार दिखने वाला इनलाइन विज्ञापन |
between-content-mobile |
Between Content Mobile | Responsive mobile-only mid-article slot मोबाइल पाठकों हेतु लेख के बीच का स्लॉट |
after-content |
After Content | Immediately after article body & before author box लेख समाप्त होने के तुरंत बाद व लेखक बॉक्स से पहले |
home-after-trending |
Home After Trending | Homepage strip directly below trending stories होमपेज पर ट्रेंडिंग खंड के नीचे |
home-mid-content |
Home Mid Content | Homepage unit between category sections & videos होमपेज पर श्रेणी खंडों व वीडियो के मध्य |
category-top |
Category Top | Archive masthead leaderboard above category grid श्रेणी आर्काइव पेज के शीर्ष ग्रिड से ऊपर |
category-inline |
Category Inline | Injected inside category grids every 4–6 articles श्रेणी ग्रिड में प्रत्येक 4-6 खबरों के बाद |
footer-banner |
Footer Banner | Full-width pre-footer strip across layout फ़ुटर से ठीक ऊपर चौड़ा बैनर पट्टा |
footer |
Footer | Centered 728x90 unit above site footer वेबसाइट फ़ुटर के ऊपर केंद्रीकृत 728x90 विज्ञापन |
sticky-footer-mobile |
Sticky Footer Mobile | Pinned bottom anchor unit on small screens (320x50) मोबाइल स्क्रीन के निचले किनारे पर स्थिर (Sticky) पट्टी |
/sitemap.xml, chunked article feeds at /sitemap_v{1..10}.xml, CMS pages at /sitemap_pages.xml, customizable /robots.txt, IndexNow key verification at /indexnow-key.txt, and AI citation manifesto at /llms.txt.NewsArticle, WebSite, and BreadcrumbList schemas via SeoService.FACEBOOK_PAGE_ID, FACEBOOK_PAGE_ACCESS_TOKEN, and custom message template ({title}, {excerpt}, {url}) in /admin/settings?tab=social, then validate live with php artisan facebook:diagnose --probe./sitemap.xml, विभाजित पोस्ट फ़ीड /sitemap_v1.xml.. v10.xml, पेज साइटमैप /sitemap_pages.xml, /robots.txt, /indexnow-key.txt एवं AI क्रॉलर /llms.txt।NewsArticle स्कीमा।facebook:diagnose --probe से जांचें।/api/analytics/ad-impression, /ad-click, and /post-engagement feed real-time tabs under /admin/dashboard/{overview|posts|ads|reports} plus CSV export at /admin/analytics/export./admin/settings?tab=analytics): Paste Google Analytics 4 (G-...), Google Tag Manager (GTM-...), Meta Pixel ID, and custom <head> / <body> verification scripts./admin/analytics/export)।/admin/settings?tab=analytics से GA4, GTM, Facebook Pixel और कस्टम स्क्रिप्ट्स जोड़ें।Built-in Flutter / React Native / Android / iOS API routes in routes/api.php with Sanctum OTP authentication, push notifications (/admin/notifications), mobile analytics (/admin/mobile-analytics), and offline PWA shell (public/offline.html, public/service-worker.ts):
एंड्रॉइड/iOS मोबाइल ऐप से जोड़ने हेतु तैयार Sanctum OTP-सुरक्षित REST API एंडपॉइंट्स एवं PWA ऑफ़लाइन सपोर्ट:
| Method | Endpoint Path | Auth | Description |
|---|---|---|---|
| GET | /api/v1/home |
Public | Returns home feed payload (hero, trending, sections, videos, epapers) होमपेज फ़ीड डेटा (हीरो, ट्रेंडिंग, वीडियो, ई-पेपर) |
| GET | /api/v1/settings |
Public | Fetches mobile app config, branding logos, and social links मोबाइल ऐप सेटिंग्स, लोगो और सोशल लिंक |
| GET | /api/v1/posts |
Public | Paginated articles list; /breaking, /trending, /{slug}, /{slug}/related ताज़ा लेख सूची, ब्रेकिंग, ट्रेंडिंग व संबंधित समाचार |
| GET | /api/v1/categories |
Public | Category list, /menu navigation tree, and /{slug}/posts feed श्रेणियाँ, मोबाइल मेनू एवं श्रेणी-वार समाचार |
| GET | /api/v1/videos |
Public | Standard videos, /videos/shorts feed, /{video}, and /{video}/share वीडियो सूची, शॉर्ट्स फ़ीड और शेयर काउंट |
| GET | /api/v1/epapers |
Public | Digital ePaper editions list and /{slug} issue pages ई-पेपर संस्करण सूची व अंक के पृष्ठ |
| GET | /api/v1/ads/{placement} |
Public | Resolves active ad creative for mobile placement slots मोबाइल ऐप प्लेसमेंट स्लॉट हेतु सक्रिय विज्ञापन |
| POST | /api/v1/devices/register |
Public | Registers FCM/APNs push notification token for app devices पुश नोटिफ़िकेशन हेतु डिवाइस टोकन पंजीकृत करता है |
| POST | /api/v1/analytics/track |
Public | Accepts mobile impressions, ad-click, mobile-read, & notification-click events मोबाइल व्यू, विज्ञापन क्लिक व नोटिफ़िकेशन ट्रैकिंग |
| POST | /api/v1/auth/send-otp |
Public | Passwordless OTP login + /verify-otp returning Sanctum API bearer token OTP आधारित लॉगिन व Sanctum टोकन जनरेशन |
| GET | /api/v1/bookmarks |
Sanctum | Authenticated user saved articles, /posts/{id}/bookmark, and /like toggles लॉगिन यूजर के बुकमार्क, पोस्ट व वीडियो लाइक एक्शन |
Super Admin, Admin, Editor, Author) editable under /admin/roles and /admin/permissions./settings/two-factor./admin/system): Protected by role:super-admin middleware; lets Super Admins clear Laravel App Cache, PHP OPcache, Nginx FastCGI Cache, and trigger safe Nginx reload directly from the UI.Super Admin, Admin, Editor, Author) जिन्हें /admin/roles से बदला जा सकता है।/settings/two-factor से अतिरिक्त खाता सुरक्षा।/admin/system): App कैश, PHP OPcache और Nginx कैश साफ़ करने के वन-क्लिक टूल।* * * * * cd /var/www/your-domain.com && php artisan schedule:run >> /dev/null 2>&1
| Command | Cadence | Purpose |
|---|---|---|
php artisan import:wordpress {url} --limit=100 --months=3 |
Manual | Imports posts, categories, tags, & featured images from WordPress WP-JSON API WordPress REST API से पुराने लेख, श्रेणियां और फोटो इम्पोर्ट करता है |
php artisan posts:regenerate-slugs --limit=500 --chunk=50 |
Manual | Translates Devanagari headlines to clean English SEO URL slugs (add --force for all) हिंदी शीर्षकों के लिए साफ़ अंग्रेज़ी SEO URL स्लग्स पुनः जनरेट करता है |
php artisan facebook:diagnose {postId?} --probe |
Manual | Verifies Facebook Graph API token, page ID, queue health, & tests live post publish फेसबुक ऑटो-पब्लिश कॉन्फ़िगरेशन, टोकन और क्यू स्थिति की जांच करता है |
php artisan sitemap:ping --url={optionalUrl} |
Daily | Dispatches sitemap & URL notifications to Google, Bing, and IndexNow partners Google, Bing व IndexNow को साइटमैप पिंग सबमिट करता है |
php artisan analytics:aggregate-daily --today |
Hourly | Aggregates raw view, session, and ad logs into daily stats (--all or --date=...) डैशबोर्ड तेज़ बनाने हेतु दैनिक एनालिटिक्स आँकड़ों को संकलित करता है |
php artisan analytics:prune-raw --hours=72 |
Hourly | Prunes raw high-volume analytics rows older than 72 hours after aggregation डेटाबेस हल्का रखने के लिए 72 घंटे से पुराने कच्चे एनालिटिक्स लॉग हटाता है |
php artisan ai-blog:schedules-dispatch |
Every Min | Checks active AI auto-blog schedules and queues article generation jobs सक्रिय AI ब्लॉग शेड्यूल जाँच कर स्वचालित लेख निर्माण जॉब्स चलाता है |
Run "php artisan storage:link" from project root so public/storage points to storage/app/public. Also ensure FILESYSTEM_DISK=public or local URL paths resolve cleanly, and verify storage/ directory permissions are 775/755.
प्रोजेक्ट रूट में "php artisan storage:link" चलाएं ताकि public/storage लिंक बन सके। सुनिश्चित करें कि storage/ और bootstrap/cache/ फ़ोल्डर में 775 या 755 राइट परमिशन हो।
Open your .env file and update THEME=v10 (or any value from v1 to v10). Immediately run "php artisan optimize:clear" so Laravel clears any cached config and compiled Blade views.
अपनी .env फ़ाइल में THEME=v10 (या v1 से v10 के बीच कोई भी थीम) सेट करें। इसके तुरंत बाद "php artisan optimize:clear" कमांड चलाएं ताकि कॉन्फ़िग और व्यू कैश रिफ्रेश हो जाए।
Run "npm install && npm run build" to compile production CSS/JS assets (including theme-v1.css through theme-v10.css, web.css, app.ts, and frontend.ts) into public/build/manifest.json.
पब्लिक बिल्ड एसेट्स (theme-v1 से theme-v10, web.css व Admin Vue बंडल) तैयार करने के लिए टर्मिनल में "npm install && npm run build" चलाएं।
DatabaseSeeder runs AdminUserSeeder which creates the initial Super Admin user. Log in and immediately change the password in Profile/Password Settings (/settings/password), or update AdminUserSeeder before seeding on production.
पहली बार लॉगिन के तुरंत बाद /settings/password पर जाकर पासवर्ड बदलें या एडमिन पैनल > Users से नया Super Admin अकाउंट बनाकर पुराना हटा दें।
Both rely on Laravel Scheduler and Background Queues. Ensure cron executes "* * * * * cd /path/to/app && php artisan schedule:run" every minute, keep a queue worker running via systemd/Supervisor, and run "php artisan facebook:diagnose --probe" to verify Page tokens.
सुनिश्चित करें कि सर्वर क्रॉन हर मिनट "php artisan schedule:run" चला रहा है और बैकग्राउंड क्यू वर्कर (systemd/Supervisor) सक्रिय है। जांच हेतु "php artisan facebook:diagnose --probe" चलाएं।
Place your ads.txt file directly inside the public/ directory (e.g. public/ads.txt) so it serves cleanly at https://yourdomain.com/ads.txt alongside robots.txt.
अपनी ads.txt फ़ाइल को सीधे public/ डायरेक्टरी के अंदर रखें ताकि वह https://yourdomain.com/ads.txt पर उपलब्ध हो सके।