Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

Laravel: php artisan commands

Here I am trying to list all Laravel PHP Artisan commands one by one for my reference and your too.   – To create and update table by migration php artisan make:migration Create_Table_Name  -> create a new table php artisan make:migration Update_Table_Name_Column_Name -> update table php artisan make:migration Add_Column_Name_Table_Name  -> add a new column to a table […]

Update – Please visit skpaul.me for latest posts and updates

Hi, Greetings!! Thanks for visiting my blog, I have open a blog (https://skpaul.me). So from now, you will get all latest posts and updates on https://skpaul.me.   Please take a look on my personal blog (https://skpaul.me), and let me know your comments and review.   Thanks in Advance sk paul https://skpaul.me

How to define Global Variable or Constant in Laravel

We often need to define global variables/constants for our application, like Status, Conditions, Countries (we can put all countries in table as it will be along array/object), also weekdays, weekends and e.t.c. vary on projects. Status (Active, Inactive) and Conditions (Ok, Good, Better, Best) or Grade (F, C, D, A, A-, A+), so like these […]

Update (custom) XAMPP/WAMP/LAMP default landing page layout

We are building website and applications on localhost and I use XAMPP package on Linux for my local development.   After installing Xampp, we always get a default home page from Xampp and most of the time we don’t need that. Basically before writing this article I always delete all items of htdocs/www folder, but […]

Laravel 5.1: Unsupported operand types (FatalErrorException in …)

Ok. When I am upgrading my application from Laravel 5.0 to 5.1 I get an falat error that this showing “Unsupported operand types”   What did I do on Laravel 5.0: I add two array with in + operator, and that is the problem. So, I looking for solution and get this on Laracast $item_list […]

Laravel 5 tricks (rough for me)

I need these few thing when I am working on Laravel 5. You can add more by comment..   How to install packages by composer ————————————————– adding a package: composer require vendor_name/package_name removing a package: composer remove vendor_name/package_name adding form and html package: —————————– composer require illuminate/html for pdf package (reporting: generating pdf): ——————————————- composer […]

How to add a new (About Us) Page in Oscommerce 2.3.3

Nowadays I am working on osCommerce and I need to create a new/custom About Us page for company profile but I don’t get any option in admin panel. Surprisingly there is no option to manage pages like About Us, Terms and Condition, Privacy Policy and etc. Even you can’t create a new menu from admin […]

How to find src attribute of image tag in php?

In my case, I had a string containing exactly one <img /> tag (and no other markup). And I was trying to get the src attribute. // get the featured image $image = ‘<img src=”path/to/image_file” />’; // get the src for that image $pattern = ‘/src=”([^”]*)”/’; preg_match($pattern, $image, $matches); $src = $matches[1]; unset($matches); In the […]

PHP code to execute MySQL script

There are advanced and comfortable tools to manage your MySQL databases (i.e.  server side: phpMyAdmin, client side:  SQLyog). But sometimes you can not use those tools and need the ability to execute some SQL script on server by your own hands, easy and fast way. What to do in such situation? Use this PHP code […]

Wordpress Social Share Plugin powered by Ultimatelysocial

Remote PHP, Laravel, LAMP developer experience in Oracle Service Cloud

Hi, You can subscribe to get emails
about technology hacks, tools and many more.