Search by

webdevhayes / fuel-remastered

webdevhayes

Experimental FuelPHP starter for the remastered PHP 8.4, 8.5 and 8.6 package set

Package info

github.com/webdevhayes/fuel-remastered

Type:project

pkg:composer/webdevhayes/fuel-remastered

Statistics

Installs: 6

Dependents: 0

Suggesters: 0

Stars: 0

dev-1.8/master 2026-12-05 14:33 UTC

This package is auto-updated.

Last update: 2026-12-05 14:33:12 UTC


README

This is the application starter for the webdevhayes FuelPHP Remastered packages. It preserves FuelPHP's application layout, controllers, models and routes while the framework gains current PHP compatibility and additive modern features.

The development package accepts PHP 8.4, 8.5 and 8.6. The current verification used PHP 8.4.28, 8.5.13 and 8.6.0 on Linux. This is development acceptance; application migration and stable release acceptance remain separate work. See release status for the tested scope and remaining limits.

Create an application

Install an external Composer 2 using the official Composer instructions. The obsolete bundled Composer PHAR has been removed. Use the intended PHP version for both Composer and Oil, and install the extensions required by your selected packages.

composer create-project webdevhayes/fuel-remastered my-new-app dev-1.8/master
cd my-new-app
php oil r install
composer check-platform-reqs

If you manage Composer as a PHAR, replace composer with php /path/to/composer.phar. The starter and its six runtime packages use their existing Packagist identities; no custom Composer repositories are needed for the published development branches. Runtime packages resolve from dev-1.9/develop. Keep the generated composer.lock in your application and use composer install for repeatable deployments.

Run php oil r install explicitly on the first installation. When no lock file exists, Composer resolves dependencies through its update events. This starter defines only post-install-cmd, which runs on a later locked install; the first resolution does not run that hook. See Composer's script events. The same explicit step is needed after using --no-scripts.

The install task checks fuel/app/cache, logs, tmp and config. It preserves existing permissions and creates missing directories with mode 0750, subject to the process umask. Cache, log and temporary directories require read/write access; configuration requires read access. All require traverse access on POSIX systems. Configure ownership or ACLs for your deployment and PHP worker users explicitly. Configuration-writing generators or migrations need write access during that deployment step. Existing modes, including 0777, remain unchanged; the task does not choose a new sharing policy or recursively alter permissions. A blocked path makes the task fail with an actionable error. See the installer permission guide.

Run the starter

From the project root, start a local development server:

php -S 127.0.0.1:8000 -t public fuel/packages/oil/phpserver.php

Open http://127.0.0.1:8000/ for the welcome page. An unknown route should return HTTP 404. This is the same public directory and Oil router used by the starter verification. See testing for repeatable checks.

Configure a deployed web server's document root as public/. The application, framework and vendor directories belong outside that document root. Before deployment, set FUEL_ENV=production and disable browser error display in the front controller and PHP configuration.

Application structure and bootstrap

Path Purpose
public/index.php Web entry point and response dispatch
fuel/app/ Your configuration, controllers, models, views and tasks
fuel/core/ Installed remastered core
fuel/packages/ Installed Auth, Email, Oil, ORM and Parser packages
fuel/vendor/ Other Composer dependencies and Composer autoloading
oil CLI entry point, run from the project root

The web and CLI entry points define the Fuel paths, load the Fuel autoloader and then load fuel/app/bootstrap.php. Keep the core bootstrap first in that file, register application class overrides before registering the autoloader, and initialize the application with Fuel::init('config.php'). The starter's web entry point delegates supported HTTP exceptions to Request::error_response() so the core can preserve the appropriate error route and status.

Upgrade an existing Fuel application

Use the core upgrade notes and feature migration guides. Replace original fuel/* Composer requirements with their remastered counterparts together, preserve the installation paths above, and retain your application's own source and configuration. The forks conflict with their original package names to prevent installing two copies of the same runtime.

New session-bound CSRF and optional response formats require deliberate application configuration. Test your authentication, forms, custom framework overrides and database behavior before deploying an upgrade.

Upstream project and attribution

This starter derives from FuelPHP 1.8.2. Upstream MIT licensing, source headers and authorship are retained. Historical upstream version labels identify that baseline; they are not remastered stable release numbers.

The upstream development team credited in this starter is Harro Verton (project manager and developer) and Emlyn West (core developer and ORM). Credited alumni are Márk Sági-Kazár, Frank de Jonge, Jelmer Schreuder, Phil Sturgeon and founder Dan Horrigan. Their contributions and the work of the wider FuelPHP community remain the foundation of this fork.