ostoandel/ostoandel

Enables to run CakePHP2 applications on Laravel

Installs: 34

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/ostoandel/ostoandel

dev-master 2021-12-26 13:30 UTC

This package is auto-updated.

Last update: 2025-10-26 21:37:18 UTC


README

Ostoandel is a package which enables to run CakePHP2 applications on Laravel.

ostoandel

Requirements

  • PHP >= 7.3
  • Composer >= 2.0

Installation

Add an autoload field to composer.json.

"autoload": {
    "psr-4": {
        "App\\": "app"
    }
},

Require the laravel framework with composer.

composer require laravel/framework

Require this pacakge.

composer require "ostoandel/ostoandel:dev-master"

Get the skeleton of Laravel.

composer create-project --no-install --no-scripts laravel/laravel

Setup

Loading the plugin in app/Config/bootstrap.php. The path parameter is required.

CakePlugin::load('Ostoandel', ['path' => VENDORS . '/ostoandel/ostoandel/plugin/']);

Run the Ostoandel.laravelize command. Note that this may overwrite existing files in your application. Be sure to have a backup of your application before running this.

cake Ostoandel.laravelize

Confirm your application is now running on Laravel.