Skip to content
Daniele Barbaro

Laravel packages I maintain

When a project of mine needs something that has no good solution, I build it. When it turns out that others have the same problem, I release it as open source.

Every package here started as code I needed on a real project. The decision to publish comes afterwards.

Published under
Plin Code and my own name
Where
Packagist and GitHub
Daniele seen from behind, in a black cap and a red backpack, pointing at a distant peak over layers of blue ridges

laravel-vat-eu-validator

VAT number validation for European businesses, inside Laravel. If you have built an e-commerce product for the European market you know the problem: numbers are checked against the VIES service, formatting rules differ by country, and edge cases are everywhere, from timeouts to invalid responses.

The package gives you validation rules that fit Laravel's validation system, error handling for the quirks of VIES, and formatting that normalizes the messy input real users type.

522,029downloads on Packagist

Read on Packagist on and refreshed once a day.

27,287 downloads in the last month.

37 tagged releases since February 2019.

What the others solve

Each one answers a problem I met more than once.

  • Italian public data

    ISTAT publishes useful datasets, but bringing them into a Laravel application was a manual, repetitive job. laravel-istat-geography gives a queryable interface to regions, provinces and municipalities, and I built it properly after needing it on a third project. laravel-istat-foreign-countries does the same for the classification of foreign countries.

  • Structure

    laravel-clean-architecture scaffolds Laravel applications around Hexagonal Architecture, with generators and conventions that organize code around domain boundaries rather than technical layers.

  • Small tools

    laravel-email-fixer normalizes emails and corrects common typos. Small, but useful when you are tired of seeing gmail.con in your user table.

All the packages

The list is the proof: what I publish, with what people download.

Downloads read on Packagist on .

Community

The PHP and Laravel communities gave me tools that make my work possible. Giving back is part of the job.

  • User group

    I co-organize PUG Torino, the user group in Turin.

  • Speaking

    I give talks at meetups and conferences, including LaravelDay, where I spoke about CI/CD for Laravel applications.

What this means for clients

I know software from both sides: as someone who depends on libraries, and as the maintainer of code that others depend on.

  • Dependencies

    I'm careful about adding them, because I have seen what happens when a package is abandoned or takes a breaking turn.

  • Maintenance

    I write code to last, because I know what keeping it alive takes.

  • Documentation

    I write down decisions and edge cases, because I have lived the confusion when that context is missing.

Short answers

The questions people ask about the packages.

What does laravel-vat-eu-validator do?

It validates VAT numbers for European businesses inside Laravel. It checks them against the VIES service, handles the quirks of that service's errors, and normalizes the formatting of messy user input.

Which of your packages is the most downloaded?

It is laravel-vat-eu-validator. The live count is in the section above, read from Packagist when this page was built.

Where do your packages come from?

From code I needed on real projects. I publish a package when it becomes clear that others have the same problem.

Where can I find all of them?

On Packagist and GitHub, under Plin Code and under my own name. The list on this page links every one.