Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
oil was not created in the root directory
  • I installed 1.8.2 fuelphp for my project using composer, but oil utility was not created in the root directory.

    Here is my composer.json:

    {
    "name": "myproject/myproject",
    "type": "project",
    "description" : "Test project",
    "repositories": [
    { "type": "vcs", "url": "https://github.com/fuel/core" },
    { "type": "vcs", "url": "https://github.com/fuel/auth" },
    { "type": "vcs", "url": "https://github.com/fuel/email" },
    { "type": "vcs", "url": "https://github.com/fuel/oil" },
    { "type": "vcs", "url": "https://github.com/fuel/orm" },
    { "type": "vcs", "url": "https://github.com/fuel/parser" }
    ],
    "require": {
    "php": ">=7.4",
    "composer/installers": "1.12.0",
    "fuel/core": "1.8.2",
    "fuel/auth": "1.8.2",
    "fuel/email": "1.8.2",
    "fuel/oil": "1.8.2",
    "fuel/orm": "1.8.2",
    "fuel/parser": "1.8.2",
    "fuelphp/validation": "dev-master",
    "fuelphp/upload": "2.0.6",
    "monolog/monolog": "1.18.*",
    "michelf/php-markdown": "1.7.0"
    },
    "config": {
    "vendor-dir": "fuel/vendor",
    "allow-plugins": {
    "composer/installers": true
    }
    },
    "extra": {
    "installer-paths": {
    "fuel/{$name}": ["fuel/core"]
    }
    },
    "scripts": {
    "post-install-cmd": [
    "php oil r install"
    ]
    },
    "minimum-stability": "dev"
    }

  • Oh, it looks like I have to clone fuel repository or get oil with curl... I already forgot how to do it from scratch ))

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion