ExpandURL v1.0 Documentation


Hello, Thanks for purchasing :)
The ExpandURL, installation is very simple only have to do it carefully. If you find installation complex then do not hesitate to contact me on CodeCanyon, I will do it for you through teamviewer without any extra cost (FREE).
Let's start!

Installation Requirements:

  1. Linux Web Hosting
  2. PHP >= 5.4
  3. PHP cURL Module Enabled

  1. Upload all the files of "dist" directory to your web server root directory. Usually it is "public_html" folder.

  2. After upload is finished then edit "index.php" file and on line 11 add your domain url instead of the "http://localhost/cc/expandurl/" text. For example, if your domain is "http://yoursite.com" then change "http://localhost/cc/expandurl/" with "http://youtsite.com/"...make sure you are putting "/" at the end of the domain url.

  3. Installation completed.

How to Edit Contents, Add ADs, and Locale

We are using file based data storage, so that customers don't have to face any SQL database issues. So everything is saved in files.


Advice: I would advice you to use either Notepad++ or Sublime Text to do editing of content. I am using Sublime Text 3 to do it.


Add Google Adsense or ADs Code:

Open app/SiteSettings.php file. It contains the data which you can change and update data on website. Like this:

Add Google Analytics Code:

Open app/SiteSettings.php file. It contains the data which you can change and update data on website. Like this:

Chaging Site Contents:

Open app/SiteSettings.php file. It contains the data which you can change and update data on website. This is for Like this:

The SiteSettings.php file is pretty self-explanatory. Just read the file and you'll get an idea of how to do it.


Chaging Site Language/Locale:

Open app/lang/en.json file. That is our language file. You simply have to edi the contents inside double quotes "SOME CONTENT" to reflect changes in the website.

Let us say, I want to change website language from english en to french fr. Then I'll first make a new file in app/lang directory and name it fr.json then I'll open the en.json lang file and copy everything inside it and paste it in french lang file. And then will replace the english texts to french text and save the file.

After saving the file, I'll open index.php file in root directory and will change Flight::set('SITE_LANG', 'en'); to Flight::set('SITE_LANG', 'fr'); and it's ready.


How to add Proxy (Optional)

To add proxies open "index.php" file on line 15 replace "ENTER_PROXY_IP_HERE" with your proxy IP address and on line 16 replace "ENTER_PROXY_AUTH_HERE" with your username:password make sure to maintain the format.


Custom Work

If you are looking to change the website design or make some code changes or add/edit any new feature then do contact me. I am available for freelancing :) Contact me via my CodeCanyon page and let's discuss your ideas.


FAQs and Information

Some frequently asked questions.

  1. How can I contact you?

    The best way is via my CodeCanyon profile (TheCodePress)

  2. What is composer.json and composer.lock files and why it's open to publicly?

    These are resource loading file and is important so don't delete it. These files are needed to be in root directory and even if anyone download it, you won't have any problem. It cannot do any harm.

  3. If I choose you for freelancing, how will you work?

    We'll first discuss your idea/feature. Then I'll give you an estimate cost (which is usually low compared to market). Then we agree on it. Then I'll start coding it. Then I install it directly via TeamViewer (i.e you do not need to give me any Login ID or Pass details). Then final payment and usually 1 month free support.


Thanks! You have been a great buyer :) If you like the project do rate us on CodeCanyon.