Direct Setup
Set up by extract and database import.
Secure Guide
Includes final cleanup steps.
Hosting Ready
Works with cPanel, Plesk, and Hostinger.
1. Server Requirements
Before uploading WAF, make sure your hosting account is ready. The setup is based on uploading the files, extracting the package, importing the database, and configuring the environment file.
- PHP 8.2 or later
- MySQL or MariaDB database
- Apache or LiteSpeed with
.htaccesssupport - Writable
storageandbootstrap/cachefolders - Ability to create a cron job
Required PHP extensions
- allow_url_fopen
- cURL
- Fileinfo
- Imagick
- Intl
- Mbstring
- OpenSSL
- PDO MySQL
- Tokenizer
- XML
- Zip
- Ioncube Loader, if your package is encoded
Recommended PHP Version
Use PHP 8.2 or newer for the best compatibility. Enable required extensions before importing the database and opening the website.
2. Create a Database
Create a new empty database and database user from your hosting panel. Save the database name, username, password, and host because these values must be added to the environment file.
cPanel
- Open MySQL Databases.
- Create a new database.
- Create a database user with a strong password.
- Add the user to the database.
- Grant All Privileges.
Hostinger hPanel
- Open Databases > MySQL Databases.
- Create a database and database user.
- Copy the database host, name, username, and password.
Plesk
- Open Databases.
- Click Add Database.
- Create the database and assign a database user.
- Make sure the user has full access to the database.
3. Upload and Extract Files
- Download the WAF package from your account or Telegram purchase link.
- Open your hosting file manager or connect by FTP.
- Upload the ZIP package to your website root directory, usually
public_html. - Extract the ZIP package.
- Make sure the extracted files are directly inside the website root, not inside an extra nested folder.
- Confirm that
.htaccess,app,bootstrap,config,public,resources,routes, andstorageare present.
public_html/
├── .htaccess
├── app/
├── bootstrap/
├── config/
├── public/
├── resources/
├── routes/
└── storage/
Avoid Nested Extraction
If the files are extracted into a folder like waf-package/public_html, move the contents into your real website root so the domain can load the application correctly.
4. Import the Database
After creating the database, import the SQL file included in your package. This creates the required tables and default data.
Using phpMyAdmin
- Open phpMyAdmin from your hosting panel.
- Select the database you created for WAF.
- Open the Import tab.
- Choose the SQL file from the WAF package.
- Click Import and wait until it finishes.
Using command line
mysql -u database_user -p database_name < database.sql
If your package contains a different SQL filename, use that filename instead of database.sql.
5. Configure the Environment File
Open the .env file and update the main application, database, license, mail, cache, queue, and payment settings required by your website.
Basic application settings
APP_NAME="What A Faucet"
APP_ENV=production
APP_DEBUG=false
APP_URL=https://yourdomain.com
Database connection
DB_CONNECTION=mysql
DB_HOST=localhost
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password
License key
LICENSE_KEY=your_license_key
Default credentials
USERNAME: [email protected]
PASSWORD: 12345678
6. Set Permissions and Cron Job
The application must be able to write cache, logs, sessions, and uploaded files.
Recommended permissions
chmod -R 775 storage bootstrap/cache
On shared hosting, you can usually set folder permission to 775 from File Manager. If 775 is not allowed by your host, use the permission recommended by your hosting provider.
Cron job
Add this cron job so scheduled tasks can run automatically:
* * * * * /usr/local/bin/php /home/username/public_html/artisan schedule:run >> /dev/null 2>&1
Replace /usr/local/bin/php and /home/username/public_html with the correct PHP path and project path from your hosting account.
7. Final Setup
- Open your domain in the browser.
- Log in using the admin details included with your package or the credentials provided by the database file.
- Immediately update the admin email and password.
- Open the admin dashboard and review website settings.
- Configure currency, payment methods, withdraw methods, offerwalls, ads, postback settings, and email settings.
- Test registration, login, faucet claim, shortlink, offerwall postback, deposit, and withdraw flow before going live.
Useful checks after setup
- The homepage loads without server error.
- User registration and email sending work.
- Admin dashboard can save settings.
- Scheduled tasks run from cron.
- Payment callback URLs are copied correctly to payment providers.
- Offerwall postback URLs are copied correctly to offerwall networks.
8. Configure Google OAuth
Google login is optional. Configure it only if you want users to sign in with Google.
- Open Google Cloud Console.
- Create a new project or select an existing project.
- Open APIs & Services > Credentials.
- Click Create Credentials and choose OAuth Client ID.
- Select Web Application.
- Add the authorized redirect URI:
https://yourdomain.com/oauth/google/callback
- Copy the
Client IDandClient Secret. - Add them to your
.envfile.
GOOGLE_CLIENT_ID=your-client-id
GOOGLE_CLIENT_SECRET=your-client-secret
Installation Complete
Your WAF website is ready after the files are extracted, the database is imported, the environment file is configured, permissions are set, and cron is active.