Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What if.... we could remove pcntl #363

Closed
OwenMelbz opened this issue Jul 11, 2018 · 2 comments
Closed

What if.... we could remove pcntl #363

OwenMelbz opened this issue Jul 11, 2018 · 2 comments

Comments

@OwenMelbz
Copy link

More of a plead than anything for sanity.

But what would be the chances of removing ext-pcntl requirement from the composer json - maybe see if it can be listed as a recommended to remind people.

I only ask this as when developing on not Linux, it’s a royal pain in the butt having to remember to do —ignore-platform-reqs every time.

I’ve always believed that one of Laravel a strongest suits is the great development experience. And this one is definitely the opposite :(

I know technically it’s wrong to remove it, but maybe it’s the lesser of 2 evils punishing those who are not on Linux xD

@timopruesse
Copy link

timopruesse commented Sep 21, 2018

You can define something like this in your composer.json:

"config": {
    "platform": {
      "ext-pcntl": "7.2",
      "ext-posix": "7.2"
    }
  }

Where 7.2 has to be the PHP version you're using. When you use PHP 7.1 it should be 7.1 etc.
Then you don't have to do —ignore-platform-reqs every time.

@driesvints
Copy link
Member

Gonna close this as a duplicate of #170

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants