In this post, I would like to show you saving config data in the database in your CodeIgniter application. And I will show you, How…
Leave a CommentAuthor: Praveen Anaparthi
11+ years of IT industry experience holding a wide range of skill sets and roles with significant work on PHP, Node.js, Python, Ruby, Docker, React.js, Microsoft Azure, Azure DevOps, Windows PowerShell, Shell script, Jenkins, MongoDB, SQL, MySQL, Apache, Nginx. etc. It is my passion to learn new things and implement them as a practice. Aside from work, I like gardening and spending time with pets.
In PHP we have in-build functions to replace white-space from the start and end of the string these are trim, ltrim and rtrim. These functions…
Leave a CommentWebFontConfig = { google: { families: [ ‘PT+Sans:400,400italic:latin’, ‘Ubuntu:300,400,500:latin’ ] } }; var cb = function() { var wf = document.createElement(‘script’); wf.src = ‘//ajax.googleapis.com/ajax/libs/webfont/1/webfont.js’; wf.type…
Leave a Comment/** * Get google fonts * * @param integer $amount – Return a chuck of fonts * * @return Array of fonts */ function get_google_fonts(…
Leave a CommentCodeIgniter natively support storing session in the database. You do not need to do any changes in code, just a few configurations and it will…
1 CommentDesign patterns offer developers ways to solve technical problems in a reusable and elegant way. Probably module pattern is the most used and widely accepted…
Leave a CommentEnabling 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 CommentIn 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 Comment