STMicroelectronics Voltage Regulators - Linear, Low Drop Out (LDO) Regulators, TO-263-2. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.
orderable attributes: rebuild .lbr with adom-lbr 2.18.0 so MPN, MANUFACTURER and the distributor part numbers reach <technology> (DIGIKEY_PN 497-1178-2-ND, LCSC_PN C13456, MOUSER_PN 511-L7812CD2T-TR). The published library carried no attributes at all, so a BOM had nothing to buy from. Distributor PNs matched on exact MPN AND corroborating manufacturer.