clemours/starwarslib
最新稳定版本:1.2.1
Composer 安装命令:
composer require clemours/starwarslib
包简介
demo package
README 文档
README
_in progress_
not so far ago in a galaxy not so far away...
This library has the purpose to provide a simple way to get data from the Star Wars Website. It's Open Source so don't be shy to make it better for everyone !
Installation
composer req clemours/starwarslib
Local dev
composer install
php vendor/bin/phpstan analyse src --level=max
php vendor/bin/php-cs-fixer fix src --rules=@PSR12
php vendor/bin/phpunit tests
What can u get ?
- Names from the databank url (https://www.starwars.com/databank)
- More to come soon !
How it works ?
- I use XPath to get the content from the website
Take a look at my Api.php file to see more about it 🧑🏻💻
Usage
Run this command to render the list of the names get from the url
php build/index.php
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 7
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-07-03