PackageTrack
Sign in Get early access

theiconic/name-parser

PHP library for parsing a string containing a full name into its parts

v1.2.11 5.3M downloads/mo #1603 most downloaded on Packagist theiconic/name-parser

What this package is like to depend on

Last release 7 years ago

no release in 18 months

Release timing varies

gaps range from 9 days to 1.3 years

Some releases are documented

notes for 10 of 19 stable releases

Nothing withdrawn

no release was ever pulled

11 years old

19 releases · first in 2015

0 releases in the last 12 months

see the full history below

Release timeline

19 releases · May 2015 to Nov 2019
2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 19
  1. v1.2.11 14 Nov 2019
    Release notes
    • add support for combined initials - without separating space (e.g. in 'TJ Hooker' or 'T.J. Hooker')
      (This slightly changes the parsing behaviour as e.g. TJ Hooker would have previously ended up as Tj Hooker, with Tj being the first name. However, this was seen as a bug, so this change is not treated as a breaking change.)
    Open source →
  2. v1.2.10 06 Nov 2019
    Release notes
    • add support for multi-part salutations (e.g. 'Her Honour') (#29, thanks @rvanlaak)
    • fix parsing of combined lastnames with prefix (e.g. 'Heijdanus-De Boer') (#31, thanks @rvanlaak)
    Open source →
  3. v1.2.9 05 Nov 2019
    Release notes
    • support for 'Prof.' salutation (#24, thanks @baletskyi)
    • enable re-printing of given name (first name, middle names, initials) in given order (#21, thanks @jpmschuler)
    • enable re-printing of full name (given name plus last names) in given order
    • add test for custom language support (#23, thanks @ryancwalsh)
    Open source →
  4. v1.2.8 03 Jun 2019
    Release notes
    • add test cases for parsing and normalisation of vietnamese names (#17, thanks @yellow1912)
    Open source →
  5. v1.2.7 03 Jun 2019
    Release notes
    • enable parsing suffixes in patterns of the form lastname, firstname suffix where they were previously parsed as middle names (#18, thanks for reporting @adrienne)
    • add tests for lastname, firstname, suffix and lastname, firstname initial, suffix patterns
    Open source →
  6. v1.2.6 16 Sep 2018
    Release notes
    • limit salutation to the first half of the parts and allow overriding via setMaxSalutationIndex()
    • remap special values like suffix, nickname and salutation from the end of the string as lastnames if otherwise no lastname can be found (#11, thanks again @VinceG)
    Open source →
  7. v1.2.5 28 Aug 2018
    Release notes
    • support parsing of strings that have the salutation at the end without comma-separation (#11, thanks @VinceG)
    • add section about special part retrieval features in README
    Open source →
  8. v1.2.4 28 Aug 2018
    Release notes
    • enable separate retrieval of last name prefixes via getLastnamePrefix() and pure last names (without prefixes) via getLastname(true) (#10, thanks @divinenanny)
    Open source →
  9. v1.2.3 28 Aug 2018
    Release notes
    • correctly parse nickname-type segments even if they are in last position, e.g. Charles Dickens (20th century) (#8, thanks @divinenanny)
    Open source →
  10. v1.2.2 10 Jul 2018
    Release notes
    • fix for parsing of middle names in <lastname>, <firstname> <middlename> scenarios (thanks @francislavoie )
    Open source →
  11. v1.2.1 19 Jun 2018

    Nothing published for this version

  12. v1.2.0 17 Apr 2018

    Nothing published for this version

  13. v1.1.0 15 Apr 2018

    Nothing published for this version

  14. v1.0.3 13 Apr 2018

    Nothing published for this version

  15. v1.0.2 13 Apr 2018

    Nothing published for this version

  16. v1.0.1 14 Aug 2017

    Nothing published for this version

  17. v1.0.0 16 May 2017

    Nothing published for this version

  18. 0.1.1 12 Sep 2016

    Nothing published for this version

  19. 0.1 10 May 2015

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive