PHPackages                             analogic/lescript - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. analogic/lescript

ActiveLibrary[Security](/categories/security)

analogic/lescript
=================

Lescript is simplified concept of ACME client implementation especially for Let's encrypt service. It's goal is to have one easy to use PHP file without dependencies.

0.3.1(3y ago)22515.1k↓38.8%51[2 PRs](https://github.com/analogic/lescript/pulls)1MITPHPPHP &gt;=5.3

Since Dec 11Pushed 3y ago13 watchersCompare

[ Source](https://github.com/analogic/lescript)[ Packagist](https://packagist.org/packages/analogic/lescript)[ RSS](/packages/analogic-lescript/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (18)Used By (1)

Simple Let's encrypt client concept in PHP
==========================================

[](#simple-lets-encrypt-client-concept-in-php)

> **Note**: lescript is standalone part of [LEManager](https://github.com/analogic/lemanager)

Lescript is a simplified concept of ACME client implementation specifically for the Let's Encrypt service. It's goal is to have one PHP file with no dependencies.

**Use at your own risk.**

Usage
-----

[](#usage)

See commented content of **Lescript.php** and **\_example.php**. Please rewrite the files to suit your needs - the purpose of this library is not to use it as is, nor to use it in production!

Support **challenge only through webroot**.

Requirements
------------

[](#requirements)

- PHP 5.3 and up
- OpenSSL extension
- Curl extension

Why i created lescript?
-----------------------

[](#why-i-created-lescript)

Because of implementation of Let's Encrypt to [Poste.io](https://poste.io)!

###  Health Score

40

—

FairBetter than 86% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community26

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 73.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~167 days

Recently: every ~279 days

Total

17

Last Release

1180d ago

PHP version history (2 changes)0.1.0PHP &gt;=5.4.8

0.1.3PHP &gt;=5.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/fdf4dfe5022ac16b16529f1eea5cddcdea18ea9170799a1f4b5357eff4066b98?d=identicon)[analogic](/maintainers/analogic)

---

Top Contributors

[![analogic](https://avatars.githubusercontent.com/u/934254?v=4)](https://github.com/analogic "analogic (19 commits)")[![futureweb](https://avatars.githubusercontent.com/u/1698881?v=4)](https://github.com/futureweb "futureweb (3 commits)")[![tm1000](https://avatars.githubusercontent.com/u/564256?v=4)](https://github.com/tm1000 "tm1000 (2 commits)")[![gernest](https://avatars.githubusercontent.com/u/6039952?v=4)](https://github.com/gernest "gernest (1 commits)")[![xrobau](https://avatars.githubusercontent.com/u/457798?v=4)](https://github.com/xrobau "xrobau (1 commits)")

---

Tags

encryptionletsencryptACME

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/analogic-lescript/health.svg)

```
[![Health](https://phpackages.com/badges/analogic-lescript/health.svg)](https://phpackages.com/packages/analogic-lescript)
```

###  Alternatives

[phpseclib/phpseclib

PHP Secure Communications Library - Pure-PHP implementations of RSA, AES, SSH2, SFTP, X.509 etc.

5.6k465.6M1.5k](/packages/phpseclib-phpseclib)[defuse/php-encryption

Secure PHP Encryption Library

3.9k175.2M254](/packages/defuse-php-encryption)[kelunik/acme

ACME library written in PHP.

121610.5k3](/packages/kelunik-acme)[kelunik/acme-client

Let's Encrypt / ACME client written in PHP for the CLI.

3974.5k1](/packages/kelunik-acme-client)[acmephp/acmephp

Let's Encrypt client written in PHP

650159.8k](/packages/acmephp-acmephp)[paragonie/ciphersweet

Searchable field-level encryption library for relational databases

4671.4M24](/packages/paragonie-ciphersweet)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
