Documentation

phpAnalyzer

Overview

In this page you can find the needed documentation for you to fully install and configure the product.

Requirements

Please make sure your server meets the following requirements before attempting to install or purchase the product.

PHP PHP 7 (or higher)
Extensions cURL, OpenSSL, mbstring, MySQLi
MySQL MySQL 5 (or higher)
Apache with mod_rewrite

Instagram and Facebook analytics may need the use of Proxies.

Installation

This installation process should take no more than 10 minutes if followed and done correctly.

1. Prepare the database

  1. Create a new Database User for the upcoming new database (optional)
  2. Create a new Database
  3. Prepare the Database Host, Name, Username and Password for the upcoming steps.

2. Upload the product

Upload the content of the product/ folder on your webhost.

The product can be uploaded either on a subdomain, domain or subfolder, depending on your needs.

3. Prepare the product files

You need to set the permissions (CHMOD) of the following files / folders to either 755, 775, or 777 which will depend on your actual server.

  • /uploads/favicon/
  • /uploads/logo/
  • /app/config/config.php

4. Start the installation process

  1. Access the product on your website and access the /install path. (ex: https://yourdomain.com/install)
  2. Follow the steps in the installation process
  3. You can now access the website and login with your admin account

5. Cron job setup

The cron job must be set up as it is responsible for handling background tasks.

  1. Make sure to login and go to the Admin Panel -> Website Settings -> Cron tab
  2. Copy the generated Cron Job Url
  3. Create a new cron job with one of the following commands
    • * * * * * wget --quiet -O /dev/null https://yourdomain.com/cron
    • * * * * * wget --spider -O - https://yourdomain.com/cron >/dev/null 2>&1
    • * * * * * curl --silent https://yourdomain.com/cron
  4. Make sure to replace the https://yourdomain.com/cron string with your copied link from the admin panel.

Extra Configuration

Here are the integrations that you can configure on the product after installation.

Nginx Servers

The product was designed to work by default for Apache servers. This is an extra thing that I provide for NGINX users although support is NOT guaranteed for NGINX servers.

The rewrite rule for NGINX that you need to add so that the urls work is the following:

if (!-e $request_filename){ rewrite ^\/(.+)$ /index.php?altum=$1 last; }

This command should be added in your domain.conf nginx file in the location / { ... } field.

Facebook Login

The Facebook Login integration gives your users the ability to skip normal registration and login directly with their Facebook account.

  1. Go to Facebook Developers page.
  2. Make sure to login to your Facebook account.
  3. Click on the My Apps menu dropdown and click on Create app.
  4. Add your details to the form and click submit the form to create the new app.
  5. Go to Settings from the sidebar menu and click on Basic.
  6. Fill out your Facebook app details in there.
  7. From the sidebar, under Facebook Login click on Quickstart link.
  8. Click on the Web platform and add your website URL. Skip the next steps.
  9. From the sidebar, under Facebook Login click on Settings link.
  10. In the Valid OAuth redirect URIs field, add your website's URL in this format: https://yourdomain.com/login/facebook (replace yourdomain.com with your own domain name).
  11. Save the changes.
  12. Go to App Profile page and copy the App ID and App Secret.
  13. Go to your new Product's Admin Panel -> Website Settings -> Facebook Login Tab and enter the App ID and App Secret keys.
  14. Make sure to Enable Facebook Login and Submit the new settings.

PayPal

The PayPal integration gives your users the ability to pay via PayPal on your website.

  1. Go to PayPal Developer Console and Login to your account after clicking the Log into Dashboard button
  2. Go to REST API apps section and click the Create App button.
  3. Add your own details for the new app and create it.
  4. Switch to Live by clicking the button near your new App's Name.
  5. Copy the Client ID and Secret
  6. Go to your new Product's Admin Panel -> Website Settings -> Payment Tab and enter the Client ID and Secret keys.
  7. Make sure to also switch the Mode to Live and Submit the new settings.

Stripe

The PayPal integration gives your users the ability to pay via Stripe on your website.

  1. Go to Stripe Dashboard and Login to your account.
  2. Go to Stripe API Keys page.
  3. Make sure your API keys are set to Live Mode so that you can accept real payments.
  4. Copy the Publishable key and Secret key.
  5. Go to your new Product's Admin Panel -> Website Settings -> Payment Tab and enter the Publishable key and Secret Key.
  6. From the sidebar, under Developers click on Webhooks link.
  7. Click on the Add endpoint button
  8. In the Endpoint URL field, add your website's URL in this format: https://yourdomain.com/stripe ( replace yourdomain.com with your own domain name ).
  9. In the Events to send field, select the checkout.session.completed and click the Add endpoint button.
  10. Copy the Signing secret key and paste it in the product's Webhook Secret field in the admin panel.

Google Recaptcha

The Google Recaptcha integration will replace the basic captcha with Google's Recaptcha system.

  1. Go to Recaptcha Admin Panel and Login to your Google account.
  2. Make sure to select the reCAPTCHA v2 type
  3. Fill in the other needed details from the form.
  4. Make sure your API keys are set to Live Mode so that you can accept real payments.
  5. Copy the Site Key and Secret Key.
  6. Go to your new Product's Admin Panel -> Website Settings -> Captcha Tab Tab and enter the Site Key and Secret Key.

Plugins

Here are some more details about the plugins available for phpAnalyzer.

Twitter Plugin

This plugin requires you to register and get the proper API keys from Twitter in order for it to work.

  1. Go to Twitter Developers Apps page and make sure you are logged in.
  2. Click on the Create an app button and fill in the details that are required.
  3. After the creation of the new app, go inside the App details page.
  4. Go to the Keys and tokens tab and copy all the 4 types of keys.
  5. Go to your new Product's Admin Panel -> Website Settings -> Source Settings Tab and enter the keys that you copied for Twitter.

YouTube Plugin

This plugin requires you to register and get the proper API keys from YouTube in order for it to work.

  1. Go to Google Developers Console page and make sure you are logged in.
  2. Now you need to create a new project.
  3. Now you need to search for the YouTube API v3 in the API Library and make sure to enable it.
  4. Go to the Credentials page by clicking on the link in the sidebar.
  5. Click on the Create Credentials button and select API Key
  6. Copy your freshly created API Key
  7. Go to your new Product's Admin Panel -> Website Settings -> Source Settings Tab and enter the YouTube API Key that you copied.

FAQ

Here are the most popular questions and their answers.

  • How can I update text on the website?
    Any from the website can be changed from the app/languages/english.json file.
  • How can I create my own language?
    Copy and paste the app/languages/english.json file, rename the english.json file to your actual language name and start editing the newly created file.
  • When I click on any link it returns 404 Not Found, why?
    That means that you either didn't add the .htaccess file or that your webhost doesn't have mod_rewrite enabled on the apache server.
  • Is there any Sitemap?
    Yes, you can access the sitemap by accessing the /sitemap path on the website.
  • How can I remove / change the footer copyright?
    You can remove the footer text or change it by editing the views/shared_includes/footer.php file.
  • I am getting limited when trying to check an instagram account
    As of June 2020, Instagram is blocking / banning at a much quicker rate servers that they feel like they make too many requests. In this case, the best option is to try and start using high quality proxies to split the requests to other IP's.

About

This project is solely sold on Alkanyx.