When developing a new library in PHP, it’s sometimes useful to symlink the library into a project while you work on it. Find out how to update your Composer config to achieve this.
- Home
- Posts tagged "Tutorial"
Posts tagged "Tutorial"
Making Ajax Calls Sequentially using jQuery
In a recent project, there was a need to make ajax calls to a remote server in a sequential manner to synchronise data. Each call would wait for the previous one to complete, before triggering the next one. See the code here.
Ajax, JavaScript, jQuery, TutorialAWS SNS: Sending a SMS Message using the AWS PHP SDK
Amazon makes it really easy to send SMS messages worldwide using their SNS or Simple Notification Service. This tutorial shows you how you can send a SMS in less than 10 lines of code. This particular example uses composer to install the AWS SDK.
Amazon Web Services, PHP, SMS, TutorialLaravel 5.2: Triggering Password Resets Outside of PasswordController
In a recent project I’ve been building a Customer Service Portal where “agents” are allowed to perform certain actions on a user’s account. One of the required features was to send a password reset email to the user. Luckily, this feature is easy to implement thanks to Laravel’s built-in traits.
Laravel 5, Security, TutorialCordova: Deleting a File using the File Plugin
The Apache Cordova documentation is rather good, but occasionally you encounter information that is either out-of-date or missing entirely. One such instance is the ability to delete a file when using the File plugin – the documentation for this function is missing, so to help others, I’ve included some sample code to achieve this.
Cordova, JavaScript, TutorialCreating / Editing a PDF Using PHP
In a recent project, I was asked to create a dynamically generated PDF with the user’s information. In my research, I found that using FPDF was the best the best way to achieve the client’s requirements. Here is a quick tutorial on how you can use a existing PDF with dynamic content using only PHP.
Composer, PDF, PHP, TutorialAWS: Install MongoDB 3.x on Ubuntu 14
If you’re running the default Ubuntu 14 LTS server on AWS, you’ll find that the package manage will only install MongoDB v2.x. However, you can install the latest version by updating apt-get using this tutorial, allowing you to use install the Parse API Server.
Amazon Web Services, MongoDB, Tutorial, Ubuntu