I recently had to build a website that would be used on shared hosting. At first, I went with a standard HTML
index.html file and then create a file called
contact.php to handle the contact form submit action. The website can be found at studio-renata.hr as soon as they move the website to the server that has PHP 5.6 version.
As I started coding the website the number of lines started to grow and I had a lot of duplicating syntax for stuff like images, containers etc.. Somehow I got over it and was feeling happy with it, but then I had to deal with validating the contact form using AJAX. As you can guess I did a quick research and found out that Laravel can run on shared hosting, but with a few limitations:
That being said, there are a few requirements that your server needs to have in order for Laravel to work:
To be honest, I haven't checked that my shared hosting server has mentioned PHP extensions, but since it all works I guess that it does.
In this tutorial, I will show you how to configure your Laravel application to be able to run on shared hosting. You can view the code for this tutorial on GitHub.
Laravel makes implementing authentication very simple. We will implement authentication in our existing application.
In this tutorial, we will cover creating, updating, deleting and viewing all multilingual articles.
We will implement a way for users to choose a language that they want.
Let's start with the basics. Learn how to change your application locale, write localization files and use translations in your Laravel application.