-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit b77dff5
Showing
16 changed files
with
5,118 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/.gitattributes export-ignore | ||
/.github/ export-ignore | ||
/.gitignore export-ignore | ||
/.laminas-ci export-ignore | ||
/.laminas-ci.json export-ignore | ||
/docs/ export-ignore | ||
/mkdocs.yml export-ignore | ||
/phpcs.xml export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/psalm.xml export-ignore | ||
/psalm-baseline.xml export-ignore | ||
/test/ export-ignore | ||
/composer.lock export-ignore | ||
/composer-require-checker.json export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: "Continuous Integration" | ||
|
||
on: | ||
pull_request: | ||
push: | ||
branches: | ||
tags: | ||
|
||
jobs: | ||
ci: | ||
uses: laminas/workflow-continuous-integration/.github/workflows/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "Automatic Releases" | ||
|
||
on: | ||
milestone: | ||
types: | ||
- "closed" | ||
|
||
jobs: | ||
release: | ||
uses: laminas/workflow-automatic-releases/.github/workflows/[email protected] | ||
secrets: | ||
GIT_AUTHOR_EMAIL: ${{ secrets.GIT_AUTHOR_EMAIL }} | ||
GIT_AUTHOR_NAME: ${{ secrets.GIT_AUTHOR_NAME }} | ||
ORGANIZATION_ADMIN_TOKEN: ${{ secrets.ORGANIZATION_ADMIN_TOKEN }} | ||
SIGNING_SECRET_KEY: ${{ secrets.SIGNING_SECRET_KEY }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/docs/html/ | ||
/laminas-mkdoc-theme.tgz | ||
/laminas-mkdoc-theme/ | ||
/phpunit.xml | ||
/vendor/ | ||
.phpunit.result.cache | ||
.phpcs-cache |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Psr\Container { | ||
/** | ||
* Provides automatic type inference for Psalm when retrieving a service from a container using a FQCN | ||
*/ | ||
interface ContainerInterface | ||
{ | ||
/** | ||
* @param string|class-string $id | ||
* @return bool | ||
*/ | ||
public function has(string $id); | ||
|
||
/** | ||
* @template T | ||
* @psalm-param string|class-string<T> $id | ||
* @psalm-return ($id is class-string ? T : mixed) | ||
*/ | ||
public function get(string $id); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Copyright (c) 2022 Laminas Project a Series of LF Projects, LLC. (https://getlaminas.org/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
Copyright (c) 2022 Laminas Project a Series of LF Projects, LLC. | ||
|
||
Redistribution and use in source and binary forms, with or without | ||
modification, are permitted provided that the following conditions are met: | ||
|
||
- Redistributions of source code must retain the above copyright notice, this | ||
list of conditions and the following disclaimer. | ||
|
||
- Redistributions in binary form must reproduce the above copyright notice, | ||
this list of conditions and the following disclaimer in the documentation | ||
and/or other materials provided with the distribution. | ||
|
||
- Neither the name of Laminas Foundation nor the names of its contributors may | ||
be used to endorse or promote products derived from this software without | ||
specific prior written permission. | ||
|
||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND | ||
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED | ||
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE | ||
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR | ||
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES | ||
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON | ||
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT | ||
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS | ||
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# laminas-view | ||
|
||
[![Build Status](https://github.com/laminas/laminas-mvc-view/workflows/Continuous%20Integration/badge.svg)](https://github.com/laminas/laminas-mvc-view/actions?query=workflow%3A"Continuous+Integration") | ||
|
||
laminas-mvc-view provides MVC specific helpers and bindings between `laminas-view` and `laminas-mvc` | ||
|
||
## Installation | ||
|
||
Run the following to install this library: | ||
|
||
```bash | ||
$ composer require laminas/laminas-mvc-view | ||
``` | ||
|
||
## Documentation | ||
|
||
Browse the documentation online at https://docs.laminas.dev/laminas-mvc/ | ||
|
||
## Support | ||
|
||
- [Issues](https://github.com/laminas/laminas-mvc-view/issues/) | ||
- [Chat](https://laminas.dev/chat/) | ||
- [Forum](https://discourse.laminas.dev/) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"name": "laminas/laminas-mvc-view", | ||
"description": "Bridges Laminas MVC and Laminas View components", | ||
"license": "BSD-3-Clause", | ||
"keywords": [ | ||
"laminas", | ||
"view" | ||
], | ||
"homepage": "https://laminas.dev", | ||
"support": { | ||
"docs": "https://docs.laminas.dev/laminas-mvc-view/", | ||
"issues": "https://github.com/laminas/laminas-mvc-view/issues", | ||
"source": "https://github.com/laminas/laminas-mvc-view", | ||
"rss": "https://github.com/laminas/laminas-mvc-view/releases.atom", | ||
"chat": "https://laminas.dev/chat", | ||
"forum": "https://discourse.laminas.dev" | ||
}, | ||
"config": { | ||
"sort-packages": true, | ||
"platform": { | ||
"php": "7.4" | ||
}, | ||
"allow-plugins": { | ||
"dealerdirect/phpcodesniffer-composer-installer": true | ||
} | ||
}, | ||
"require": { | ||
"php": "^7.4 || ~8.0.0 || ~8.1.0", | ||
"laminas/laminas-http": "^2.15", | ||
"laminas/laminas-servicemanager": "^3.16.0", | ||
"psr/container": "^1 || ^2" | ||
}, | ||
"require-dev": { | ||
"laminas/laminas-coding-standard": "~2.3.0", | ||
"maglnet/composer-require-checker": "^3.8", | ||
"phpunit/phpunit": "^9.5.21", | ||
"psalm/plugin-phpunit": "^0.17.0", | ||
"vimeo/psalm": "^4.25.0" | ||
}, | ||
"autoload": { | ||
"psr-4": { | ||
"Laminas\\Mvc\\View\\": "src/" | ||
} | ||
}, | ||
"autoload-dev": { | ||
"psr-4": { | ||
"LaminasTest\\Mvc\\View\\": "test/" | ||
} | ||
}, | ||
"scripts": { | ||
"check": [ | ||
"@cs-check", | ||
"@test" | ||
], | ||
"cs-check": "phpcs", | ||
"cs-fix": "phpcbf", | ||
"static-analysis": "psalm --shepherd --stats", | ||
"test": "phpunit --colors=always", | ||
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml" | ||
} | ||
} |
Oops, something went wrong.