Orbyt Social Network

Install and run Orbyt: a full social network with feed, stories, reels, chat, groups, Meet dating, monetisation and a Flutter mobile app.

Laravel · PHP 8.3About 20 minutes to install43 min read
01

Start here#

A complete, ready-to-launch social network on Laravel: photo, video and text feeds, stories, Reels, live streaming, messages with voice notes, communities, pages, a forum, articles, creator earnings (tips, subscriptions, paid posts), verification badges, ads and a full admin panel. Five app layouts (Photo, Network, Text, Creator Club and Meet) that the site owner switches in one setting. New in 1.2: a ready-made Android and iPhone app (source code included) with native log in and sign up, your own AdMob ads, and a full guide to customise and publish it. Three homepage designs, shareable profile links, phone confirmation with text-message sign-in, an ID check before payouts, and eight payment gateways.

Need it customised, or want help launching? We offer paid customisation and priority support: [email protected].

I want toRead
Install on my serverdocs/INSTALL.md
Build, brand and publish the mobile appdocs/MOBILE_APP.md
Set up payments, mail, storage, ads, livedocs/CONFIGURATION.md and docs/PROVIDERS.md
Earn money from the platformdocs/MONETIZATION.md
Change the brand, colours and pagesdocs/CUSTOMIZATION.md
Fix a problemdocs/TROUBLESHOOTING.md
Back up and upgradedocs/UPGRADE.md
Build an app on the APIdocs/API.md
Review securitydocs/SECURITY.md
See what is verified and what to test with your own keysdocs/VERIFIED.md

Requirements

PHP 8.3 or newer with the extensions pdo, mbstring, openssl, gd, fileinfo, zip, curl, xml and json. SQLite (default), MySQL 8 or MariaDB 10.6, or PostgreSQL. A web server (nginx or Apache) pointing at the public folder. A cron job for the scheduler. HTTPS on a live site. FFmpeg is optional.

What is inside

  • Feed and profiles: follow, private accounts, photos (up to 10), video, polls-free posts, comments, reposts, saves, hashtags, mentions, trending, search.
  • Stories, Reels and Live: 24 hour stories, vertical Reels, built-in live streaming with chat, hearts and tips (no outside service needed; LiveKit optional for huge audiences).
  • Messages: one to one and groups, message requests, photos, voice notes, reactions, replies, typing, read receipts, emojis and sticker packs, encrypted at rest.
  • Community: public, private and hidden communities with roles, rules, events, post approval and pinned posts. Pages for brands and creators. A forum with categories, votes and accepted answers. Long-form articles.
  • Money: tips, fan subscriptions, paid and subscriber-only posts, wallet, payouts, commission, refunds, a double-entry ledger. Stripe, PayPal, Paystack and Flutterwave.
  • Verification: badges need an ID check and a fee.
  • Ads: advertiser accounts, campaigns, ad sets, targeting, conversion tracking, video ads, ad review, and slots for Google AdSense, Ad Manager, Ezoic, Media.net, Adsterra, PropellerAds, Taboola, Outbrain, Amazon or any custom tag. Slots rotate between networks and your own advertisers.
  • Business accounts: any member can switch to a business account with contact details, an action button and insights.
  • Safety: reports, a moderation desk, automatic filters, strikes, appeals, copyright takedowns, a public transparency page, sensitive content controls.
  • Admin panel: dashboard, members and staff permissions, content, finance, ads, verification, emails, pages, settings for every provider, backups, health, logs and queue.
  • Security: two-step sign-in (required for staff), CSP, rate limits, audit log, encrypted secrets and documents, data export and account deletion.
  • Installable app (PWA): works on phones from the browser. Native iOS and Android apps are planned for the next upgrade.

No licence server, no phone-home.

02

. Upload#

Upload and unzip the package on your server. The web root of your domain must be the public folder. Nothing else should be reachable from the web.

On shared hosting (cPanel): put everything in a folder above public_html, then copy the contents of public into public_html and edit public_html/index.php so the two paths point to the folder you made (../orbyt/vendor/autoload.php and ../orbyt/bootstrap/app.php).

. Permissions

The web server user must be able to write to storage and bootstrap/cache, and to database if you use SQLite.

BASH
chmod -R ug+rwX storage bootstrap/cache database

. Run the installer

Open https://your-domain.com/install in the browser. It checks your server, asks for the site name, the app layout (Photo, Network, Text, Creator Club or Meet), the database and the first admin account, creates the tables and locks itself. Members never see a layout switcher: only the admin can change the layout, later, in Admin > Settings. If you prefer the command line:

BASH
cp .env.example .env
php artisan key:generate
php artisan migrate --force
php artisan orbyt:admin

. Cron job

The scheduler sends daily emails, renews subscriptions, removes expired stories, makes backups and keeps the system healthy. Add one cron line:

BASH
* * * * * cd /path/to/orbyt && php artisan schedule:run >> /dev/null 2>&1

The Admin > System page shows whether the scheduler is running.

. Queue (recommended on busy sites)

BASH
php artisan queue:work --tries=3 --max-time=3600

Run it under Supervisor or systemd so it restarts by itself.

. Turn on two-step sign-in

Sign in as the admin, open Settings > Security and turn on two-step sign-in. The admin area asks for it on a live site.

. Go live checklist

  • APP_ENV=production, APP_DEBUG=false, APP_URL=https://your-domain.com
  • ORBYT_DEMO is off (or missing)
  • HTTPS works, mail is set up (Admin > Settings > Mail), and you sent yourself a test email
  • Payment gateway keys are added and a test payment worked (Admin > Settings > Payments)
  • Admin > System shows no red items
  • You read SECURITY.md

nginx example

BASH
server {
    server_name your-domain.com;
    root /var/www/orbyt/public;
    index index.php;
    client_max_body_size 110M;
    location / { try_files $uri $uri/ /index.php?$query_string; }
    location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php8.3-fpm.sock; }
    location ~ /\.(?!well-known) { deny all; }
}

Set upload_max_filesize and post_max_size to at least 110M in php.ini if you want 100 MB videos.

03

. What you need#

Your purchase includes the source code of a ready-made mobile app for your Orbyt site. People open the app, log in or sign up on native screens, and land straight in your dashboard with every menu: feed, Reels, Live, messages, communities, forum, articles, wallet and more. It always shows the layout you chose for your site (Photo, Network or Text). When you change anything on your website, the app shows the change at once with no new version to publish.

The app is in the folder Mobile-App of your download. The Android version is built and tested. The iPhone project is included and set up, but it has to be built on a Mac (see "Publish on the App Store").

ForYou need
EverythingYour Orbyt website online over https
BuildingA Windows, Mac or Linux computer with Flutter (3.41 or newer) and Android Studio (for the Android tools)
Google PlayA Google Play Console account (one-time fee, set by Google)
App StoreA Mac with Xcode, and an Apple Developer account (yearly fee, set by Apple)
Ads (optional)A free Google AdMob account

Check your setup with flutter doctor. Fix anything marked with a red cross for Android.

. First run in five minutes

  • Open a terminal in the Mobile-App folder.
  • flutter pub get
  • Plug in an Android phone (turn on USB debugging) or start an Android emulator.
  • Run it against your own site:
BASH
flutter run --dart-define=ORBYT_URL=https://your-site.com --dart-define=ORBYT_NAME=YourName

You should see the splash screen, the log in screen, and after logging in your own dashboard.

. Make it yours

Everything a buyer needs to change is in one file, lib/config.dart. The other files never need to be touched.

SettingWhat it does
baseUrlThe address of your Orbyt site, with no slash at the end. If Orbyt lives in a folder, include it (https://example.com/community).
appNameThe name on the splash and log in screens.
taglineThe line under the name on the splash screen.
splashFooterA small line at the bottom of the splash. Leave empty to hide it.
accentColour of buttons and links.
gradientThe three colours of the Sign up button and splash glow.
background, card, line, mutedScreen, card, border and soft text colours.
adsEnabledfalse removes the ad banner.
admobBannerIdYour AdMob banner unit id.

You can also set any of these when building, without editing the file, for example --dart-define=ORBYT_URL=https://your-site.com.

The dashboard itself takes its look from your website, so brand colours, logo, homepage and layout are changed in your Orbyt admin settings, not in the app.

Logo, icon and name under the icon

  • Logo on the splash and log in screens: replace assets/logo.png (square, 512 by 512 pixels or larger).
  • App icon on the phone (Android): replace ic_launcher.png in each folder android/app/src/main/res/mipmap-mdpi (48 pixels), -hdpi (72), -xhdpi (96), -xxhdpi (144) and -xxxhdpi (192).
  • App icon (iPhone): replace the pictures in ios/Runner/Assets.xcassets/AppIcon.appiconset (or open the project in Xcode and drop in a 1024 pixel icon).
  • Name under the icon: android/app/src/main/res/values/strings.xml (Android) and CFBundleDisplayName in ios/Runner/Info.plist (iPhone).
  • Tip: the Flutter package flutter_launcher_icons makes every icon size from one picture.

Your own app id

The app id (package name) is unique to your app and is what the stores use. The default is com.biply.orbyt_app. Change it to your own, for example com.yourcompany.social:

  • android/app/build.gradle.kts: change namespace and applicationId.
  • Move android/app/src/main/kotlin/com/biply/orbyt_app/MainActivity.kt into folders that match your new id and change its first line (package ...) to match.
  • iPhone: open ios/Runner.xcworkspace in Xcode, select Runner, and set the Bundle Identifier.

. Earn with ads (AdMob)

The app shows one small banner under the dashboard. It is switched on by default with Google's test ad, so you can try it safely.

  • In AdMob, add an Android app and create a Banner ad unit. Do the same for iPhone if you publish there.
  • Put your app id (it looks like ca-app-pub-1234567890123456~1234567890) in android/gradle.properties, on the line admobAppId=. For iPhone, put it in ios/Runner/Info.plist under GADApplicationIdentifier.
  • Put your banner unit id (it looks like ca-app-pub-1234567890123456/1234567890) in lib/config.dart as admobBannerId.
  • To sell ads yourself instead, set adsEnabled to false. Your own advertisers and the ad networks you set up in the Orbyt admin still appear inside the dashboard.

Good to know:

  • Never tap your own live ads. Google can close accounts for that. While developing, keep Google's test unit: ca-app-pub-3940256099942544/6300978111.
  • A brand-new AdMob app or ad unit can take hours to a few days before real ads appear. Until then the banner area stays empty. That is normal.
  • If you serve people in Europe or the UK, set up the "Privacy and messaging" consent message in AdMob. The app shows it automatically.
  • Your privacy policy must say that the app shows ads from Google AdMob.

. Test before you publish

Run through this list on a real phone:

  • Splash, then log in with an existing account
  • Wrong password shows a clear message
  • Sign up with a new email, then you land in the dashboard
  • Log out from the menu returns to the log in screen
  • If your account has two-step sign-in, the code screen appears
  • Open a photo post, add a photo from the gallery, take a photo, record a voice note (the phone asks permission the first time)
  • The phone's Back button goes back inside the dashboard, and closes the app on the home screen
  • Turn on airplane mode: the "You are offline" screen appears, and "Try again" works when the connection returns
  • Links to other websites open in the phone's browser

. Build for Android

Quick test file (can be installed on any Android phone):

BASH
flutter build apk --release --dart-define=ORBYT_URL=https://your-site.com --dart-define=ORBYT_NAME=YourName

The file is build/app/outputs/flutter-apk/app-release.apk. Without a key of your own it is signed with a debug key: fine for testing, not accepted by Google Play.

Sign your release (needed for Google Play)

  • Create a key once and keep the file and passwords safe, forever. If you lose it you cannot update your app:
BASH
keytool -genkey -v -keystore upload-keystore.jks -keyalg RSA -keysize 2048 -validity 10000 -alias upload
  • Create the file android/key.properties (never share it):
BASH
storePassword=YOUR_PASSWORD
keyPassword=YOUR_PASSWORD
keyAlias=upload
storeFile=C:/path/to/upload-keystore.jks
  • Build the app bundle for Google Play:
BASH
flutter build appbundle --release --dart-define=ORBYT_URL=https://your-site.com --dart-define=ORBYT_NAME=YourName

The file is build/app/outputs/bundle/release/app-release.aab.

Before every new upload, raise the version in pubspec.yaml (the line version: 1.0.0+1; the number after + must go up each time).

. Publish on Google Play

  • Open the Google Play Console and create your developer account.
  • Create app: name, default language, app (not game), free or paid.
  • Store listing: short description (80 characters), full description, app icon (512 by 512), a feature graphic (1024 by 500), and at least 2 phone screenshots. Use screenshots of your own site in the app.
  • App content (all of these are required):
  • Privacy policy: a link to your policy. Orbyt has a ready page at https://your-site.com/p/privacy: edit it in the admin so it describes your business.
  • Ads: answer Yes, the app contains ads.
  • Data safety: say the app collects account details (name, email), photos and videos, audio (voice notes), and messages, that data is encrypted in transit, and that people can request deletion (Orbyt has account deletion in Settings).
  • Content rating: answer the questionnaire. Social apps with user content normally land at Teen or higher.
  • Target audience: choose 18 and over, or 13 and over if your site allows teenagers.
  • User-generated content: Google asks that people can report and block content. Orbyt has report, block, mute and a moderation desk built in.
  • Release: go to Production (or Testing first), create a release, upload the .aab, add release notes, and send for review.

Notes from Google that you should plan for:

  • New personal developer accounts must usually run a closed test with at least 12 testers for 14 days before they can publish to production. Organisation accounts are exempt. Check the current rule in the Play Console help.
  • The first review can take several days.

. Publish on the App Store (iPhone)

The iPhone project is set up (camera, microphone and photo permissions, AdMob entry) but must be built on a Mac.

  • Install Xcode and join the Apple Developer Program.
  • On the Mac: flutter pub get, then cd ios && pod install.
  • Open ios/Runner.xcworkspace in Xcode. Set your Team, a unique Bundle Identifier, and the app icon.
  • Put your AdMob iPhone app id in Info.plist (GADApplicationIdentifier).
  • Build: flutter build ipa --release --dart-define=ORBYT_URL=https://your-site.com, then upload with Xcode (Product, Archive, Distribute) or the Transporter app.
  • In App Store Connect: create the app, add screenshots, description, privacy policy link, and fill in the App Privacy answers (contact info, user content, identifiers for ads).

Be aware: Apple sometimes rejects apps that are only a website in a frame ("minimum functionality"). This app has its own native sign in and sign up, camera, microphone and photo access, and ads, and Orbyt has the report, block and account deletion tools Apple requires for social apps. If Apple asks for more, we can add native features for you.

. Updating

  • Website changes appear in the app by themselves.
  • Only rebuild the app when you change lib/config.dart, the icon or logo, the AdMob ids, or to update Flutter. Raise the version number, build, and upload to the stores.

. Troubleshooting

ProblemWhat to do
"Could not reach the server" on log inCheck baseUrl. It must be your live https address with no slash at the end. Open it in the phone's browser to confirm the site loads.
Log in works, but the dashboard shows the log in screen againMake sure your site's APP_URL in the .env file matches the address in baseUrl exactly (same domain, same https).
Blank white screen on a very old phoneUpdate "Android System WebView" in Google Play.
Photos, camera or microphone do not workAllow the permission in the phone's settings for the app.
No ads appearNew AdMob apps and units can take hours or days. Check the ids carefully. The banner never shows if adsEnabled is false.
Build fails after updating Flutter packagesRun flutter clean then flutter pub get. If a plugin fails, go back to the versions in pubspec.lock.
permission_handler fails to buildKeep it at version ^11.4.0 as in pubspec.yaml.

. What is tested, and what is not

  • Tested: Android release build on an emulator against a live Orbyt site: splash, log in, dashboard, bottom bar, full menu, log out and the sign up screen. Wrong-password messages.
  • Not tested by us: real AdMob ads (they depend on your account), the iPhone build (needs a Mac), push notifications (not included in this version), and uploading to the stores.

. Need help?

We offer paid customisation, branding, building and publishing of the app, and priority support: [email protected]. Say hello any time.

04

Features#

Almost everything is set from the admin panel: Admin > Settings. Settings are grouped: Payments, Creators and payouts, Verification, Ads, Features, Appearance, Messaging, Moderation, Live, Mail, SMS, Storage, Security. Passwords and keys are stored encrypted.

Anything left empty in the admin falls back to the value in .env.

Switch whole areas on or off under Features: Reels, Stories, Live, Messages, Communities, Pages, Stickers, Forum, Articles, Explore. A switched-off area disappears from the menus and its API answers "not available".

Appearance

Site name, accent colour (hex), the app layout for everyone, and the homepage headline and sub-headline. The five layouts are Photo (ig), Network (fb), Text (x), Creator Club (club: subscriptions, locked posts, tips) and Meet (meet: swipe, match and chat). The homepage design (aurora, editorial, spotlight or classic) is set next to it. Members cannot change the layout on a live site.

Upload your logo under Admin > Settings > Appearance. Edit every email under Admin > Emails and every information or legal page under Admin > Pages.

Roles and permissions

  • Admin: everything.
  • Moderator: by default can moderate, review verification, review ads, remove content and manage members. An admin can change a moderator's permissions under Admin > Staff: moderate, verification, ads, users, content, finance, settings, system.
  • Staff need two-step sign-in on a live site. You can allow only certain IP addresses for the admin area and set an idle timeout under Settings > Security.

Money

See MONETIZATION.md for commission, payouts, subscriptions, paid posts and verification pricing.

Ads

Under Settings > Ads: switch ads on, choose whether every ad is reviewed first, set minimum bids and budgets, frequency cap, and ad-free rules for verified or subscribed members.

Ad networks and where they show. For each network (Google AdSense, Google Ad Manager, Ezoic, Media.net, Adsterra, PropellerAds, Taboola, Outbrain, Amazon, Custom) you can switch it on, paste the code the network gives you, and list the hosts the code needs. Then set the fill order per spot: feed, sidebar, profile, search, between Reels, under stories. For example own,adsense,ezoic fills a spot from your own advertisers first, then AdSense, then Ezoic. Rotate between ad sources makes each page view pick one of the sources that has an ad, so the networks and your advertisers take turns.

Ad spots appear in the feed (every sixth post), in the side column on desktop, inside the page on phones, on profiles, in search results, under stories and between Reels. Staff and demo sites see an example box in an empty spot so you can see where ads will appear.

Cookie consent: keep "Ask for consent before loading third-party ad scripts" on for visitors from the EU, UK and similar regions. ads.txt and app-ads.txt are edited here and served at /ads.txt and /app-ads.txt.

Video ads: paste a VAST tag URL to play a video ad before Reels (skip button after the offset in the tag).

Live streaming

The built-in engine streams through your own server and needs nothing else. It is meant for audiences of up to a few hundred viewers per stream. For very large audiences use LiveKit (free to self-host): set Live engine to livekit and add the URL, key and secret. See PROVIDERS.md.

Scheduled jobs

CommandWhenPurpose
orbyt:prune-storieshourlyremove expired stories
orbyt:send-digests08:00daily summary emails
orbyt:backup02:30nightly backup, keeps 7
orbyt:money-housekeeping03:00subscription renewals, badge expiry, ID document purge, automatic payouts
orbyt:prune-messages03:30message retention
orbyt:purge-deleted04:00erase accounts 14 days after deletion
05

Mail#

All provider settings live in Admin > Settings. Test each one after saving.

Choose the provider under Settings > Mail: SMTP, Resend, Mailgun, Postmark, SendGrid, Brevo, Mailjet or MailerSend, and fill in its keys. Set From address and From name. Send a test from the server with php artisan orbyt:test-mail [email protected].

Tip: use a sending domain with SPF, DKIM and DMARC records so emails reach the inbox.

SMS

Twilio, Vonage, Plivo, Telnyx, Infobip or MessageBird under Settings > SMS. Test with php artisan orbyt:test-sms +15551234567.

Payments

Settings > Payments. Turn on the gateways you want and add their keys. Webhook addresses are shown at the top of the page:

GatewayKeysWebhook
Stripesecret key, webhook signing secret/api/v1/webhooks/stripe (events: checkout.session.completed, checkout.session.expired)
PayPalclient ID, secret, webhook ID/api/v1/webhooks/paypal (CHECKOUT.ORDER.APPROVED, PAYMENT.CAPTURE.COMPLETED)
Paystacksecret key/api/v1/webhooks/paystack (charge.success)
Flutterwavesecret key, secret hash/api/v1/webhooks/flutterwave (charge.completed)
Razorpaykey ID, key secret, webhook secret/api/v1/webhooks/razorpay (payment_link.paid)
MollieAPI key/api/v1/webhooks/mollie (set automatically for every payment)
Mercado Pagoaccess token/api/v1/webhooks/mercadopago (set automatically for every payment)
Crypto (Coinbase Commerce)API key, webhook shared secret/api/v1/webhooks/crypto (charge:confirmed)

Every webhook checks its own signature and the payment is confirmed with the gateway before any money is credited. The payer is also checked when they come back to the site, so a missed webhook does not lose a payment.

Demo payments (no real money) exist for demos only. Never switch them on for a live site.

Currency: one site currency (Settings > Payments). Amounts are stored in cents.

Storage

Uploads go to your server by default. For S3, Cloudflare R2, DigitalOcean Spaces or Wasabi choose s3 under Settings > Storage and fill in key, secret, region, bucket, endpoint (for R2, Spaces, Wasabi) and the public URL of the bucket.

Live

Built-in by default. To use LiveKit: install a LiveKit server (or use LiveKit Cloud), then set Live engine to livekit and add the URL, API key and API secret.

Image moderation (optional)

Settings > Moderation. Point "Image moderation service URL" at a service that accepts a multipart image upload and answers JSON like {"score": 0.97} (higher is worse). Images at or above your threshold are marked sensitive and sent to the review queue. Nothing happens when the URL is empty.

Push notifications

The installable app shows in-app notifications and email. Browser push is planned for the next upgrade.

06

. Commission on creator earnings#

You can earn in six ways. Switch each on or off under Admin > Settings.

Members tip creators, subscribe to them and unlock paid posts. You keep a percentage (default 10%) of every payment, set under Settings > Creators and payouts. You can give one creator a different percentage under Admin > Money > Creator commission.

. Verification fees

A badge needs an ID check by your team and a fee that you set (default 15.00), paid with the application. If the ID check does not pass the fee is refunded. Badges last a period you choose (default 365 days) and members renew by paying again. Set the fee, the badge length and the grace period under Settings > Verification.

. Advertising

Advertisers (any member, usually business accounts) add funds and run campaigns. You earn from every click or view. You approve each ad first if you wish. Prices are set by bids; you set the minimum bid and budget.

. Ad networks

Paste the code from Google AdSense, Ad Manager, Ezoic, Media.net, Adsterra, PropellerAds, Taboola, Outbrain or Amazon and it fills your ad spots. Enter what each network pays you under Admin > Ads > Revenue so the dashboard adds up your total ad income.

. Premium placements and business accounts

Business accounts want reach. The Promote post button lets any member pay to boost a post in one tap.

. Your own services

Offer paid customisation, setup or a managed launch. Contact [email protected] if you want us to do it for you.

. Meet: Gold, Boosts and Super Likes

Members of the Meet layout can buy Gold (30 days: see who likes them, unlimited likes and rewinds, weekly Super Likes and a monthly Boost), single Boosts and Super Like packs. Prices, the daily like limit and the weekly free Super Likes are set in Admin > Settings > Meet. The money goes to your platform balance.

. Creator bundles and promo codes

Fans can buy 1, 3 or 12 months at once. The 3 and 12 month discounts are yours to set. Promo codes (percent off) can be site-wide or for one creator and can have a use limit and an end date.

Paying creators

Creators set up payout details, confirm with a code sent to their email and request a payout. You approve and send it yourself from Admin > Money (bank transfer, PayPal or anything you use) and press Mark paid. They can also choose weekly or monthly automatic payout requests. Payout rules: a smallest payout, a waiting period for new accounts and a daily limit, all under Settings > Creators and payouts.

Your books

Every movement of money is an entry in a double-entry ledger. Admin > Finance shows your revenue, money held in wallets, ad balances and pending payouts, and exports the ledger as CSV. The health check warns you if the ledger ever fails to balance.

Growth ideas that work

  • Launch around a niche (photographers, gamers, local businesses) and invite 50 creators personally.
  • Turn on verification and let your first creators earn the badge: it signals quality.
  • Give creators their first subscribers by running a launch promotion with a lower commission.
  • Fill your ad spots with network code on day one, then sell direct ads to local businesses at higher prices.
  • Use communities and the forum for support and retention, and articles for search traffic.
07

From the admin panel (no code)#

  • Site name, accent colour, logo and layout: Admin > Settings > Appearance
  • Homepage headline and sub-headline: Admin > Settings > Appearance
  • Emails: Admin > Emails
  • Footer and legal pages: Admin > Pages (create your own pages too)
  • Forum categories and article topics: from the Forum and Articles screens
  • Sticker packs, language and more: see below

Languages

Text for the public pages is in lang/en. Copy the folder to lang/fr (for example), translate it, and add 'fr' => ['Français', 'ltr'] to locales in config/orbyt.php. The app screens use plain English strings in public/assets/js/app.js that you can translate with search and replace.

Stickers

Sticker packs are defined in config/stickers.php. Each sticker is an emoji, a caption and two colours, drawn as an SVG on request. Add your own entries and they appear in the sticker picker. A sticker is sent as {{s:pack/key}}.

Look and feel

  • public/assets/css/app.base.css: colours and layouts
  • public/assets/css/app.premium.css: polish, motion and all newer screens
  • public/assets/js/app.js: every screen of the app

Change the colour variables at the top of app.base.css (--accent per layout and theme).

We can do it for you

We offer paid customisation (custom design, extra features, integrations, migration from another script) and priority support: [email protected].

08

Useful commands#

Start with Admin > System. It checks PHP, extensions, database, storage, disk space, scheduler, queue, mail, HTTPS and debug mode, and shows the log.

ProblemWhat to do
White page or 500 errorCheck storage/logs/laravel.log. Make sure storage and bootstrap/cache are writable. Run php artisan optimize:clear.
The page loads but nothing happensOpen the browser console. A blocked script usually means a Content Security Policy issue: if you pasted ad code, add the hosts it needs in Settings > Ads.
Uploads failRaise upload_max_filesize and post_max_size (110M for 100 MB video) and nginx client_max_body_size.
Emails do not arriveAdmin > Settings > Mail, check the provider and keys, then php artisan orbyt:test-mail [email protected]. Check SPF and DKIM. Look in spam.
Verification emails go to the logThe mail provider is still log. Choose a real provider.
Payments stay pendingCheck the gateway keys and webhook address. The payer is also checked when they return to the site.
Daily jobs never runAdd the cron line from INSTALL.md. Admin > System shows when the scheduler last ran.
Admin shows "Turn on two-step sign-in"Open Settings > Security and turn it on. Keep the recovery codes. Locked out: php artisan orbyt:admin can reset a password, and recovery codes work in place of an app code.
Live shows "Waiting for the broadcaster"The broadcaster must keep the tab open and allow camera and microphone. Safari cannot play the built-in stream: use Chrome, Edge or Firefox, or switch to LiveKit.
Stories or Reels look empty after a dayStories last 24 hours. Reels need a video post shared as a Reel.
Sideways scroll or odd layoutClear the browser cache; the CSS and JS files are versioned and reload on update.
"Page expired" on loginCookies must work. On a subfolder install make sure SESSION_PATH matches the folder.
BASH
php artisan optimize:clear        # clear every cache
php artisan migrate --force       # apply database updates
php artisan orbyt:backup          # make a backup now
php artisan orbyt:test-mail [email protected]
php artisan orbyt:admin           # create or reset an admin
php artisan about                 # versions and environment

Still stuck? [email protected] — include the last 30 lines of storage/logs/laravel.log and what you did just before.

09

Backups#

A backup is one zip with the database and everything members uploaded. It does not include .env; keep your own copy of it, because it holds the APP_KEY needed to read encrypted data.

  • Automatic: every night at 02:30 (needs the cron job). The newest 7 are kept in storage/app/backups.
  • Now: Admin > System > Back up now, or php artisan orbyt:backup.
  • Download them from Admin > System and keep copies off the server.

Restore

  • Put the site in maintenance mode: php artisan down
  • php artisan orbyt:restore storage/app/backups/orbyt-YYYYMMDD-HHMMSS.zip
  • php artisan migrate --force then php artisan optimize:clear
  • php artisan up

SQLite backups restore the database file directly. For MySQL or PostgreSQL the zip holds one JSON-lines file per table, to import with your own tooling.

Upgrade to a new version

  • Make a backup and download it.
  • php artisan down
  • Upload the new files over the old ones. Keep your .env, storage and database folders.
  • composer install --no-dev -o (only if the package has no vendor folder)
  • php artisan migrate --force
  • php artisan optimize:clear
  • php artisan up

Your settings, content and uploads live in the database and storage, so they are not touched. Read CHANGELOG.md first: it lists changes that need your attention.

Updating from 1.1 to 1.2

You get a small update zip (Update-1.1-to-1.2) with only the files that changed. Your .env, storage, database and vendor folders are not in it, so nothing of yours is overwritten.

  • Back up: Admin > System > Back up now, then download it. Also copy your .env.
  • php artisan down
  • Upload the contents of the update zip's Script folder over your Script folder, replacing files when asked.
  • php artisan migrate --force (adds the Meet, promo code, phone and text-message sign-in tables and columns)
  • php artisan optimize:clear
  • php artisan up
  • Open Admin > Settings and review the new options (see below).

What to check after the update: - Homepage design: new sites show the Aurora homepage. To keep the design you had, set Admin > Settings > Appearance > Homepage design to classic. - Payouts now need an ID check. Creators must be verified before they can request a payout. Turn this off in Settings > Verification ("Only verified people can request payouts") if you do not want it. - Text messages: phone confirmation and text-message sign-in need an SMS provider (Settings > Messaging, or SMS_DRIVER in .env). Without one, people can still use an authenticator app. - New gateways (Razorpay, Mollie, Mercado Pago, crypto) are off until you add their keys under Settings > Payments. - Layouts: Creator Club and Meet appear in the layout setting. The layout everyone sees does not change until you change it. - The update also fixes a bug where subscriber-only and paid posts could show their content to people without access in feeds and profiles.

The mobile app source in Mobile-App is unchanged in 1.2: no new build is needed.

Versioning

Version numbers follow major.minor.patch. A patch fixes bugs; a minor adds features and keeps everything working; a major may change things and comes with upgrade notes. The API is versioned (/api/v1) and an old version keeps working for at least 12 months after a new one appears.

10

Conventions#

Base address: /api/v1. JSON in and out. Authenticate with a Sanctum token (Authorization: Bearer <token>) or the browser session. The mobile apps use the same API.

  • Errors: { "message": "...", "errors": { "field": ["..."] } } with the right status (401, 403, 404, 422, 429).
  • Pagination: lists return { "data": [...], "next": <cursor or null> }. Pass ?cursor=<next> for the next page.
  • Rate limits: 429 with Retry-After. Posting 30/hour, commenting 90/hour, messaging 40/minute, follows 200/day, payments and ads have their own limits.
  • Versioning: /api/v1 stays stable. Breaking changes go to /api/v2; v1 keeps working at least 12 months after v2 is released. Additive changes (new fields, new endpoints) can appear in v1 at any time, so ignore fields you do not know.
  • Money: integer cents plus a currency code.

Main endpoints

AreaEndpoints
YouGET/PATCH me, POST me/avatar, POST me/cover, GET me/insights, POST me/export, DELETE me
FeedGET feed?tab=following|for_you, GET reels, GET bookmarks, GET search, GET trending, GET suggestions
PostsPOST posts, GET/PATCH/DELETE posts/{id}, likes, reposts, bookmarks, comments, POST posts/{id}/unlock
PeopleGET users/{username}, posts, followers, following, follow, block, mute, POST users/{username}/tip, /subscribe
StoriesGET/POST stories, views
Messagesconversations, conversations/{id}/messages, /voice, /typing, messages/{id}/react, /audio
LiveGET/POST live, live/{id}/join, /state, /chunk, /piece/{n}, /messages, /heart, /end
Communitiescommunities, members, posts, events, pending posts, pins
Pagespages, follow, team
Forumforum, forum/threads, replies, votes, solution
Articlesarticles, comments, likes
Moneywallet, wallet/analytics, wallet/payouts, wallet/topup, monetization/tiers
Verificationverification, verification/{id}/pay, verification/renew
Adsads/slot, ads/overview, ads/campaigns, /sets, ads/promote/{post}, ads/vast
SafetyPOST reports, appeals, takedowns/{id}/counter
Notificationsnotifications, notifications/unread, notifications/read
Adminadmin/* (needs staff permissions)

Webhooks: POST /api/v1/webhooks/{stripe|paypal|paystack|flutterwave} and, for LiveKit, /api/v1/webhooks/livekit.

Public tracking pixel for advertisers: GET /ads/conv?cid=<click id>&value=<amount>.

Tokens

BASH
POST /login           (browser session)
php artisan tinker    $user->createToken('app')->plainTextToken   (for a first token while the mobile apps are in development)
11

What is built in#

  • Sign-in: hashed passwords, login rate limits and lock-outs, email verification, optional two-step sign-in (authenticator app + recovery codes). Required for staff on a live site.
  • Admin area: its own permission checks on every route, optional IP allow-list, idle sign-out, every change recorded in the audit log, impersonation always logged and shown with a banner.
  • Data: messages encrypted at rest (optional switch), voice notes, ID documents and payout details encrypted, gateway keys and other secrets stored encrypted, ID documents deleted after a retention period, viewing an ID document is logged.
  • Browser: strict Content Security Policy with per-request nonces (ad network hosts are allowed one by one only when you switch them on), clickjacking protection, nosniff, referrer and permissions policies, HSTS on HTTPS, output escaping everywhere, safe link rendering.
  • Uploads: type sniffing, size limits, EXIF stripped, files re-encoded, random paths, no executable uploads.
  • Money: every movement is a ledger entry and balances are sums; payments are idempotent; gateway webhooks check signatures and are confirmed with the gateway; row locking prevents double spending; payouts need your password, a two-step code (if on) and an emailed code; new accounts wait before they can withdraw.
  • Abuse: rate limits on posting, commenting, following, messaging, live chat, payments and ads; duplicate and bot filtering on ad views and clicks; keyword, link and spam filters; reports, strikes and appeals.
  • Privacy rights: members can download their data and delete their account (erased after 14 days).

Phone numbers, text-message sign-in and ID checks

  • Members can confirm a phone number with a 6 digit code (valid 10 minutes, five tries, rate limited). One number belongs to one account.
  • Two-step sign-in can use text-message codes instead of an authenticator app. Recovery codes work for both.
  • Payouts can require an ID check (Admin > Settings > Verification, "Only verified people can request payouts", on by default) and optionally a confirmed phone (Security settings). Meet can also require a confirmed phone.
  • The Security screen shows recent sign-ins with the device and a shortened IP address.
  • You need an SMS provider (Twilio, Vonage, Plivo, Telnyx, Infobip or MessageBird) for text messages. See PROVIDERS.md.

Before you launch

  • [ ] APP_DEBUG=false, APP_ENV=production, HTTPS on
  • [ ] Demo mode and demo payments are off
  • [ ] Two-step sign-in on for every admin and moderator
  • [ ] .env is not reachable from the web (the web root is public)
  • [ ] Database and backups are not world-readable
  • [ ] Backups are copied off the server
  • [ ] PHP and your server are patched; run composer audit now and then
  • [ ] Legal pages (terms, privacy, cookies) were reviewed for your country

Penetration test checklist (for your own review)

Authentication and sessions · access control on every API route (IDOR checks on posts, messages, wallets, payouts, ID documents) · rate limits · file upload abuse · stored and reflected XSS in posts, bios, forum, articles, ads and ad code · CSRF on state-changing routes · SSRF through the VAST ad fetch (it only allows public https addresses) · webhook forgery · race conditions on payouts and wallet spending · email enumeration · open redirects · security headers.

Reporting a vulnerability

Email [email protected] with steps to reproduce. Please do not disclose publicly until a fix is released.

12

Tested#

We want you to launch with confidence, so this is an honest list.

  • The automated test suite passes (more than 170 tests covering sign-up and login, posts, feeds, privacy and blocks, messages, communities, pages, the forum, articles, stories, notifications, verification, wallet and ledger, payouts, ads, moderation, appeals, two-step sign-in, live streaming, the installer and more).
  • The web installer was run on a clean copy with SQLite, and sign-in, the admin area and a brand-new empty feed were checked.
  • Every screen was opened in all three layouts on desktop and on a phone-width window and checked for script errors.
  • Email was sent for real through Resend.

Built to the provider's documentation, tested with simulated responses only

Please test each of these once with your own sandbox or test keys before you advertise the feature. Admin > Settings has a field for each, and Admin > System helps you spot problems.

  • Payment gateways: Stripe, PayPal, Paystack, Flutterwave, Razorpay, Mollie, Mercado Pago and Crypto (Coinbase Commerce). The sign-in to each gateway, the checkout page, the return and the webhook were written from the public documentation and tested with simulated answers. Use each gateway's test mode and make one small payment, one refund and one failed payment.
  • Mail providers other than Resend (SMTP, Mailgun, Postmark, SendGrid, Brevo, Mailjet, MailerSend) and all SMS providers (Twilio, Vonage, Plivo, Telnyx, Infobip, MessageBird).
  • S3-compatible storage (S3, R2, Spaces, Wasabi).
  • LiveKit (optional live engine) and the image moderation service hook.
  • Ad network code (AdSense, Ad Manager, Ezoic, Media.net, Adsterra, PropellerAds, Taboola, Outbrain, Amazon): your code is placed where you choose and loaded after consent. Each network has its own approval process for your site and domain.
  • Video ads (VAST) from a real ad server.

Not included in this version

  • Native iOS and Android apps (planned for the next upgrade). The site is an installable web app.
  • Browser push notifications (in-app notifications and email are included).
  • Automatic transfer of payouts to bank accounts: you send payouts yourself and press Mark paid.

Built-in live streaming: know the limits

The built-in engine streams through your own server in two-second pieces. It suits small and medium audiences and needs no outside service. Expect a few seconds of delay. Safari on iPhone cannot play it; use Chrome, Edge or Firefox, or switch to LiveKit for large audiences.

Questions? [email protected]

Mobile app (1.2.0)

  • Tested by us: Android release build on an emulator against a live Orbyt site (splash, log in, dashboard, bottom bar, full menu, log out, sign up screen, wrong-password message), and the server side of log in with the same requests the app sends.
  • Not tested by us: real AdMob ads (they depend on your own account and can take days to start), the iPhone build (needs a Mac and an Apple account), push notifications (not included), upload to Google Play and the App Store.

Release 1.2 additions

  • Tested with the automatic test suite: homepage designs, shareable profile links, subscription bundles and promo codes, Meet (swipe, match, chat, Gold, Boosts, Super Likes, daily like limit), phone confirmation, text-message sign-in, ID check before payouts, the four new gateways (checkout start and webhook signatures, with simulated answers) and the locked-post preview.
  • Not tested with real accounts: text messages through a real SMS provider, and real payments through Razorpay, Mollie, Mercado Pago and Coinbase Commerce. Use each provider's test mode first.
  • Meet shows distances only for people who allowed their location. The demo uses sample photos; on your own site members add their own.
13

.2.0#

New - Three new homepage designs (Aurora, Editorial, Spotlight), chosen in Admin > Settings > Appearance - Shareable profile links: yourdomain.com/@username, with a public page and preview card - Two new app layouts: Creator Club (subscriptions, locked posts, tips) and Meet (swipe, match, chat, Gold, Boost, Super Likes) - Subscription bundles (3 and 12 months) and promo codes; locked posts show a blurred preview - Meet extras you can sell: Gold (30 days), Boosts and Super Like packs, all with their own prices in Admin > Settings - Security: phone number confirmed by text message, text-message codes as a two-step sign-in option, an ID check (KYC) required before payouts, an optional confirmed phone for payouts and Meet, and a sign-in activity list on the Security screen - Four more payment gateways: Razorpay, Mollie, Mercado Pago and crypto (Coinbase Commerce), on top of Stripe, PayPal, Paystack and Flutterwave - Fixed: subscriber-only and paid posts are now hidden from people without access in the feed and profiles, not only on the post page - The web installer now asks which layout to use: Photo, Network, Text, Creator Club or Meet

Upgrade notes (from 1.1) - Run php artisan migrate --force and php artisan optimize:clear. See docs/UPGRADE.md, "Updating from 1.1 to 1.2". - New sites show the Aurora homepage; set Homepage design to classic in Admin > Settings > Appearance to keep the old one. - Payouts now need an ID check (Settings > Verification). Text-message features need an SMS provider.

Verified - See docs/VERIFIED.md. Real SMS and the four new gateways were tested with simulated answers only: try each with your own test keys.

.1.0

A large release: the platform becomes complete.

New - Mobile app for Android and iPhone (Flutter source included): native splash, log in, sign up and two-step code screens, then your full dashboard with every menu - One config file to brand the app: site address, name, tagline, colours, logo and ad id; a step-by-step guide to customise, build, sign and publish it (docs/MOBILE_APP.md) - Google AdMob banner in the app, off with one setting - Phones: bigger bottom bar, and the open chat no longer hides the message box - Built-in live streaming (no outside service) with chat, hearts and tips; LiveKit optional - Forum (categories, threads, votes, accepted answers, pins and locks) and Articles (editor, covers, topics, likes, comments) - Emojis and five sticker packs in posts, comments, messages, live chat, forum and articles - Voice notes and typing indicators; messages encrypted at rest; retention controls; block from a chat - Communities: post approval and pinned posts - Business accounts with contact details, an action button and insights - Two-step sign-in (authenticator app + recovery codes), required for staff - Verification now needs an ID check and a fee (refunded if the check fails) - Payouts: emailed confirmation code, weekly or monthly automatic payout requests - Ads: ad sets, conversion tracking, video ads (VAST), spots in stories, search, profiles and between Reels, rotation between ad networks and advertisers, example boxes showing where ads appear - Moderation: queue with priorities, bulk actions, reason templates, automatic filters, strikes and bans, appeals with a second reviewer, copyright takedowns, sensitive-content blur, public transparency page - Admin panel: dashboard, staff permissions, content, finance, emails, pages, mail/SMS/storage/live settings, feature switches, appearance, backups, health, logs, queue, impersonation with audit - Installable app (PWA) with offline page; data export; account deletion - Premium design pass and motion for all three layouts, dark mode by default, a full menu on phones

Changed - Navigation uses a More menu; the account menu lists every screen on phones - Secrets in settings are stored encrypted

Verified - Automated tests, the web installer on a clean copy, every screen in all three layouts, and a real email through Resend. Payment gateways, other mail and SMS providers, S3 storage, LiveKit and ad networks were built to their public documentation and tested with simulated responses only: test each with your own keys (see docs/VERIFIED.md).

Fixed (after release) - Phones: the open chat no longer hides the message box behind the bottom bar, and the bottom bar is larger and easier to tap - Demo builds: demo accounts are verified, open in dark mode, and their password cannot be changed (never active on a real site)

Upgrade notes - Run php artisan migrate --force. Add the cron line if you have not yet. Turn on two-step sign-in for your admin accounts.

.0.0

First release: feed, stories, Reels, messages, communities, pages, wallet and ads foundations, admin basics.

14

Getting help and customisation#

You are never on your own with a Biply script.

Free installation

After you buy, tell us and we install Orbyt on your hosting at no extra cost.

Professional support

Email [email protected] with your domain and a description or screenshot of the problem.

Customisation

Need your own features, integrations or branding? Hire Biply Agency for a written quote.