Chandan Mistry

Chandan Mistry Senior Software Engineer (Full-Stack Developer)

 Or, for div background
27/04/2021

Or, for div background

Auth::guard('guardname')->user()->load('relation', 'relation.chield');
23/04/2021

Auth::guard('guardname')->user()->load('relation', 'relation.chield');

Auth::guard(‘guardname’)->user()->load(‘relation’, ‘relation.chield’);

if (!File::exists($folderPath)) { File::makeDirectory($folderPath, 0777, true, true); }
12/04/2021

if (!File::exists($folderPath)) { File::makeDirectory($folderPath, 0777, true, true); }

if (!File::exists($folderPath)) { File::makeDirectory($folderPath, 0777, true, true); }

DB::unprepared("write your core raw sql query here.");
12/04/2021

DB::unprepared("write your core raw sql query here.");

DB::unprepared(“write your core raw sql query here.”);

Basic meta for SEO
28/03/2021

Basic meta for SEO

Visit the post for more.

filter_var($number, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION);
28/03/2021

filter_var($number, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION);

filter_var($number, FILTER_SANITIZE_NUMBER_FLOAT, FILTER_FLAG_ALLOW_FRACTION);

1. Download latest portable version of XAMPP. 2. Extract the archive(not where XAMPP already installed). 3. Copy the PHP...
28/03/2021

1. Download latest portable version of XAMPP. 2. Extract the archive(not where XAMPP already installed). 3. Copy the PHP folder from the extracted archive. 4. Keep back up of PHP folder which is in installed XAMPP directory. You can backup it like changing the PHP folder name to PHP-old or like PHP-version-number. 5. Paste the PHP folder which you copied from the extracted archive....

1. Download latest portable version of XAMPP. 2. Extract the archive(not where XAMPP already installed). 3. Copy the PHP folder from the extracted archive. 4. Keep back up of PHP folder which is in…

$transaction = DB::transaction(function () use ($request, $otherParams) { Model1::delete(...); Model2::create(...); Mode...
28/03/2021

$transaction = DB::transaction(function () use ($request, $otherParams) { Model1::delete(...); Model2::create(...); Model3::update(...); }, 5); // Second argument which defines the number of times a transaction should be retried when a deadlock occurs. if ($transaction) { return response()->json(['message' => 'Successfully done.'], 200); } return response()->json(['message' => 'Something went wrong.'], 500); Or, Manually Using Transactions DB::beginTransaction(); try { Model1::delete(...); Model2::create(...); Model3::update(...); DB::commit(); // all good…...

$transaction = DB::transaction(function () use ($request, $otherParams) { Model1::delete(…); Model2::create(…); Model3::update(…); }, 5); // Second argument which defines the numb…

$array = ['/*users of user table*/']; $arr = ; $filteredArray = array_map($array, function ($row) use($arr) { $rows = []...
28/03/2021

$array = ['/*users of user table*/']; $arr = ; $filteredArray = array_map($array, function ($row) use($arr) { $rows = []; if (in_array($row['id'], $arr)) { $rows[] = $row; } return $rows; }); // arrow function $filteredArray = array_map($array, fn($row) => { $rows = []; if (in_array($row['id'], $arr)) { $rows[] = $row; } return $rows; });

$array = [‘/*users of user table*/’]; $arr = [3, 5, 8]; $filteredArray = array_map($array, function ($row) use($arr) { $rows = []; if (in_array($row[‘id’], $arr)) { $rows[] …

$array = ['/*users of user table*/']; $arr = ; $filteredArray = array_filter($array, function ($row) use($arr) { $rows =...
28/03/2021

$array = ['/*users of user table*/']; $arr = ; $filteredArray = array_filter($array, function ($row) use($arr) { $rows = []; if (in_array($row['id'], $arr)) { $rows[] = $row; } return $rows; }); // arrow function $filteredArray = array_filter($array, fn($row) => { $rows = []; if (in_array($row['id'], $arr)) { $rows[] = $row; } return $rows; });

$array = [‘/*users of user table*/’]; $arr = [3, 5, 8]; $filteredArray = array_filter($array, function ($row) use($arr) { $rows = []; if (in_array($row[‘id’], $arr)) { $rows…

$y = 1; $z = fn($x) => $x + $y; // equivalent to function $z = function ($x) use ($y) { return $x + $y; }
28/03/2021

$y = 1; $z = fn($x) => $x + $y; // equivalent to function $z = function ($x) use ($y) { return $x + $y; }

$y = 1; $z = fn($x) => $x + $y; // equivalent to function $z = function ($x) use ($y) { return $x + $y; }

To change global git username: git config --global user.name "Full Name" To show global git username: git config --globa...
28/03/2021

To change global git username: git config --global user.name "Full Name" To show global git username: git config --global user.name To change global git email: git config --global user.email "[email protected]" To show global git email: git config --global user.email To create a new branch: git checkout -b To create a new local branch sync with git server branch git checkout -b branchname --track origin/branchname…...

To change global git username: git config –global user.name “Full Name” To show global git username: git config –global user.name To change global git email: git config & #82…

Address

Larica Township, Barasat/Barrackpore Road, Nabapally, Barasat
Kolkata
700126

Opening Hours

Monday 9am - 5pm
Tuesday 9am - 5pm
Wednesday 9am - 5pm
Thursday 9am - 5pm
Friday 9am - 5pm
Saturday 9am - 5pm

Telephone

+919339524436

Alerts

Be the first to know and let us send you an email when Chandan Mistry posts news and promotions. Your email address will not be used for any other purpose, and you can unsubscribe at any time.

Contact The Business

Send a message to Chandan Mistry:

Share