Coder Social home page Coder Social logo

laminas / laminas-mvc-console Goto Github PK

View Code? Open in Web Editor NEW
4.0 16.0 29.0 1.28 MB

Integration between laminas-mvc and laminas-console

Home Page: https://docs.laminas.dev/laminas-mvc-console/

License: BSD 3-Clause "New" or "Revised" License

PHP 100.00%
hacktoberfest security-updates-only

laminas-mvc-console's Introduction

laminas-mvc-console

This package is abandoned and will receive no further development!

We recommend using laminas/laminas-cli.

Build Status Coverage Status

laminas-mvc-console provides integration between:

  • laminas-console
  • laminas-mvc
  • laminas-router
  • laminas-view

and replaces the console functionality found in the v2 releases of the latter three components.

Installation

$ composer require laminas/laminas-mvc-console

Assuming you are using the component installer, doing so will enable the component in your application, allowing you to immediately start developing console applications via your MVC. If you are not, please read the introduction for details on how to register the functionality with your application.

For use with laminas-mvc v3 and up

While this component has an initial stable release, please do not use it with laminas-mvc releases prior to v3, as it is not compatible.

Migrating from laminas-mvc v2 console to laminas-mvc-console

Please see the migration guide for details on how to migrate your existing laminas-mvc console functionality to the features exposed by this component.

laminas-mvc-console's People

Contributors

bcremer avatar froschdesign avatar geeh avatar koopzington avatar michalbundyra avatar ocramius avatar rieschl avatar samsonasik avatar slamdunk avatar svycka avatar tysonandre avatar weierophinney avatar xerkus avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

laminas-mvc-console's Issues

PHP 8.0 support

Feature Request

Q A
New Feature yes

Summary

To be prepared for the december release of PHP 8.0, this repository has some additional TODOs to be tested against the new major version.

In order to make this repository compatible, one has to follow these steps:

  • Modify composer.json to provide support for PHP 8.0 by adding the constraint ~8.0.0
  • Modify composer.json to drop support for PHP less than 7.3
  • Modify composer.json to implement phpunit 9.3 which supports PHP 7.3+
  • Modify .travis.yml to ignore platform requirements when installing composer dependencies (simply add --ignore-platform-reqs to COMPOSER_ARGS env variable)
  • Modify .travis.yml to add PHP 8.0 to the matrix (NOTE: Do not allow failures as PHP 8.0 has a feature freeze since 2020-08-04!)
  • Modify source code in case there are incompatibilities with PHP 8.0

Psalm integration

Feature Request

Q A
QA yes

Summary

As decided during the Technical-Steering-Committee Meeting on August 3rd, 2020, Laminas wants to implement vimeo/psalm in all packages.

Implementing psalm is quite easy.

Required

  • Create a .psalm.xml.dist in the project root
  • Copy and paste the contents from this psalm.xml.dist
  • Run $ composer require vimeo/psalm
  • Run $ vendor/bin/psalm --set-baseline=psalm-baseline.xml
  • Add a composer script static-analysis with the command psalm --shepherd --stats
  • Add a new line to script: in .travis.yml: - if [[ $TEST_COVERAGE == 'true' ]]; then composer static-analysis ; fi
  • Remove phpstan from the project (phpstan.neon.dist, .travis.yml entry, composer.json require-dev and scripts)
Optional
  • Fix as many psalm errors as possible.

Deprecate the component

Mvc Console support in mvc applications was unofficially considered a deprecated feature ever since composer and container advent.

Deprecate this component specifically and implementing zend-mvc based console applications as a whole, to be dropped in the next major zend-mvc release.

@weierophinney @froschdesign do we have component level deprecation notice template? Should we suggest symfony/console as an alternative?


Originally posted by @Xerkus at zendframework/zend-mvc-console#32

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.