Latest Post

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 | | 828 Viewer | Category : Laravel

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></td></tr><tr><td>2</td><td>3</td><td>4</td><td>ram</td><td></td></tr><tr><td>3</td><td>4</td><td>2</td><td>ade.....

By Hardik Savani | January 25, 2016 | | 16891 Viewer | Category : Laravel

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 | | 2959 Viewer | Category : Laravel

How to Solve overwrite index.php in windows wampserver ?

Many time you have face a problem in windows wampserver or virtualhost of index.php file overwrite. i also fetch that problem like: http://localhost/test/index.php/admin In this url you can see index.php wtite in url, but URL must be without index.php. so if you are using windows wampserver then you can easily solve out this problem by folowing step: <strong>1. Open File : </strong>C:\wamp\bin\apache\Apache2.4.4\conf\httpd.conf <strong>2. Find : </strong> #LoadModule rewrite_module modules/ and Then, Just Change, Only remove ‘#’ sign. <pre> #LoadModule rewrite_module mo.....

By Hardik Savani | January 23, 2016 | | 1303 Viewer | Category : PHP Wampserver Installation

How to set gmail configration for mail in Laravel?

If you are working with laravel and you need to setup gmail configration for send email. if you want to set configration of gmail then first go to mail.php file, you are work on laravel 4 and laravel 5 its not issue, because you can set comman setting for both version of laravel framwork. <strong>Mail.php</strong> <pre class="language-php"> 'driver' => smtp, 'host' =>, 'port' => 587, 'from' => ['address' => '', 'name' => 'Test'], 'encryption' => tls, 'username' =>, 'password' => test123, 'sendmail' => '/usr/sbin/sendm.....

By Hardik Savani | January 22, 2016 | | 6606 Viewer | Category : Laravel

Page Frontside Validation Command toSql ppa node.js enableQueryLog Calculate Zoho mail maatwebsite Laravel Cashier JWT Module Delete parse Select Strip Tags Site Mail Null CloudConvert API Bitbucket WHERE Query Check filter_var read more voyager package Multiple array_combine File Record Parsley Controluser encrypter SweetAlert Plugin Blade inject Plugins Count CRUD pop() Highchart Paytm dompdf public_path Interface nl2br Notification refs thomaswelton/laravel-gravatar clockface plugin Generate Automatically Old Pixel Laravel Eloquent Animation Xampp Permission PHPExcel Linux throttle GuzzleHttp LIKE Query Search Carbon Git Scratch Run Project Access groupBy() Send Foreign Key Bootstrap Tokenfield Plugin API Twitter OAuth Form Validation Modal intervention/image Billing String Popup Box Sitemap Sortable Animate Subscribe Custom Command Highlight JS Laravel 5.4 - Markdown Mailables Flash Message softDeletes Paypal Payment Gateway CASE_LOWER Issue Chart Node JS Route KCFinder Instagram API Validation orderBy xoxco tags input str_replace Example Language ServiceProvider Laravel 5.2 Eloquent-Sluggable Package Remote PHP Rewrite Join Convert Letter Excel Recursive Location Commit upload_max_filesize MassAssignmentException Backup str_random() Dynamic Dependant Dropdown Application whitespace roumen/feed package MySQL Subquery Sql Prompt modal Month User Loading Path MySql Pull Failed Facebook API json() New Features Add Google Map Terminal Scroll Attribute Particular MVC Laravel 5.3 Now laravel-elixir Laravel 5 Composer