maxlen / yii2_parse_by_domain
Yii2 domain parser
Installs: 15
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:yii2-extension
Requires
- electrolinux/phpquery: dev-master
- phpcasperjs/phpcasperjs: ^1.0
This package is not auto-updated.
Last update: 2025-02-01 22:24:37 UTC
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
-
Add string in file \common\config\aliases.php :
Yii::setAlias('vendor', dirname(dirname(DIR)) .'/vendor');
-
Add in file \common\config\params.php :
"yii.migrations"=> [ "@vendor/maxlen/yii2_parse_by_domain/migrations", ],
-
In console:
php yii composer migrate
How should I use it:
etc.