Flutter got easier to install on any Mac, just install it by home brew. It will install both flutter and dart.
brew install flutter
Check version of Flutter
flutter --version
Check version of Dart
dart --version
I’m a big fan of Amazon Lightsail, I find it better than others for WordPress sites. Recently I was trying to redirect one of my WordPress websites, www traffic to non-www by updating .htaccess file but nothing was working.
After reading the Bitnami doc I found in Bitnami WordPress it handles differently.
Edit httpd-prefix.conf by vim or nano
vim /opt/bitnami/apps/wordpress/conf/httpd-prefix.conf
RewriteCond "%{HTTP_HOST}" ^www.flutterframework.com$
RewriteRule "^/?(.*)" "%{REQUEST_SCHEME}://flutterframework.com/$1" [L,R=302,NE]
restart apache:
sudo /opt/bitnami/ctlscript.sh restart apache
Everything should work.
Watch the video
Laravel Sanctum provides a featherweight authentication system for SPAs (single-page applications), mobile applications, and simple, token-based APIs. Sanctum allows each user of your application to generate multiple API tokens for their account. These tokens may be granted abilities/scopes which specify which actions the tokens are allowed to perform.
Make sure you have already installed it by the composer
composer require laravel/sanctum
composer update
Read more about Laravel Sanctum integration step by step