Yii required php version

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

yiisoft / yii2-app-basic Public template

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

PHP 8.0 is required by codeception/module-filesystem when trying to install the latest basic template after 2.0.46 release #274

PHP 8.0 is required by codeception/module-filesystem when trying to install the latest basic template after 2.0.46 release #274

Comments

What steps will reproduce the problem?

Try to install the basic app template, using composer with PHP 7.4.30.

What’s expected?

I’d expect the basic app template installed.

What do you get instead?

composer create-project --prefer-dist yiisoft/yii2-app-basic basic Creating a "yiisoft/yii2-app-basic" project at "./basic" Info from https://repo.packagist.org: #StandWithUkraine Installing yiisoft/yii2-app-basic (2.0.46) - Downloading yiisoft/yii2-app-basic (2.0.46) - Installing yiisoft/yii2-app-basic (2.0.46): Extracting archive Created project in /home/lourdas/public_html/basic Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires codeception/module-filesystem ^3.0 || ^1.1 -> satisfiable by codeception/module-filesystem[3.0.0]. - codeception/module-filesystem 3.0.0 requires php ^8.0 -> your php version (7.4.30) does not satisfy that requirement. 

It seems composer tries to pull codeception/module-filesystem 3.0.0, which required PHP 8.0+ and it fails. I read on the news post about 2.0.46 that the minimum PHP version is now raised to PHP 7.4, but this is wrong.

Читайте также:  Android java версия приложения

Could you please look into this?

Additional info

The text was updated successfully, but these errors were encountered:

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Yii 2: The Fast, Secure and Professional PHP Framework

License

yiisoft/yii2

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

…tributeLabel()` to generate label values that are never used

Git stats

Files

Failed to load latest commit information.

README.md

Yii 2 is a modern framework designed to be a solid foundation for your PHP application.

It is fast, secure and efficient and works right out of the box pre-configured with reasonable defaults. The framework is easy to adjust to meet your needs, because Yii has been designed to be flexible.

Code Coverage Scrutinizer Quality Score

  • The minimum required PHP version of Yii is PHP 5.4.
  • It works best with PHP 8.
  • Follow the Definitive Guide in order to get step by step instructions.
  • A Definitive Guide and a Class Reference cover every detail of the framework.
  • There is a PDF version of the Definitive Guide and a Definitive Guide Mirror which is updated every 15 minutes.
  • For Yii 1.1 users, there is Upgrading from Yii 1.1 to get an idea of what has changed in 2.0.

Reporting Security issues

Please refer to a special page at the website describing proper workflow for security issue reports.

build/ internally used build tools docs/ documentation framework/ core framework code tests/ tests of the core framework code 

Acknowledging or citing Yii 2 is as important as direct contributions.

In presentations

If you are giving a presentation or talk featuring work that makes use of Yii 2 and would like to acknowledge it, we suggest using our logo on your title slide.

Читайте также:  Не открывается html документ

In projects

If you are using Yii 2 as part of an OpenSource project, a way to acknowledge it is to use a special badge in your README:

If your code is hosted at GitHub, you can place the following in your README.md file to get the badge:

[![Yii2](https://img.shields.io/badge/Powered_by-Yii_Framework-green.svg?style=flat)](https://www.yiiframework.com/) 

Support this project by becoming a sponsor or a backer.

Источник

What is Yii ¶

Yii is a high performance, component-based PHP framework for rapidly developing modern Web applications. The name Yii (pronounced Yee or [ji:] ) means «simple and evolutionary» in Chinese. It can also be thought of as an acronym for Yes It Is!

What is Yii Best for? ¶

Yii is a generic Web programming framework, meaning that it can be used for developing all kinds of Web applications using PHP. Because of its component-based architecture and sophisticated caching support, it is especially suitable for developing large-scale applications such as portals, forums, content management systems (CMS), e-commerce projects, RESTful Web services, and so on.

How does Yii Compare with Other Frameworks? ¶

If you’re already familiar with another framework, you may appreciate knowing how Yii compares:

  • Like most PHP frameworks, Yii implements the MVC (Model-View-Controller) architectural pattern and promotes code organization based on that pattern.
  • Yii takes the philosophy that code should be written in a simple yet elegant way. Yii will never try to over-design things mainly for the purpose of strictly following some design pattern.
  • Yii is a full-stack framework providing many proven and ready-to-use features: query builders and ActiveRecord for both relational and NoSQL databases; RESTful API development support; multi-tier caching support; and more.
  • Yii is extremely extensible. You can customize or replace nearly every piece of the core’s code. You can also take advantage of Yii’s solid extension architecture to use or develop redistributable extensions.
  • High performance is always a primary goal of Yii.

Yii is not a one-man show, it is backed up by a strong core developer team, as well as a large community of professionals constantly contributing to Yii’s development. The Yii developer team keeps a close eye on the latest Web development trends and on the best practices and features found in other frameworks and projects. The most relevant best practices and features found elsewhere are regularly incorporated into the core framework and exposed via simple and elegant interfaces.

Yii Versions ¶

Yii currently has two major versions available: 1.1 and 2.0. Version 1.1 is the old generation and is now in maintenance mode. Version 2.0 is a complete rewrite of Yii, adopting the latest technologies and protocols, including Composer, PSR, namespaces, traits, and so forth. Version 2.0 represents the current generation of the framework and will receive the main development efforts over the next few years. This guide is mainly about version 2.0.

Читайте также:  Javascript таймер каждые 5 секунд

Requirements and Prerequisites ¶

Yii 2.0 requires PHP 5.4.0 or above and runs best with the latest version of PHP. You can find more detailed requirements for individual features by running the requirement checker included in every Yii release.

Using Yii requires basic knowledge of object-oriented programming (OOP), as Yii is a pure OOP-based framework. Yii 2.0 also makes use of the latest features of PHP, such as namespaces and traits. Understanding these concepts will help you more easily pick up Yii 2.0.

Found a typo or you think this page needs improvement?
Edit it on github !

Источник

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

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

Require PHP 7.1 for Yii 2.1 #11397

Require PHP 7.1 for Yii 2.1 #11397

Comments

Decision

TODO

Original issue

Currently only php 5.6, 7 and 7.1 are supported

php 5.5 is in security-only support and will reach end of life very soon, while php5.6 will enter security-only support next year. Probably yii 2.1 will take around a year to develop, by that time the entire php5 branch will be obsolete.

Today ubunt 16.04 will be released which includes php7 as the default version and its an LTS so we can expect a lot of server providers to switch to it an offer php7 effortlessly during the next months.

Requiring php7 for yii2.1 can be very useful

  • code generation in gii which can take full advantage of the type hintings.
  • views and controllers can be simplified a lot with the use groups
  • Interally yii2 has many unit tests and has a good dependency injection container, both of them can be benefited by the anonymous classes.
  • Yii security class can benefit a lot of the new random generators.

I propose to make a poll using emoji’s. I will post 3 options bellow and any reaction to them ( 👍 👎 etc) count as a vote for that option. That way someone can vote for more than one option.

The text was updated successfully, but these errors were encountered:

Источник

Оцените статью