PHP continues to evolve from its humble beginnings when Rasmus Lerdorf started the as a high level wrapper to a set of C binaries that would allow webmasters to manage project websites easier. Now, 25 years later, PHP has evolved into a powerful OOP language with among other features, Typed Properties, and Attributes. The latter […]
Composer is the de-facto dependency manager for PHP applications which was initially released almost 8 years ago March 2012. Using Composer in your PHP can be used to increase one’s code reusability and enable your project to easily integrate maintained PHP libraries from the Packagist, the main PHP Composer repository. Today we’ll highlight a few […]
Localization in Laravel is a fully supported feature that allows you to easily provide your application or website in multiple languages. Learn how to get data in lang in Laravel.
At Amezmo, we’ve recently rolled out remote database access over SSL. In this post, we will extend WordPress’s default MySQL connection options to support SSL connections to the server. How does WordPress connect to MySQL? The file wp-includes/wp-db.php contains a class called wpdb. This class setups the MySQL connection with the mysqli PHP extension. Since […]
Changing the default storage path in Laravel can be acomplished using a service provider. In this post, we will share how to change the default storage path.
Amezmo is a platform as a service dedicated to PHP app hosting. Start your free trial today and get your app deployed fast. By default, Amezmo will create a dedicated directory for your application’s logging purposes. We recommend using this dedicated directory so you can persist your logs across deployments. The full path is /webroot/logs […]
In this tutorial, we will deploy a Laravel application with a Redis backed queue, a MySQL database, and Nginx web server running PHP 7.4. We’ll also setup continuous deployments from GitHub and automated database backups This guide has been updated. Read our official guide on hosting Laravel applications. Requirements Laravel repository hosted on GitHub Amezmo […]
Automate backing up your database from the Amezmo dashboard. We’ve now released a new feature allowing you to backup your database daily. You choose a time, and we’ll backup your database for you automatically. You can view and download your backups the same way you would if you backed up manually. This feature comes at […]
Introduction Formatting currency is an important practice that will help you implement locale-aware visual representions of your pricing text. Using a standard library is an effcient and extensibile way to format your prices to your users. Using a standard library to format your curreny is helpful in situations where your business expands into a market […]
Launching a new application on Amezmo starts off with you providing a domain name of your choice and a new database password. 30 seconds later, you have a full-stack Ubuntu 16.04 server with all the system software configured for you. By default Amezmo installs the standard stack for running a modern Laravel/PHP/Symfony application. Side note: […]