A very few days ago i was working on my laravel 5.3 application and i require to use WordPress API. I was thinking how to use WP API, But i found docs for WordPress API, But i don't know how to fire GET, POST, PUT and DELETE request from Laravel side. I did search lot but nothing to find good.
However, I found guzzlehttp package for laravel and little bit read about that, i understand we can simply fire get, post, delete etc request from laravel using guzzlehttp client through. But i was also one query how to make basic auto with POST request but here also solution for this.
So in this post.....
If you want to use Form or Html class and when you will see error like ‘HTML’ class not found OR ‘Form’ class not found. don’t worry about that because Laravel 5 change the package. you should download the HTML and FORM class helper from given instruction above.
Add given bellow text to your composer.json file.
<pre>composer require laravelcollective/html</pre>
after fire composer update command After Update composer, open config/app.php and add this line to the ‘providers.....
In this post i am going to give you example of how to generate barcode in laravel application. we will create barcode using milon/barcode package that provide several way to generate QR Code and barcode. If you need to generate barcode for your products then you generate barcode sticker in laravel application using milon/barcode package. I added preview of barcode after finish example you can find output like bellow preview. It's provide several barcode like Qr Code, PDF417, C39,C39+, C39E,C39E+, C93, S25,S25+, I25,I25+ etc. You have to just follow few step:
Sometimes, we may require to hide show password input field so, user can see what he written in password in register form or any other form. So, If you used Bootstrap framework then you can simply do it by using bootstrap-show-password.js plugin.
Bootstrap show Password plugin give us to good layout and with we can also custom set class when password hide or show. We can also set toggle hide show password input field.
In this full example i use bootstrap-show-password.js plugin for hide show password field. You can sole use this example simply by bellow small example.
Angularjs Pagination is not simple like laravel, code php etc, because we have to manage it with JS. In this tutorial i give you to build simple way pagination in your angularjs application.
In this example we will use dirPagination directive to add paginate. Pagination Directive provide us very simple way to create paginate like set itemsPerPage, dir-pagination-controls etc. In this example you can see how it simple. You can get more information about Pagination Directive from here : <a href="https://github.com/michaelbromley/angularUtils/tree/master/src/directives/pagination#basic-example".....
In Nowdays, Social authentication is important to implement in website because nowdays most of the users or developer etc will connected with Social network like facebook, twitter, google+, gitbub etc. So, In this post i want to share with you how to do sign in with facebook and how to do sign up with facebook. Laravel 5 provide very easy way to implement login with your facebook account and register with your fb id. Laravel 5 provide us Socialite package that is help to social authentication. In this post we will make example same as like bellow preview and you can do that easily by using few.....
When i was working on ACL module for my project, i fetch error like : This cache store does not support tagging, if you use zizaco/entrust package for ACL and you fetch this error then you have to set array as cache driver, so open .evn file and change CACHE_DRIVER value this way:
<pre class="prettyprint lang-php">
Its very common need to get last insert id in programming field, if you are working on laravel framework and you want to fetch last created id, i mean max id, then you do easily.laravel provide method to get last inserted id.
If you are working with DB::table() then you have to use insertGetId() for insert data into database. this function always return inserted record id(primary key).it is very simple way to get id, in following example you can see and undestand more:
public function getLastInsertedIdDB()
$id = DB::table('items')->inser.....
Laravel 5.3 released few days ago, that update several part from laravel 5.2, Laravel 5.3 also change mail sending function. Laravel 5.3 introduce mailable class for mail sending like Laravel 5.3 event and mailable class provide several method like view(), from(), text() etc. Mail send example is pretty interesting then laravel other version and also very simple with fully customize.
Today, i am going to tell you how to send simple email with gmail smtp configuration using laravel 5.3 mailable class. It is very simple and best way. you have to just follow few step and you will get simple mail.....
After complete our fist part of Laravel 5 - Dynamic Dependant Select Box using JQuery Ajax Example, Now we have to do main task for Dynamic select box value. In this part we follow two step for create Controller File and Laravel Blade File.
In this part we write code for how to manage controller method and how to give response them. So let's follow this bellow remaining two step of change drop down options on change of parent dropdown. So let's follow:
<strong class="step">Step 5: Create Controller</strong>
In this point, now we should create new controller as AjaxDemoController in th.....