Download the PHP package francescobruno-cmv/clickable-links without Composer
On this page you can find all versions of the php package francescobruno-cmv/clickable-links. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package clickable-links
Clickable Links
Una libreria PHP leggera che converte automaticamente URL, indirizzi email, link FTP e handle Skype presenti in una stringa di testo in tag HTML anchor cliccabili (<a href="...">).
โจ Features
- โ
Converte URL con protocollo (
http://,https://, ecc.) - ๐ Converte URL
www.ewap.anche senza protocollo - ๐ Converte link
ftp.con protocollo corretto - ๐ง Converte indirizzi email in link
mailto: - ๐ฌ Supporta handle Skype (
skype:username) - ๐ Gestisce automaticamente le HTML entities in input
- ๐ Tutti i link si aprono in nuova scheda (
target="_blank") - โก Zero dipendenze โ PHP puro, nessun pacchetto esterno
๐ฆ Installazione
Installa il pacchetto tramite Composer:
โ๏ธ Requisiti
- PHP >= 7.4
๐ Utilizzo
๐ Pattern riconosciuti
| Pattern | Esempio input | href generato |
|---|---|---|
| URL con protocollo | https://example.com/page |
https://example.com/page |
| URL HTTP | http://example.com |
http://example.com |
| URL WWW | www.example.com |
http://www.example.com |
| URL WAP | wap.example.com |
http://wap.example.com |
| URL FTP | ftp.example.com |
ftp://ftp.example.com |
[email protected] |
mailto:[email protected] |
|
| Email con prefisso | mailto:[email protected] |
mailto:[email protected] |
| Skype | skype:username |
skype:username |
๐ Esempi
๐ค Contributi
Le contribuzioni sono benvenute!
- Fai fork del progetto
- Crea un branch (
feature/nome-feature) - Commit delle modifiche
- Push sul branch
- Apri una Pull Request
๐ Licenza
Questo pacchetto รจ distribuito sotto licenza MIT.
Vedi il file LICENSE.md per maggiori dettagli.
๐ค Autore
Francesco Bruno
โญ Supporto
Se il pacchetto ti รจ utile, lascia una โญ su GitHub!
All versions of clickable-links with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.4
The package francescobruno-cmv/clickable-links contains the following files
Loading the files please wait ...