Skip to content
| Marketplace
Sign in
Visual Studio Code>Extension Packs>[ALJ] Generate fallback PHP codeNew to Visual Studio Code? Get it now.
[ALJ] Generate fallback PHP code

[ALJ] Generate fallback PHP code

Alex Truong

|
5 installs
| (0) | Free
[ALJ] Generate fallback PHP code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

BBF Fallback Generator

A VSCode extension that generates BBF fallback PHP code by scanning your project's directories and creating the necessary class stubs.

Features

  • Scans your project for PHP classes in the specified directories
  • Identifies hook methods and creates appropriate fallback classes
  • Generates a PHP file with all the necessary fallback code
  • Saves the output to your workspace's .vscode folder

SETUP CONFIG VSCODE

"intelephense.environment.includePaths": [
	"src/fuel/app/classes/",
	"src/fuel/app/modules/",
	".vscode/"
],
"search.exclude": {
	"**/docker/sync/tmp/**": true,
	"**/node_modules/**": true,
	"**/vendor/**": true,
	"**/var/**": true,
	"tmp": true,
	".vscode/**": true,
},

Usage

  1. Open the Command Palette (Cmd+Shift+P)
  2. Type "ALJ Generate Fallback" and select the command
  3. The extension will scan your project and generate the fallback code

Configuration

You can configure the extension in your VSCode settings:

  • bbfFallbackGenerator.bbfcoreDir: Path to the Bbfcore directory
  • bbfFallbackGenerator.classesDir: Path to the classes directory
  • bbfFallbackGenerator.outputFile: Path to the output file

Requirements

  • VSCode 1.98.0 or higher
  • extension PHP Intelephense
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft