Programmatically publish tweet on the Twitter using PHP

The Twitter is the most popular social network. Twitter is mostly used for marketing of your product or blogs. Twitter is the social network many times we don’t have time to manually publish tweet on time. So let’s how we can Programmatically publish tweet on the Twitter using PHP

Continue reading Programmatically publish tweet on the Twitter using PHP

Laravel – #1071 Specified key was too long; max key length is 767 bytes

When first time I installed the Laravel 5.4 and generate the Auth module using artisan command. When I am going to run Laravel migration command I got an error like “Specified key was too long; max key length is 767 bytes”, I want to share solutionĀ of that issue on my blog.

Continue reading Laravel – #1071 Specified key was too long; max key length is 767 bytes

How to remove WordPress admin bar

WordPress is the powerful CMS. WordPress provide awesome functionality to the admin bar. Using admin bar we can quickly access some admin feature form the front side of the WordPress. But many times we don’t want to display its front side. So let’s see how to remove WordPress admin bar.

Continue reading How to remove WordPress admin bar

Custom validation rules in Laravel 5.5

Laravel provides powerful validation rules. Laravel provides lists of the validations rules that help us to validation incoming data before saving it in the database. We can easily print validation messages on blade file. Laravel provide manually creating validation request and Automatic redirection to the form. Continue reading Custom validation rules in Laravel 5.5

Create your first Shortcode in WordPress

WordPress provides awesome shortcode functionality. The shortcode is the simple set of the function used in WordPress post or pages. The shortcode enables Theme/Plugin developer to display special kind of content like Form, Menu, Listing, Recent Posts, Tags, Category, Related Posts etc… So, The shortcode is very useful for WordPress developer. let’s see how to create your first Shortcode in WordPress.

Continue reading Create your first Shortcode in WordPress

Laravel 5.5 HMVC modular structure

Laravel is the amazing framework. However when it comes to writing more complex and bigger application easily. Nowadays the Laravel is mostly used PHP framework for developing complex and bigger application. The default Laravel structure comes with cumbersome and not ideal.

Continue reading Laravel 5.5 HMVC modular structure

Laravel 5.5 create a first artisan console command

Laravel is the most popular PHP Object Oriented framework. Laravel provides awesomely artisan console functionality. Laravel artisan console provides lists of commands that can assist you while building your application. So, How can we create a first artisan console command?

Continue reading Laravel 5.5 create a first artisan console command