Git Product home page Git Product logo

Comments (6)

schmunk42 avatar schmunk42 commented on May 24, 2024 1

That's true ;)

So let's go with this:

  • yiisoft/yii2-php
  • yiisoft/yii2-php:7
  • yiisoft/yii2-php:7.1.2-fpm
  • yiisoft/yii2-php:5.6-alpine
  • yiisoft/yii2-php:8-rhel

from yii2-docker.

samdark avatar samdark commented on May 24, 2024

If it's just PHP w/o anything which is suitable for Yii only, I'd name it yiisoft/php.

from yii2-docker.

mikehaertl avatar mikehaertl commented on May 24, 2024

I'd call it yiisoft/yii2-php as that's what it is: PHP for yii2. Alternatively php-yii2. I find php to short: yiisoft/ is basically only a namespace so php would be missing the link to yii2. Also consider that there may be other PHP projects under yiisoft/ some day - which require their own docker image.

from yii2-docker.

schmunk42 avatar schmunk42 commented on May 24, 2024

I find php to short

I'd never have expected to hear that from you 😆

Technically speaking we would have to put that at the end:

  • yiisoft/php:7-yii2
  • yiisoft/php:7.1.2-fpm-yii2
  • yiisoft/php:5-alpine-yii2

Since we're extending from this image.

from yii2-docker.

mikehaertl avatar mikehaertl commented on May 24, 2024

@schmunk42 But the yii2 part is static because all our images are for yii2. You'd have to add it to all images. That's why it belongs to the name. And again this doesn't protect you from later naming conflicts: Later there could be a yiisoft/wuu framework (or another tool that we can't foresee which needs it's own docker image). The docker images for that should be kept in a separate repo and be called yiisoft/php-wuu or yiisoft/wuu-php.

from yii2-docker.

mikehaertl avatar mikehaertl commented on May 24, 2024

And there will be Yii2 specific changes in some images. E.g. we'll probably include the Apache config for apache based images. So it's not just a PHP image. It can only be used with yii2.

from yii2-docker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.