As of 31st December, 2020, PHP Intelephense plugin is not working as intended by default when installed in Visual Studio Code Insider Edition 1.53 which is updated to support Apple Silicon. It is way faster than its stable counterpart which is still running on Rosetta 2.

But, there is a quick fix.

Step 1: Install Node.js if not already. Homebrew is your best bet.

Step 2: Find your node path. Open terminal and type which node. Copy the result.

Step 3: Open the extension settings of PHP Intelliphense. Find Intelliphense: Runtime setting and paste your node path.

That’s it! :)


If you have just got your Apple M1 MacBook or the Mac Mini, this is just a reminder that Homebrew doesn’t support the new ARM chip (as at 29 Nov 2020). But, there is a workaround.

Go to Finder > Applications > Utilities folder. Right click on Terminal and duplicate it. Rename the duplicate to something meaningful such as “Legacy Terminal”, “Rosetta Terminal” etc.

Now right click on the duplicated terminal app and click Get Info. Then select Open using Rosetta. This will allow the terminal to run as an x86 app.

Now open the new Terminal window to continue installing homebrew and homebrew apps. Confirmed working for installing php@7.4, mysql@5.7, Laravel Valet dependencies and so on.


If you encounter an annoyingly slow or laggy Visual Studio Code terminal command executions on macOS Big Sur, you are not alone.

Fix it by entering the following command in your terminal:

codesign --remove-signature /Applications/Visual\ Studio\ Code.app/Contents/Frameworks/Code\ Helper\ \(Renderer\).app

Restart Visual Studio code.


Photo by Carlos Muza on Unsplash

Starting an eCommerce store has become so easy these days due to platforms like Shopify and BigCommerce, open-source software such as WooCommerce, OpenCart, PrestaShop, and so on.

The recent pandemic has opened up great opportunities for businesses of all sizes. …


When you deploy your Laravel app to Google Cloud, you may encounter the exception Class ‘NunoMaduro\Collision\Adapters\Laravel\ CollisionServiceProvider’ not found.

Fix

Edit your composer.json file and move nunomaduro/collision from require-dev to require.

Delete your vendor folder.

Run composer install and composer update.

Finally run gcloud app deploy and gcloud app browse.


Fix #1

Sign out from your Microsoft Office app(Word, Excel, Powerpoint).

Go to Settings > Accounts > Disconnect your work / school account.

Log out from your PC and log in.

Open your Office app Sign in again. This should refresh the AD related caches and fix this right away.


Simply go to Settings > General > About and make sure that the name of the phone is same as before .


If you see this error while having the right configuration in your config/filesystems.php, most likely the configuration of your laravel app is cached. Clear it using

php artisan config:clear


db.collection.find().forEach(function(row){
print(row._id+”,”+row.email);
});

public function __construct(){
$this->middleware('auth');
$this->middleware(function ($request, $next) {
$current_user = $request->user();
return $next($request);
});
}

Shageevan Sachithanandan

Hands-on CIO | Business Automation and eCommerce Consultant | Top-rated Freelancer | Accidental Entrepreneur

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store