arefshojaei / template-downloader
HTML template downloader
Package info
github.com/ArefShojaei/Template-downloader
Type:project
pkg:composer/arefshojaei/template-downloader
Requires
- php: ^8.0
- arefshojaei/php-x: ^1.6
- arefshojaei/spider: ^2.3
- guzzlehttp/guzzle: ^7.9
Requires (Dev)
- phpunit/phpunit: ^10
This package is auto-updated.
Last update: 2026-05-16 13:54:13 UTC
README
Download your own favorite HTML Template from anywhere 😎
Installation
Composer installer
composer create-project arefshojaei/template-downloader my-project
OR
Clone the repository
git clone https://github.com/ArefShojaei/Template-downloader.git
Setup
Move to the folder
cd my-project
OR
cd Template-downloader
Install dependencies
composer install
Guide:
Download single template with URL
php cli template {url}
Download multiple templates from "template.config.json" file
php cli template --config
Demo
After downloading the template, here is demo of the downloaded template
template/ | ├── assets │ ├── images/ │ ├── fonts/ │ ├── scripts/ │ └── styles/ | └── index.html
Note: If you want to get better the response, you will be able to must run a local web-server at the template folder.
There are two ways to run a local web-server
First way
Using Live-server ( vs-code extention )
Second way
Run PHP built-in web-server with this command
cd dist/template-name
php -S localhost:5200
Done.