pardeepkumar

Experience

7,900

10 Best Reply Awards

  • Member Since 5 Months Ago
  • 0 Lessons Completed
  • 0 Favorites

2nd October, 2018

pardeepkumar left a reply on Laravel Blade Syntax Is Not Working • 2 weeks ago

sfsdfds

1st October, 2018

pardeepkumar left a reply on Quick Validation Question • 2 weeks ago

I suggest you to try this article : Multiple File Uploading with Validation https://www.cloudways.com/blog/laravel-multiple-files-images-upload/

pardeepkumar left a reply on Laravel 5.6 Cron Job Not Working On Shared Hosting • 2 weeks ago

I suggest you try this article : Laravel Cron Job

https://www.cloudways.com/blog/laravel-cron-job-scheduling/

29th September, 2018

pardeepkumar started a new conversation Laravel 5.7 Features And Insatallation • 3 weeks ago

Let's try Laravel 5.7 installation on Managed Cloud and their features

https://www.cloudways.com/blog/install-features-laravel-5-7/

28th September, 2018

pardeepkumar left a reply on Authenticating Users In Phpunit Testing • 3 weeks ago

@elo i suggest you to try this article steps : Laravel Unit Testing

https://www.cloudways.com/blog/laravel-unit-testing/

pardeepkumar left a reply on Vue Pagination • 3 weeks ago

I Suggest you to try this article steps : Laravel with Vue pagination https://www.cloudways.com/blog/vue-pagination-in-laravel/

26th September, 2018

pardeepkumar left a reply on Laravel Paginate Links Not Work • 3 weeks ago

I suggest you to try this article steps : Laravel Pagination

https://www.cloudways.com/blog/vue-pagination-in-laravel/

25th September, 2018

pardeepkumar left a reply on Unit Testing Advice • 3 weeks ago

i suggest you to read and follow this articles steps : Laravel Unit testing

https://www.cloudways.com/blog/laravel-unit-testing/

pardeepkumar left a reply on How To Simulate Real Hosting? • 3 weeks ago

You should try Cloudways. They are manage hosting providers which makes it easy to create and manage dedicated servers on the choice of your infrastructure provider from (DigitalOcean, Vultr, Linode, AWS, GCE) . Every server you create with Cloudways comes with ThunderStack.

ThunderStack consist of Apache, NGINX , Varnish, Memcached, Redis, PHP-FPM , MySQL and MariaDB ThunderStack guarantees to make your websites 100x faster.

pardeepkumar left a reply on Laravel Api Rate Limiting Throttle, Increase Limit Greater Than 60 • 3 weeks ago

For disabling the rate limiter in Laravel, first go to the app/Http/Kernel.php. There you will find default throttle limit defined by Laravel for all api routes. Just comment out that code to disable it completely.

protected $middlewareGroups = [
...
'api' => [
'throttle:60,1',
],
];

For more information read this article https://www.cloudways.com/blog/laravel-and-api-rate-limiting/

24th September, 2018

pardeepkumar left a reply on How To Use Laravel Throttle • 3 weeks ago

Route::middleware('auth:api', 'throttle:60,1')->group(function () {
Route::get('/user', function () {
//
});
});

for more information i suggest you should try this articles steps

https://www.cloudways.com/blog/laravel-and-api-rate-limiting/

pardeepkumar left a reply on Form Requests & WithValidator() • 3 weeks ago

I suggest you to try this article

I have use Bootstrap classes for showing the alert for validation and use Laravel Validation methods to validate the type of file.

https://www.cloudways.com/blog/laravel-multiple-files-images-upload/

pardeepkumar left a reply on Laravel To Mobile App (Android/IOS Platform) • 3 weeks ago

I suggest you to try this article steps How to Create and Connect Android App With Laravel API https://www.cloudways.com/blog/connect-android-app-with-laravel-api/

pardeepkumar left a reply on Develop Simple Android App Using The Laravel Login System. • 3 weeks ago

i suggest you to try this articles steps How to Create and Connect Android App With Laravel API

https://www.cloudways.com/blog/connect-android-app-with-laravel-api/

18th September, 2018

pardeepkumar left a reply on Laravel 5.7 Upgrade Issues • 1 month ago

Just check and read this official guide :

https://laravel.com/docs/5.7/upgrade

I also suggest you to try this articles steps : Laravel 5.7 installation process and features

https://www.cloudways.com/blog/install-features-laravel-5-7/

pardeepkumar left a reply on Laravel Command Returning Different Output When Executed By Cron On AWS EC2 • 1 month ago

I done this thing before by using Cloudways Managed Hosting check this article i think it helps you to solve your problem.

https://www.cloudways.com/blog/laravel-cron-job-scheduling/

17th September, 2018

pardeepkumar left a reply on Laravel Deployment • 1 month ago

I suggest you to try this articles steps for installation(Laravel 5.7)

https://www.cloudways.com/blog/install-features-laravel-5-7/

or also try

https://www.cloudways.com/blog/install-laravel-5-4-localhost/

pardeepkumar left a reply on Laravel 5.6 App Host On Live Server • 1 month ago

I suggest you to try this article steps: Laravel 5.7 installation on Managed Cloud Hosting

https://www.cloudways.com/blog/install-features-laravel-5-7/

14th September, 2018

pardeepkumar left a reply on Remove 'name' Field From Register Form • 1 month ago

I suggest you to follow this article steps

https://www.cloudways.com/blog/laravel-login-authentication/

13th September, 2018

pardeepkumar left a reply on .env File • 1 month ago

First apply this command

php artisan config:clear

If you face an issue related to installation or .env file i suggest you to try this articles steps

https://www.cloudways.com/blog/install-laravel-5-4-localhost/

pardeepkumar left a reply on Installing Discourse Forum With Laravel Forge • 1 month ago

The Discourse software is written in Ruby and Javascript, using PostgreSQL as the main database, and Redis as a cache and for transient data. We will install Discourse under the Docker container.

I suggest you to try this article steps to install discourse forum :

https://www.howtoforge.com/tutorial/how-to-install-and-configure-discourse-forum-with-nginx-on-ubuntu-1604/

also if you don't have system administration knowledge or skills so you should try Managed Cloud hosting

pardeepkumar left a reply on Date Validation • 1 month ago

I suggest you to try this articles steps for validation with File Uploading

https://www.cloudways.com/blog/laravel-multiple-files-images-upload/

11th September, 2018

10th September, 2018

pardeepkumar left a reply on Switch From Bluehost To Digital Ocean • 1 month ago

I would recommend to also try Cloudways. It is one of the best Managed Laravel Hosting. It allows you to create servers on 6 cloud infrastructures including (DigitalOcean, Vult, Linode, AWS, GCE) .

Cloudways take cares of the hosting pain points of Laravel developers through the following features:

Server Cost is included in the Cloudways price plan. Hence developers only need a single account and receive a single invoice.

Easily deploy Laravel applications from Github or Bitbucket.

Auto deployment for Laravel applications.

Supervised Queue Management

Team Collaboration feature assigns server and application access and roles to the members of the team.

Easy server management features including server cloning and server transfer.

One click auto backup with frequency ranging from hourly to weekly.

Configure scheduled cron jobs with cron job manager

Pre-configured firewall and security

Monitor everything with the New Relic monitoring system.

Scale up servers with easy vertical scaling.

Pre-installed Composer and Git

24x7 live chat support by cloud professionals.

The best thing is you can try it for Free

pardeepkumar left a reply on Laravel Testing Issue • 1 month ago

I suggest you to try to follow this articles steps :

https://www.cloudways.com/blog/laravel-unit-testing/

pardeepkumar left a reply on Admin Panel • 1 month ago

i think you should try to use Laravel Voyager Admin its very easy to install

https://laravelvoyager.com/

pardeepkumar left a reply on How To Access Public Path Image • 1 month ago

I suggest you to try something like that

Just put your Images in Public Directory (public/images_folder).

Let's suppose I stored images in public/images/Cloudways_logo.jpg.

View

<img src="{{url('/images/myimage.jpg')}}" alt="Image"/>

pardeepkumar left a reply on How To Create From Format With Timezone Using Carbon? • 1 month ago

i suggest you to try like

$string = '2014-02-06 16:34:00';
$date = Carbon::createFromFormat('Y-m-d H:i:s', $string, 'US/..');
$date->setTimezone('UTC');

7th September, 2018

pardeepkumar left a reply on Retrieve Image From Storage • 1 month ago

Let's Try

<img src="/ava/{{$filename}}" />

Routes

Route::get('/avatars/{filename}', function ($filename)
{
    $path = storage_path() . '/ava/' . $filename;

    if(!File::exists($path)));

    $file = File::get($path);
    $type = File::mimeType($path);

    $response = Response::make($file, 200);
    $response->header("Content-Type", $type);
    return $response;
})->name('ava');

also check for more information

https://www.cloudways.com/blog/laravel-multiple-files-images-upload/

6th September, 2018

pardeepkumar left a reply on Unable To Upload The Data To The Database (localhost) • 1 month ago

The migrate:refresh command will roll back all of your migrations and then execute the migrate command. This command effectively re-creates your entire database:

php artisan migrate:refresh

// Refresh the database and run all database seeds...
php artisan migrate:refresh --seed

or 2nd method :

Delete tables from database and then again runphp artisan migrate command

pardeepkumar left a reply on How To Attach Multiple Images With Same Input Buttons • 1 month ago

I suggest you to follow this article steps : Laravel file upload functionality with multiple file and image uploading option.

https://www.cloudways.com/blog/laravel-multiple-files-images-upload/

pardeepkumar left a reply on Insert Data From Android App To Remote MySQL Using Laravel As Backend. • 1 month ago

One of the best ways to develop a robust backend for your android app is to use the Laravel API on a cloud that does most of the backend processing. Laravel has a solid codebase and provides optimized performance for all lightweight and enterprise level applications.

In this blog, I will first demonstrate you how to create a REST API with Laravel. Then afterwards, I will explain how to create an android app that will interact with the Laravel REST API.

i Suggest you to read and follow this article

https://www.cloudways.com/blog/connect-android-app-with-laravel-api/

pardeepkumar left a reply on How To Get Middleware Applied To A Request • 1 month ago

A logging middleware might log all incoming requests to your application.

All of these middleware are located in the app/Http/Middleware directory.

public function handle($request, Closure $next)
    {
        if ($request->emp_age <= 200) {
            return redirect('homepage');
        }

        return $next($request);
    }

5th September, 2018

pardeepkumar left a reply on Upload Image In Laravel 4.2 With Extension Validation Please Guide • 1 month ago

I suggest you to follow this article steps : File upload in Laravel

https://www.cloudways.com/blog/laravel-multiple-files-images-upload/

pardeepkumar left a reply on Error While Verify User And Login • 1 month ago

I suggest you to follow this article steps :Laravel login auth https://www.cloudways.com/blog/laravel-login-authentication/

pardeepkumar left a reply on Form Validation Not Work • 1 month ago

4th September, 2018

pardeepkumar left a reply on Upgrading Laravel 5.0 To 5.6 • 1 month ago

recommended method of upgrading is create a new Laravel 5.6 install and then to copy your 5.0 site's unique application files into the new application like your routes , controllers ,views .

you also check Laravel doc:

https://laravel.com/docs/5.0/upgrade#upgrade-5.0.16

3rd September, 2018

pardeepkumar left a reply on Blog Application In Laravel 5 Tutorials • 1 month ago

Resources for Laravel developers are everywhere.From official Documentation to personal development blogs, you could find a huge array of resources that cover Laravel for beginner and intermediate users.we have also covered several fringe Laravel tutorials for beginners, including installing Laravel on cloud, and Laravel security best practices. You will also find Laravel performance benchmark for PHP 5.6 and 7.x versions.

i suggest you to read this guide (Laravel tutorials for beginners) : https://www.cloudways.com/blog/laravel-tutorials-for-beginners/

pardeepkumar left a reply on Godaddy Hosting And Laravel • 1 month ago

@nazar1987 Rename server.php in your Laravel root folder to index.php

Copy the .htaccess file from /public directory to your Laravel root folder.

Also if you face any problem to host your Laravel application i suggest you to try Cloud Hosting services. You can check Cloudways, They are providing manage hosting servers and DO is cheaper then Linode in their plan.

pardeepkumar left a reply on Laravel Deployment • 1 month ago

Procedure for installing Laravel 5 on shared hosting

First connect to hosting via SSH

Second install composer then in cpanel open Select PHP version and choose 5.4. (I also set phar extension) then next, install laravel: php composer.phar create-project laravel/laravel myproject --prefer-dist

copy everything from myproject/public to public_html

open public_html/index.php and set:

require DIR.'/../myproject/bootstrap/autoload.php';

$app = require_once DIR.'/../myproject/bootstrap/start.php';

And on Cloud Hosting

Host you Laravel application on few steps

https://www.cloudways.com/blog/install-laravel-on-digitalocean/

pardeepkumar left a reply on Need To Make PDF Download In Laravel 4.2 Help!? • 1 month ago

include first

<script src="https://cdnjs.cloudflare.com/ajax/libs/jspdf/1.4.1/jspdf.debug.js" integrity="sha384-THVO/sM0mFD9h7dfSndI6TS0PgAGavwKvB5hAxRRvc0o9cPLohB0wb/PTA7LdUHs" crossorigin="anonymous"></script>

Then

<!DOCTYPE html>
<html>
  <body>
    <p id="ignorePDF">don't print this to pdf</p>
    <div>
      <p><font size="3" color="red">print this to pdf</font></p>
    </div>
  </body>
</html>

JavaScript code to open the created PDF

var doc = new jsPDF();          
var elementHandler = {
  '#ignorePDF': function (element, renderer) {
    return true;
  }
};
var source = window.document.getElementsByTagName("body")[0];
doc.fromHTML(
    source,
    15,
    15,
    {
      'width': 180,'elementHandlers': elementHandler
    });

doc.output("dataurlnewwindow");

pardeepkumar left a reply on Laravel Custom File-system Configuration • 1 month ago

Try something like

Storage::disk('uploads') -> put($filename, file_get_contents($img -> getRealPath()));

31st August, 2018

pardeepkumar left a reply on Problems Using Nullable And Image Validation Rule Together • 1 month ago

I suggest you to follow this article : Multiple File Uploading

https://www.cloudways.com/blog/laravel-multiple-files-images-upload/

30th August, 2018

29th August, 2018

pardeepkumar left a reply on Image Upload • 1 month ago

I suggest you to follow this article for file , image upload

https://www.cloudways.com/blog/laravel-multiple-files-images-upload/

27th August, 2018

pardeepkumar left a reply on Laravel Hosting Problem • 1 month ago

I Think , before you try to upload your Laravel project check your all configuration file related to database like .env or database.php and check hosting services that can offer you suitable environment and packages to run your Laravel app .

If you need hosting server you should try Cloudways. They are manage hosting providers which makes it easy to create and manage dedicated servers on the choice of your infrastructure provider from (DigitalOcean, Vultr, Linode, AWS, GCE ). Every server you create with Cloudways comes with ThunderStack.

ThunderStack consist of Apache, NGINX , Varnish, Memcached, Redis, PHP-FPM , MySQL and MariaDB ThunderStack guarantees to make your websites 100x faster.

You can easily deploy your project and also install Laravel on just 1-click.

Edit Your Profile
Update

Want to change your profile photo? We pull from gravatar.com.