Lunatio
This page describes the installation and configuration steps of phpShort software.
If you're not familiar with the instructions on this page, we offer installation Services, for an additional fee.
Before installing the software, please make sure your server meets the requirements below.
Software
Modules
PHP 8.1.x
BCMath, Ctype, Fileinfo, JSON, Mbstring, OpenSSL, PDO, Tokenizer, XML, GD, cURL
Apache 2+
mod_rewrite
MySQL 5.7.7+
MariaDB 10.3.17+
- Create a new MySQL database.
- Create a new MySQL username and password.
- Assign full privileges to your database username.
Useful resources
cPanel - MySQL database wizard
Before starting to upload the files, please make sure your file explorer has the option to view hidden files turned on. On some operating systems, the dotfiles are hidden by default.
Upload what's inside the Software folder on the web root folder of your domain. This folder is generally called public_html, html, or example.com, but depending on your server's configuration, it might be named differently.
Useful resources
Plesk - Uploading content with File Manager
Set the access permissions (CHMOD) to 775 to the following files and folders:
- Files
- .env
- Folders
- bootstrap/cache
- lang
- public/uploads/brand
- storage
- storage/framework/
- storage/framework/cache
- storage/framework/cache/data
- storage/framework/sessions
- storage/framework/views
- storage/logs
Useful resources
cPanel - Update file or folder permissions
Plesk - Setting file and directory access permissions
Configure your web server's document / web root to point to the /public directory of the software. For example, if you've uploaded the software in example.com folder, your web directory should be changed to example.com/public folder.
Useful resources
Plesk - Defining a custom document root
- Go to
https://example.com/installand follow the installation wizard to complete the installation. - After you've installed the software, login into your user account.
- Once logged-in, go to
https://example.com/adminand activate your License Key.
Useful resources
Envato - Retrieving the license key
The software requires a cron job task to be set up on your server in order to automate some of its functions.
- Go to Admin Settings Cron job.
- Copy the
Commandfield and set up a cron job for it that runs every minute.
Useful resources
- Go to Admin Settings Email.
- Change the
Driverfield value to SMTP. - Fill in the rest of the fields with the SMTP credentials from your SMTP provider.
- Login into your Google Cloud Console account.
- Create a New Project.
- Go to APIs and Services.
- From the sidebar, go to OAuth Consent Screen section.
- Set the
User Typefield value to External and click on Create button. - Fill in your app details, and click on Save and continue button.
- On the Scopes section, click on Add or remove scopes button and select the userinfo.email and userinfo.profile scopes, and complete the remaining steps.
- From the sidebar, go to Credentials section.
- Click on Create credentials button and then select OAuth client ID.
- Set the
Application typefield value to Web application. - On the
Authorized redirect URIsfield paste your redirect URL, which can be found in Admin Settings Authentication Google. - Copy the
Client IDand theClient secretin Admin Settings Authentication Google.
- Login into your Microsoft Azure account.
- Go to App registrations and click on New registration button.
- Set the
Supported account typesfield value to Personal Microsoft accounts only. - Set the
Platformfield toWeb, and on theRedirect URIfield paste your redirect URL, which can be found in Admin Settings Authentication Microsoft. - Go to App registrations, click on All applications tab, and select your application.
- Copy the
Application (client) IDin Admin Settings Authentication Microsoft. - From the sidebar, go to Certificates & secrets section, and then click on the New client secret button.
- Copy the Client secret
Valuein Admin Settings Authentication Microsoft.
- Login into your Apple developer account.
- Go to Apple Membership section.
- Copy the
Team IDin Admin Settings Authentication Apple. - Go to Identifiers and then click on the Plus button.
- Register a new App ID, with the Sign in with Apple feature enabled under the
Capabilitiesfield. - Go to Identifiers section, and then click on the Plus button.
- Register a new Service ID, and then select it from the list.
- Enable the Sign in with Apple option, and click on Configure button, and on the
Return URLsfield paste your redirect URL, which can be found on Admin Settings Authentication Apple. - Copy the Service ID
Identifierin Admin Settings Authentication Apple. - Go to Keys section, and then click on the Plus button.
- Enable the Sign in with Apple option, and click on Configure button, and set the
Primary App ID, and create your key. - Copy the
Key IDin Admin Settings Authentication Apple. - Click on the Download button, and with a text editor open the downloaded file, and copy the
Private keycontent in Admin Settings Authentication Apple.
- Login into your Google reCAPTCHA account.
- Click on Create button to register a new site.
- Set the
reCAPTCHA typefield value to Challenge (v2), and then to Invisible reCAPTCHA badge, and fill in the rest of the fields. - Copy the
Site keyand theSecret keyin Admin Settings Captcha. - Change the
Driverfield value to reCAPTCHA in Admin Settings Captcha.
- Login into your hCaptcha account.
- Create a new Site.
- Fill all the other fields with the requested information.
- Copy the
Site keyin Admin Settings Captcha. - From the Settings page, copy the
Secret keyin Admin Settings Captcha. - Change the
Driverfield value to hCaptcha in Admin Settings Captcha.
- Login into your Cloudflare account.
- From the sidebar, go to the Turnstile section.
- Click on Add site.
- Set the
Widget Modefield value to Invisible, and fill in the rest of the fields. - Copy the
Site keyand theSecret keyin Admin Settings Captcha. - Change the
Driverfield value toTurnstilein Admin Settings Captcha.
To enable any of the payment processors, an Extended license is required. The payment processors can be enabled from Admin Settings Payment processors.
- Login into your PayPal account.
- Go to the My apps & credentials section, click on Live button and then on the Create app button.
- Copy the
Client IDandSecretin Admin Settings Payment processors PayPal. - Go to the My apps & credentials section, click on Live button and then select your app.
- Scroll down to LIVE WEBHOOKS and click on the Add webhook button.
- On the
Webhook URLfield paste your webhook URL, this can be found on Admin Settings Payment processors PayPal. - Under the Events types select All events and save your changes.
- Go to the My apps & credentials section, click on Live button and then select your app.
- Copy the
Webhook IDin Admin Settings Payment processors PayPal.
- Login into your Stripe account.
- From the menu bar, go to the Developers section of the Stripe dashboard and click on API Keys.
- Copy the
Publishable keyandSecret keyin Admin Settings Payment processors Stripe. - From the menu bar, go to the Developers section of the Stripe dashboard and click on Webhooks.
- Click on Add a new endpoint.
- On the
Endpoint URLfield paste your webhook URL, which can be found on Admin Settings Payment processors Stripe. - On the events to listen to field, click on Select all events, and click on Add events button.
- Click on Add endpoint button to create your webhook endpoint.
- Copy the
Signing secretin Admin Settings Payment processor Stripe.
- Login into your Razorpay account.
- From the menu bar, go to the Settings section of the Razorpay dashboard and click on API Keys.
- Click on Generate key button.
- Copy the
Key IDandKey secretin Admin Settings Payment processors Razorpay. - From the menu bar, go to the Settings section of the Razorpay dashboard and click on Webhooks.
- Click on Add new webhook.
- On the
Webhook URLfield paste your webhook URL, which can be found on Admin Settings Payment processors Razorpay. - On the Secret field add your own secret passcode.
- On the Active events field select all the Payment events and Subscription events.
- Click on Create webhook button to create your webhook endpoint.
- Copy the
Secretpasscode in Admin Settings Payment processor Razorpay.
- Login into your Paystack account.
- From the menu bar, go to the Settings section of the Paystack dashboard and click on API Keys & Webhooks.
- Copy the
Public keyandSecret keyin Admin Settings Payment processors Paystack. - From the menu bar, go to the Settings section of the Paystack dashboard and click on API Keys & Webhooks.
- On the
Webhook URLfield paste your webhook URL, which can be found on Admin Settings Payment processors Paystack.
- Login into your Coinbase account.
- From the sidebar, go to the Settings section of the Coinbase dashboard and scroll down to API keys.
- Create an API key, and copy the key in Admin Settings Payment processors Coinbase.
- From the sidebar, go to the Settings section of the Coinbase dashboard and scroll down to Webhook subscriptions.
- Click on Add an endpoint.
- On the
Endpoint URLfield paste your webhook URL, this can be found on Admin Settings Payment processors Coinbase. - From the sidebar, go to the Settings section of the Coinbase dashboard and scroll down to Webhook subscriptions.
- Click on Show shared secret.
- Copy the
Webhook shared secretin Admin Settings Payment processors Coinbase.
- Login into your Crypto.com account.
- From the menu bar, go to the Integrations section of the Crypto.com dashboard and click on API Keys.
- Copy the
Publishable keyandSecret keyin Admin Settings Payment processors Crypto.com. - From the menu bar, go to the Integrations section of the Crypto.com dashboard and click on Webhooks.
- Click on Add webhook button.
- On the
Payload URLfield paste your webhook URL, which can be found on Admin Settings Payment processors Crypto.com. - Copy the
Signature secretin Admin Settings Payment processor Crypto.com.
- All fields are optional.
- Follow the Google Safe Browsing guide to obtain an API key.
- Copy the
API keyin Admin Settings Advanced Google Safe Browsing.
Before updating the software, you must make a complete backup of your website.
If you've made any modifications to the software's files, your changes will be lost.
-
Make a backup of the
.envconfig file located on your server. -
Upload and replace all the files on your server with what's inside the
Softwarefolder. -
Restore your
.envconfig file on your server. -
Go to
https://example.com/updateand follow the update wizard.1 -
Updates that do not have database changes, will not show up in the update wizard.
-
You can contact us here.
-
We recommend using DigitalOcean, as they offer great performance and flexibility at an affordable price.
-
No, installation is not included. We offer installation services for an extra fee, please consult our Services section for more details.
-
Make a copy of the default
en.jsonlanguage file found in/langfolder, and change it according to your needs. -
You can add your custom CSS code in Admin Settings Appearance Custom CSS field.
-
You can add your custom JS code in Admin Settings General Custom JS field.
-
Advertising unit code can be added in the HTML template files.
-
The HTML template files can be found in the
/resources/viewsfolder. For example to edit the home page, you would edit the/resources/views/home/index.blade.phpfile. -
You can create custom page in Admin Pages.
-
You can paste the links of your legal pages in Admin Settings Legal.
-
If you're on a managed environment (cPanel, Plesk, etc), you need to manually add your custom domain in your panel, with the same root directory as the software's installation.
© 2025 Lunatio. All rights reserved.