Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/maxlen/yii2_parse_by_domain
get pdfs or like that by domain
https://github.com/maxlen/yii2_parse_by_domain
Last synced: 3 days ago
JSON representation
get pdfs or like that by domain
- Host: GitHub
- URL: https://github.com/maxlen/yii2_parse_by_domain
- Owner: maxlen
- Created: 2016-09-16T15:12:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2016-10-09T18:23:17.000Z (about 8 years ago)
- Last Synced: 2023-07-15T10:44:02.544Z (over 1 year ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README #
Yii2 Parser by domain
### By this package you can: ###
* grab all links of domain
* store all *.pdf files (or all extensions which you need)# Installation: #
### composer install ###
In console:
```
composer require maxlen/yii2_parse_by_domain
```or add to file composer.json:
```
"require": {
"maxlen/yii2_parse_by_domain" : "dev-master"
},
"repositories": [
{
"type": "git",
"url": "https://github.com/maxlen/yii2_parse_by_domain.git"
},
]...
```### Configuration ###
1) Add string in file \common\config\aliases.php :
Yii::setAlias('vendor', dirname(dirname(DIR)) .'/vendor');
2) Add in file \common\config\params.php :
"yii.migrations"=> [ "@vendor/maxlen/yii2_parse_by_domain/migrations", ],3) In console:
```
php yii composer migrate
```# How should I use it: #
etc.