For small-scale applications single route file is sufficient but large-scale applications its cumbersome to maintain and organize the routes. The solution for this was creating…
1 CommentCategory: PHP / MySQL
Hey, Today I would like to show you how we can convert PDF to JPEG using imagick extension. Imagick is a native php extension to…
15 CommentsToday I would like to write about one of the little-known features of laravel eloquent called “replicate”. To copy everything from existing row we just…
4 CommentsLaravel’s route model binding has been around for a while, but Laravel 5.2 is about to make it even easier with Implicit model binding. Implicit…
Leave a CommentRecently I have migrated core PHP application to the Laravel5 framework. The old application used SHA1 encryption so I have implemented Hashing contracts of laravel5…
2 CommentsIn this tutorial, I will show you how to add a custom PHP class in Laravel 5.x application. For example, Lets call our class Common.php.…
8 CommentsIn this post, I would like to show how to automatically log out the user after some period of inactivity. Session timeout or Session expire…
15 CommentsEnabling and disabling maintenance mode in Laravel 5 is simple, you just need to issue following artisan commands – To enable maintenance mode php artisan…
Leave a CommentPHP’s built-in Web Server designed specifically for development and testing. Since PHP5.4, CLI SAPI comes with a built-in web server. A Built-in web server makes…
Leave a CommentIn this post I would like to show how you can add text to an image with PHP, GD Library. In this post, we will…
2 CommentsToday I got a situation where I need automatically zero filled number. I realized it could be done much str_pad. The reason I am writing…
Leave a CommentIn 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 CommentIn 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 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 Comment