PHPackages                             kawtharstudios/sf15to18 - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. kawtharstudios/sf15to18

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

kawtharstudios/sf15to18
=======================

A PHP package to convert a 15 digit Salesforce ID to 18 digits

1.0.2(3mo ago)29MITPHPPHP &gt;=8.0

Since Mar 8Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/KawtharStudios/sf15to18)[ Packagist](https://packagist.org/packages/kawtharstudios/sf15to18)[ RSS](/packages/kawtharstudios-sf15to18/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (2)Versions (4)Used By (0)

SF15to18
========

[](#sf15to18)

[![Packagist](https://camo.githubusercontent.com/79be53681478bdadbf7546d978db7b0d595d2acdcd179f2504c754919164f875/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b61777468617273747564696f732f73663135746f3138)](https://packagist.org/packages/kawtharstudios/sf15to18/)[![Packagist Downloads](https://camo.githubusercontent.com/7d59ad4d12f0840b0038911b21f921377b89f59b0659f81ca4960205afe09249/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f6b61777468617273747564696f732f73663135746f31382e7376673f6c6162656c3d646f776e6c6f616473)](https://packagist.org/packages/kawtharstudios/sf15to18)[![Made With](https://camo.githubusercontent.com/3994cc4f86157eaf13cc05557f8edaffcfad5ab2810bc3530a38f7eb5629f8ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6164655f776974682d7068702d626c7565)](https://camo.githubusercontent.com/3994cc4f86157eaf13cc05557f8edaffcfad5ab2810bc3530a38f7eb5629f8ec/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6d6164655f776974682d7068702d626c7565)

Convert **15-character Salesforce IDs** to their **18-character** case-insensitive form.

Salesforce “classic” IDs are 15 chars and **case-sensitive**. The 18-char form adds a 3-character suffix so the ID becomes **case-insensitive**, which is safer for spreadsheets, exports, and integrations.

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

[](#requirements)

- **PHP**: 8.0+
- **Illuminate Support**: `illuminate/support` ^9 or ^10

Installation
------------

[](#installation)

```
composer require kawtharstudios/sf15to18
```

Usage
-----

[](#usage)

```
