Category : Laravel



Laravel 5 notification alert using bootstrap notify plugin example

We always require to notification alert after some action like if you remove items then notification popup will open with message like "Item removed successfully", same as on every action like create, update, listing or others. As specially we are working on admin panel, it's mandatory. So, i would like show you how to add bootstrap notify js plugin notification popup in Laravel 5.4 from scratch. bootstrap notify plugin provide us success message notification, info message notification, warning message notification, error message notification that way we can add notification with good layout .....

By Hardik Savani | March 11, 2017 | | 25435 Viewer | Category : Laravel
READ MORE

Laravel 5 - Custom Helper Facade Class Example from scratch

Today, In this post i am going to share with you how to create custom global helper functions using Helper Facade in our Laravel 5 application. We always need to define some global functions for our application because that way we can access that helper functions from every file of our project. In this tutorial i am going to share with you how we can make global helper function in Laravel framework from scratch. It is very important to create custom helper functions we have before start our projects. In this post we learn how to create custom Helper facade, i also posted few days ago <a href=.....

By Hardik Savani | March 5, 2017 | | 18844 Viewer | Category : Laravel
READ MORE

Laravel - How to search with comma separated values using Query Builder ?

Sometimes, we require to manage to take single column for multiple integer ids, for example if we have "posts" table and require to set multiple tags on each post, so at that time we can take just single column and store selected tags ids. this way will use less memory. It is simple to store data into row, but as you think how we can search or find specific tag id data from comma separated column value using laravel query builder. However, It is possible using <strong class="path">"find_in_set()"</strong> of MySql predefine function, We can use find_in_set() using whereRow() of laravel query .....

By Hardik Savani | March 2, 2017 | | 7499 Viewer | Category : Laravel
READ MORE

Laravel 5 - Simple user access control using Middleware

We always require to built user access control in our application, when we start. I posted <a href="http://itsolutionstuff.com/post/laravel-52-user-acl-roles-and-permissions-with-middleware-using-entrust-from-scratch-tutorialexample.html" target="_blank">User ACL Roles and Permissions using entrust</a> for laravel 5 application. But as you can see on my post it is very useful and fantastic, But if you have big application or like e-commerce application. Because User ACL is take a time to implement. Yes, if you have small or medium level application and you don't require to make permission with.....

By Hardik Savani | February 26, 2017 | | 63491 Viewer | Category : Laravel
READ MORE

Laravel 5 - Example of Database Seeder with insert sample data

We should know what is database seeder in laravel and why we should use before start example of database seeding. Laravel provides a tool to add sample or dummy data to our databases automatically. that is call it database seeding. Laravel database seeder through we can add simply testing data on our database table. Database seed is extremely useful because testing with various data allows you to likely detect bugs you otherwise would have overlooked. We have to simple make one time seeder with some dummy data, that way we can simply reuse when you deploy project first time. We can make seede.....

By Hardik Savani | February 23, 2017 | | 24131 Viewer | Category : Laravel
READ MORE

How to integrate stripe payment gateway in Laravel 5.4 Application ?

Today, I am going to show you How to integrate stripe payment gateway in our Laravel application. In this tutorial i explain step by step example code of How to integrate stripe payment gateway. Here i give you full example of How to integrate stripe payment gateway step by step like create laravel project, migration, model, route, blade file etc. So you have to just follow few step as listed bellow. <strong class="step">Follow Bellow Few Step:</strong> <strong>1)Install Laravel Application</strong> <strong>2)Database Configuration</strong> <strong>3)Install Required Packages</strong> <stron.....

By Hardik Savani | February 18, 2017 | | 49753 Viewer | Category : Laravel
READ MORE

How to get keys name from array using array helper in PHP Laravel ?

Few days ago, I was working on my new Laravel 5.4 application and i require to get keys name from my array. i was thing how we can get it and laravel provide us for to do it. Finally i found array helper function in Laravel docs. There are several array helper function available for array. I found array_keys() helper for getting keys name from our array. array_keys() will return array of keys. It could be easy to work with keys name in array. So in this example i want to share with you small example using array_keys() helper. I created one route "myarraykeys" with my $myArray variable, and .....

By Hardik Savani | February 18, 2017 | | 1923 Viewer | Category : Laravel
READ MORE

Laravel 5 - "syntax error or access violation 1055 in group by" Solved

Yesterday i was working on my Laravel 5.4 application and when i use group by statement in query builder I found error like as bellow: <br/> <strong> SQLSTATE[42000]: Syntax error or access violation: 1055 'admin.products.name' isn't in GROUP BY (SQL: select `products`.*, SUM(products_stock.stock) from `products` inner join `products_stock` on `products_stock`.`product_id` = `products`.`id` group by `products`.`id`) </strong> I was thinking what will be error and why it comes. i thought maybe it comes from mysql. i just add following query using laravel builder as like bellow: <strong>Laravel.....

By Hardik Savani | February 15, 2017 | | 4174 Viewer | Category : Laravel
READ MORE

How to execute artisan commands from route or controller in Laravel ?

Sometimes we require to run php artisan command from route or controller file in out Laravel Application, However we can do it using Artisan facade. Laravel Artisan facade that way we can easily run all artisan command with argument. Artisan facade have two method call() and queue(), queue() through we can simply make process in queue like email sending etc. So let's see simple example with route. In this example we run "php artisan migrate" command using artisan facade. Here i bellow example you can learn how you can run artisan commands from route. <strong>Example:</strong> <pre class="pre.....

By Hardik Savani | February 12, 2017 | | 7445 Viewer | Category : Laravel
READ MORE

How to integrate paypal payment gateway with laravel 5.4

Today, I am going to show you How to integrate paypal payment gateway in our Laravel application. In this tutorial i explain step by step example code of How to integrate paypal payment gateway. Here i give you full example of How to integrate paypal payment gateway step by step like create laravel project, migration, model, route, blade file etc. So you have to just follow few step as listed bellow. <strong class="step">Follow Bellow Few Step:</strong> <strong>1)Install Laravel Application</strong> <strong>2)Database Configuration</strong> <strong>3)Install Required Packages</strong> <stron.....

By Hardik Savani | February 8, 2017 | | 192393 Viewer | Category : Laravel
READ MORE

    Multi select autocomplete jquery example with code

    Multi select autocomplete jquery example with code

    Open Post

    Laravel guzzle http client POST request example

    Laravel guzzle http client POST request example

    Open Post

    How to copy to clipboard without flash in AngularJS ?

    How to copy to clipboard without flash in AngularJS ?

    Open Post

    Laravel 5 database backup using Laravel Backup Package

    Laravel 5 database backup using Laravel Backup Package

    Open Post

    Response download with file in Laravel 5.3 example

    Response download with file in Laravel 5.3 example

    Open Post

    AngularJS - convert comma separated string to array example

    AngularJS - convert comma separated string to array example

    Open Post