TopGit theo dõi phar-io/manifest trên GitHub, đã đạt 7.5k sao. Component for reading phar.io manifest information from a PHP Archive (PHAR)
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
Component for reading phar.io manifest information from a PHP Archive (PHAR).
Installation
You can add this library as a local, per-project dependency to your project using Composer:
composer require phar-io/manifest
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
composer require --dev phar-io/manifest
Usage Examples
Read from manifest.xml
use PharIo\Manifest\ManifestLoader;
use PharIo\Manifest\ManifestSerializer;
$manifest = ManifestLoader::fromFile('manifest.xml');
var_dump($manifest);
echo (new ManifestSerializer)->serializeToString($manifest);
$bundled = new \PharIo\Manifest\BundledComponentCollection();
$bundled->add(
new \PharIo\Manifest\BundledComponent('vendor/packageA', new \PharIo\Version\Version('1.2.3-dev')
)
);
$manifest = new PharIo\Manifest\Manifest(
new \PharIo\Manifest\ApplicationName('vendor/package'),
new \PharIo\Version\Version('1.0.0'),
new \PharIo\Manifest\Library(),
new \PharIo\Manifest\CopyrightInformation(
new \PharIo\Manifest\AuthorCollection(),
new \PharIo\Manifest\License(
'BSD-3-Clause',
new \PharIo\Manifest\Url('https://spdx.org/licenses/BSD-3-Clause.html')
)
),
new \PharIo\Manifest\RequirementCollection(),
$bundled
);
echo (new ManifestSerializer)->serializeToString($manifest);
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/phar-io/manifest là nguồn chính thức.
phar-io/manifest có bao nhiêu sao?
phar-io/manifest có 7.5k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/phar-io/manifest. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
phar-io/manifest có phải mã nguồn mở không?
TopGit chưa ghi nhận license cho phar-io/manifest. Phần lớn repo public trên GitHub là mã nguồn mở, nhưng điều khoản khác nhau từng repo — mở file LICENSE để xác nhận.
phar-io/manifest có trang demo không?
Dự án có trang chủ ở https://phar.io/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
phar-io/manifest là gì?
phar-io/manifest (phar-io/manifest) là dự án PHP trên GitHub. Theo mô tả gốc: Component for reading phar.io manifest information from a PHP Archive (PHAR)
Đọc đầy đủ README ở tab phía trên.
manifest có đáng để bạn bỏ thời gian?
ChatGPT, Claude và Perplexity đều đọc được trang này. Hỏi thử xem họ nghĩ gì về manifest.