~/docs
Resonate
Resonate
13.x 13.43.0.3, current
Fledge
Toggle sidebar
Fledge
webpatser/fledge-framework 13.43.0.3

Fledge 13.x

Switching an Existing App

Move an existing Laravel 13 project to Fledge with one Composer command, and switch back if needed.

You do not need the skeleton to use Fledge. An existing Laravel 13 project switches by requiring webpatser/fledge-framework directly. Your application code does not change, because the Illuminate\ namespace stays the same.

Before you start

  • The project runs Laravel 13.
  • PHP 8.6 is installed (Fledge requires "php": "^8.6"), plus, recommended, the intl extension: without it IDN hosts are not converted to punycode and are rejected, and SORT_LOCALE_STRING sorting compares byte-wise.
  • webpatser/fledge-framework is on Packagist, so no extra repository configuration is needed.

Switch

composer require "webpatser/fledge-framework:^13.7" -W

The -W flag (--with-all-dependencies) lets Composer resolve the replace block correctly. The framework's composer.json declares that it replaces laravel/framework and every illuminate/* package, so Composer removes vendor/laravel/framework from your tree.

Note: Do not run composer require "laravel/framework:..." to pick up Fledge. Composer honors replace declarations only during transitive dependency resolution, not for top-level requires, so that command installs upstream laravel/framework even when Fledge is registered as a repository.

Verify

bash vendor/webpatser/fledge-framework/bin/verify-fledge-install.sh

It prints OK running Fledge framework v13.X.Y.N and exits with 0 on Fledge. If vendor/laravel/framework is still in your tree you are running stock Laravel, and the script exits with 1 and prints a switch hint.

Constraints

The four-segment version is a regular Composer version, so standard constraints resolve to the latest Fledge release of the matching Laravel version:

Constraint Meaning
^13.7 Any 13.x release from 13.7. Used in the switch command above.
~13.42.0 13.42.x patches and Fledge revisions.
13.42.* Same resolution as ~13.42.0.
^13.42.0.1 Pin to a specific Fledge revision.

A dev branch such as dev-fledge-13 does not resolve cleanly against the ^13.0 constraints of other Laravel packages. Require tagged releases.

Review the config

The framework does not edit your application. Two defaults come from the skeleton, not the framework, so check your own files:

  • config/database.php: the skeleton defines the fledge-mysql, fledge-mariadb and fledge-pgsql connections and falls back to REDIS_CLIENT=fledge. See Installation for both.
  • Differences from stock Laravel in the Redis, MySQL TLS, HTTP and Livewire drivers are listed in the fledge-fiber README.

Switch back

composer remove webpatser/fledge-framework
composer require "laravel/framework:^13.0" -W