For Clear Cache, HTTP status Code, Routes List, API Routes List

Package Link
https://github.com/RajTechnologiesPvtLtd/laravel-tools

Installation on laravel

  1. In order to install Laravel Tools, just add the following to your composer. Then run composer:
composer require rajtechnologies/laravel-tools
  1. Open your config/app.php and add the following to the providers array:
RajTechnologies\Tools\ToolServiceProvider::class,

Package Features

  • Clear Cache
  • Routes List
  • HTTP Status Code List
Laravel Tools Package Help To Development

Manual Routes List (without package)


Step 1 Create Provider in laravel

php artisan make:provider HelperServiceProvider

Step 2 Go on HelperServiceProvider

Location:- app/Providers

Add loadHelper() function in HelperServiceProvider

protected function loadHelpers(){foreach (glob(__DIR__.'/../Helpers/*.php') as $filename){require_once $filename;}}

Change register() function in HelperServiceProvider

public function register()
{
$this->loadHelpers();
}

Full Code In HelperServiceProvider

<?phpnamespace App\Providers;
use Illuminate\Support\ServiceProvider;
class HelperServiceProvider extends ServiceProvider{/*** Register services.** @return void*/public function register(){$this->loadHelpers();}

How To Changing Android Package name and iOS Bundle ID (bundle identifier) in Flutter

For Android

Step1 Modify the package name in your main AndroidManifest.xml file

Replace your new package name in the package attribute:

<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="your.package.name">

Step2 Modify the applicationId in your build.gradle file

Replace your new package name in build.gradle (app level)

defaultConfig {
applicationId "your.package.name"
minSdkVersion 16
targetSdkVersion 28
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Step3 Modify the package name in your MainActivity.kt file if project support kotlin else do it in MainActivity.java

package your.package.name

import androidx.annotation.NonNull;
import io.flutter.embedding.android.FlutterActivity
import io.flutter.embedding.engine.FlutterEngine
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
override fun…


GO ROOT PATH OF PROJECT

Path:- your_project_folder\android\app\build.gradle

droid {
defaultConfig {
applicationId "com.example.myapp"
minSdkVersion 15
targetSdkVersion 24
versionCode 1
versionName "1.0"
}
...
}

FLUTTER MINSDKVERSION DEPRECATED

STEP 1

Path:- your_project_folder\android\app\build.gradle

STEP 2

The defaultConfig should look like this inside the build.gradle file

Change of minSdkVersion 16 to 23

defaultConfig {
// TODO: Specify your…


favicon HTML code for all browsers file

<?php $favicon_path = "/docroot/img/ico/"; ?><!-- Default --><link rel="shortcut icon" href="<?php echo $favicon_path; ?>favicon.ico"/><!-- For IE6+ --><link rel="shortcut icon" href="<?php echo $favicon_path; ?><?php echo $favicon_path; ?>favicon.ico" type="image/x-icon"><!-- For IE6+ --><link rel="shortcut icon" href="<?php echo $favicon_path; ?>favicon.ico"><…

Android Codes

Codes Features

About Phone

*#*#4636#*#*

Restore Factory Settings

*#*#7780#*#*

Reinstalls Phones Firmware

*2767*3855#

About Camera

*#*#34971539#*#*

Changing the Power button Behavior-Enables Direct Poweroff

*#*#7594#*#*

Backup Media Files

*#*#273283*255*663282*#*#*

Test Mode for Service Activity

*#*#197328640#*#*

Wireless Lan Test

*#*#232339#*#*

*#*#526#*#*

*#*#528#*#*

Displays Wi-Fi Mac-address

*#*#232338#*#*

GPS Test

*#*#1472365#*#*

Different GPS Test

*#*#1575#*#*

Packet Loopback Test

*#*#0283#*#*

LCD Display Test

*#*#0*#*#*

Audio Test

*#*#0673#*#*

*#*#0289#*#*

Vibration and Backlight Test

*#*#0842#*#*

Displays Touch-Screen Version

*#*#2663#*#*

Touch-Screen Test

*#*#2664#*#*

Proximity Sensor Test

*#*#0588#*#*

RAM version

*#*#3264#*#*

Bluetooth Test

*#*#232331#*#*

Field Test

*#*#7262626#*#*

Displays Bluetooth Device Address

*#*#232337#*#

G-Talk Monitoring

*#*#8255#*#*

PDA, Phone, Hardware, RF Call Date Firmware info

*#*#4986*2650468#*#*

PDA and Phone Firmware info

*#*#1234#*#*

FTA Software Version

*#*#1111#*#*

FTA Hardware Version

*#*#2222#*#*

Displays Build Time and Change List Number

*#*#44336#*#*

IMEI Number

*#06#

Enable Voice Dialing Logging Mode

*#*#8351#*#*

Disable Voice Dialing Logging Mode

*#*#8350#*#*

Execute From Emergency Dial Screen to Unlock PUK Code

**05***#


Changing the App Launcher Name

For Android

Inside, find <application>and change its android:label property with your desired app name.

Location:- Root/android/app/src/main/AndroidManifest.xml

<application
android:name="io.flutter.app.FlutterApplication"
android:label="your_app_name"
android:icon="@mipmap/ic_launcher">

For IOS (Apple)

Location:- Root/ios/Runner/Info.plist

<key>CFBundleName</key>
<string>your_app_name</string>

That’s it. …


Flutter GridView

Flutter GridView PAge

Given A image File Move Path

Location:- Root/assets/images/ic_launcher.png

Any Image

Add pubspec.yaml

flutter:
assets:
- assets/images/ic_launcher.jpg

After Edit pubspec.yaml file save (Cmd)

flutter pub get

Create A Page

Location:- Root/lib/example/gridview.dart

import 'package:flutter/material.dart';class GridViewPage extends StatelessWidget {const GridViewPage({Key? key}) : super(key: key);@overrideWidget…

Flutter Load Local Image

Given A image File Move Path

Location:- Root/assets/images/la-grande-motte-france.jpg

Any Image

Add pubspec.yaml

flutter:
assets:
- assets/images/la-grande-motte-france.jpg

After Edit pubspec.yaml file save (Cmd)

flutter pub get

Create Future Function

Container(child: Center(child: Text("Hello World!",style: TextStyle(color: Colors.black, fontSize: 35),),),// Set the image as the background of the Containerdecoration: BoxDecoration(image: DecorationImage(// Load image from assetsimage: AssetImage('assets/images/la-grande-motte-france.jpg'),// Make the image cover the whole areafit: BoxFit.cover)),),

ScreenShot

Flutter Read Local Image File From Assets

Futter Example Souce Code


Flutter Load Local JSON

Create A JSON File

Location:- Root/assets/json/users.json

[{"username": "Emma Spoon","email": "Emma.Spoon@gmail.com","urlAvatar": "https://images.unsplash.com/photo-1604426633861-11b2faead63c?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=700&q=80"},{"username": "James Winter","email": "James.Winter@gmail.com","urlAvatar": "https://images.unsplash.com/photo-1497551060073-4c5ab6435f12?ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&ixlib=rb-1.2.1&auto=format&fit=crop&w=667&q=80"…

Bhargav Raviya

I am Laravel, Flutter, and Digital Marketing Expert and follow the blog on raviyatechnical.blogspot.com Github:-https://github.com/bhargavraviya

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