Latest Post

HTML/FORM not found in Laravel 5?

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>"require": { "laravel/framework": "5.0.*", "laravelcollective/html": "~5.0" },</pre> <strong>OR</strong> <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.....

By Hardik Savani | January 27, 2016 | | 3906 Viewer | Category : Laravel
READ MORE

How to add LIKE query in Elasticsearch?

I want to use LIKE query as work on sql, i mean If using a SQL or Mysql 'Like' query to query data it will return data even if its only partially matched. if i search just 't' then it will return all the records match 't'. so you can add LIKE statement by using 'query_string'. you can easily implement LIKE statement by using 'query_string', in following example you can see how to impletemt: <pre class="language-php"> $search = 't'; $sql = json_decode(' { "type": "main", "query_cache": true, "body": { "size": 500, "query": { .....

By Hardik Savani | January 26, 2016 | | 800 Viewer | Category : Elasticsearch
READ MORE

PHP Laravel – How to solve “You need to specify a file path to store the seed laravel ” ?

when you install laravel and get the records from database then occur “You need to specify a file path to store the seed laravel” error. that error happened because your php can not loading openssl extension. so, If you are using windows then you should enable openssl extension in following path : <pre> Path : C:\wamp\bin\apache\Apache2.4.4\bin </pre> Find: <pre> ;extension=php_openssl.dll INTO extension=php_openssl.dll </pre> Try this..........

By Hardik Savani | January 25, 2016 | | 555 Viewer | Category : Laravel
READ MORE

Order by using multiple columns and manually array field in Laravel?

If you want to sort multiple columns in Laravel by using orderBy(). Whenever you need to give multiple column in your query then you can use twice time orderBy() and give them. you can give multiple columns in laravel by following example : <strong>Users Table :</strong> <table class="table table-bordered pagin-table"><tbody><tr><th>id</th><th>site_id</th><th>sub_site_id</th><th>name</th><th>email</th></tr><tr><td>1</td><td>4</td><td>7</td><td>john</td><td>john@gmail.com</td></tr><tr><td>2</td><td>3</td><td>4</td><td>ram</td><td>ram@gmail.com</td></tr><tr><td>3</td><td>4</td><td>2</td><td>ade.....

By Hardik Savani | January 25, 2016 | | 4641 Viewer | Category : Laravel
READ MORE

How to add Delete cascade to existing column in Laravel 5, without remove column?

Whenever you are making table using migration with foreign key. like i give you example as under and you forgot to set delete cascade on table then how can you add delete cascade in existing table. so let's see your migration : <pre class="language-php"> public function up() { Schema::create('locations', function (Blueprint $table) { $table->increments('id'); $table->integer('id_option')->unsigned(); $table->foreign('id_option')->references('id')->on('options'); $table->decimal('lng',11,8); $table->string('streetAddress1'); $table->decimal('lat',11,8); .....

By Hardik Savani | January 24, 2016 | | 1714 Viewer | Category : Laravel
READ MORE


nl2br Server word-wrap whitespace Linux Chosen JS Package strpos Variable Multi Auth Progress Bar PHPExcel php.ini PostgreSQL Repo DB daterangepicker validator.js Tutorial Current Form JS Plugin Numeric 404 error page Highlight JS apache2 Allow glob hasColumn Attr chumper/zipper toastr js array_change_key_case Mailchimp API Laravel 5.3 Codeigniter DATE_SUB Cross Remember me MVC Import jquery.lazyload.js oauth Controller Version AngularJS Filter PayPal IP Hard Tooltip Current Page Namespace MSSQL Event bootstrap-multiselect plugin tagsinput.js Bootbox.js str_random() Admin Panel SEO split Object to Array intervention/image Calculate RSS Ip Address file_exists Middleware Popup Box Base URL Lightbox Source Code mac DB Statement Configuration ACL Javascript clearbit API csrf_token Artisan Limit Twitter Bootstrap colorpicker Animate GuzzleHttp Class DB::raw() Automatically Typeahead JS MySql Character Dropbox API marker Form Validation Switchery JS Parsley Sort Laravel laravel-elixir ANDROID_HOME Bootstrap-lightbox Plugin Sublime text 3 WHERE Query Number AngularJS Gmail Specific Protection select box search Twitter API Null xoxco tags input Dynamic Dependant Dropdown response() Issue Instagram API typed.js plugin Codeigniter 3 Master Animation Homepage orderBy User max_file_uploads Local Google API bootstrap-growl Letter Object uppercase JSON file_exists() Stripe Undefined Flash Message Ionic framework parse Top Sendgrid gulp Location Record Bitbucket croppie.js LIKE Query voyager package no-captcha HTML to PDF View enableQueryLog Laravel 4