Enabling GZIP compression on Nginx servers is easy and it improves application performance as well as saves bandwidth transfer. By following below steps you can…
Leave a CommentMonth: December 2015
In this post, I would like to show you creating polymorphic relationships in the Laravel5 application. Probable polymorphic relationships are the most advanced eloquent relationships…
Leave a CommentIn this post, I will walk you through, how to Setup Virtual Hosts in Ubuntu. Virtual Hosts are used to setting up more than one…
Leave a CommentIn this post I would like to show you getting any company logo with the use of Clearbit’s logo API and you can use those…
5 CommentsUpon successful login you can get current user details by called Auth::user() method. It will return null if no user logged in or there is…
2 CommentsIn PHP7 Reserved Word Restrictions was loosen. There are currently 64 keywords reserved by PHP and some of them would be very useful as a…
Leave a CommentIn this post, I would like to write about creating projects on XTRF using web services and PHP. XTRF is one of the most popular…
Leave a CommentI know we can achieve same with other methods but I am going do it with the Laravel’s Middleware. So let’s create Middleware called ForceHttpProtocol.…
2 CommentsIn this post, I am going to share Laravel installation steps. We Can install Laravel by using composer and Laravel installer. Laravel Installer is a…
Leave a CommentOften clients ask for different content types in WordPress. Creating custom post types in WordPress is a lot easier job. A custom post type can…
1 CommentIn this post, I am going show logging arrays and viewing logged items in the terminal in a very generic way. For this tutorial purpose,…
Leave a Comment$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, ‘https://devicecloud.digi.com/ws/v1/devices/inventory’); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, FLASE); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, FLASE); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); curl_setopt($ch, CURLOPT_USERPWD, ‘username:password’); $data = curl_exec($ch); curl_close($ch);…
Leave a CommentCORS stands for Cross-Origin Resource Sharing. Origin policy allows only the same origins to share data and this policy will prevent Cross-site Request Forgery attacks.…
6 CommentsI have recently spent some time trying with Laravel queue system, in this tutorial I am going to show you how to get started with…
10 CommentsXTRF is one of the most popular and fastest growing management systems for translation agencies and corporate translation departments. There is no tutorial on the…
3 Comments