The best Composer packages for Laravel

The best Composer packages for web application development with PHP and Laravel, these packages that you will use in all your projects to reach a professional level.
Fecha de publicación: 2019-09-18


When we developed web applications, there are many requirements which are common in each project, example: session handler, operations with files, user logs, roles and permissions, documents export to PDF and Excel, others. In this article, I will try to do a list with the best Composer packages, which are used in the Laravel framework of PHP, and I am sure these are useful for you:

  • Laravel DebugBar: Is the debugging bar to build PHP applications but with a wrapper for Laravel.
  • Telescope: Is a debugging assistant very complete, this is an official package of Laravel ecosystem, which gives us control over queues, events, scheduler tasks, and commands.
  • Ignition: This is the new and beautiful errors page compatible and specially designed for Laravel 6.
  • albertcht/invisible-recaptcha: Integración del captcha invisible de Google para control de bots y spam.
  • barryvdh/laravel-snappy: This is the Snappy PDF adapter for Laravel, you can export the documents to PDF and image.
  • cviebrock/eloquent-sluggable: You can add slugs to Models easily, you could use this package in blogs, products, and courses, for example.
  • davejamesmiller/laravel-breadcrumbs: With this package, you can generate breadcrumbs to do simple navigation to all users.
  • gloudemans/shoppingcart: A simple but powerful shopping cart to build an eCommerce from scratch.
  • guzzlehttp/guzzle: The popular PHP HTTP client, you can do requests to API services.
  • laracasts/flash: Simple notifications in Laravel projects.
  • maatwebsite/excel: You can read and write spreadsheets with this package.
  • orangehill/iseed: Seeder inverse generator, the seeders are created using the database rows.
  • rap2hpoutre/laravel-log-viewer: With this viewer, you can analyze the logs easily to understand errors in the application.
  • spatie/laravel-backup: You can create a complete application backup, includes the database, the code, and files.
  • spatie/laravel-newsletter: This package allows you to manage your subscribers, this is connected with MailChimp.
  • spatie/laravel-sitemap: The sitemaps are very important in SEO strategy, this package allows you to creates the sitemap with code and automatically generate it.
  • stevebauman/purify: A package to clean data from users sent with a POST request, before to save in the database and prevent attacks.
  • teamtnt/laravel-scout-tntsearch-driver:You can build a custom search engine with local indexes.
  • vinkla/hashids: YouTube uses this technique, the package allows creating hashes by each Model ID, so you can hide the business logic of your application.
  • zizaco/entrust: Roles and permissions to users management.
  • barryvdh/laravel-translation-manager:If you want your site to be a multilingual project, this package is for you.
  • kwn/number-to-words: This does not require many explanations, this allows you to converts numbers to words, you can use it to create invoices, for example. 
  • spatie/laravel-activitylog: Track all the activity of your users in your application, so you can avoid malicious actions or just to control.
  • donatello-za/rake-php-plus: This is used to extract words from texts, very important in SEO strategy.
  • spatie/laravel-honeypot: Antispam using the honeypot technique.
  • tintnaingwin/email-checker: Verify if a given email is a real and existing email.
  • writingink/wink: The beautiful blogging platform, you can use it in existing or new projects.
  • spatie/media-library: Manage your multimedia files associated with your models.
  • nathanmac/parser: This is a very powerful package, you can convert structures like XML to Arrays and conversely, so also with JSON, YAML, and many more.
  • fabpot/goutte: This is a powerful screen scraping and web crawling. If you want, you can create a simple search engine like Google.
  • mpociot/laravel-apidoc-generator: Automatically generates all API documentation of an existing Laravel or Lumen site.
  • PHP Insights: Test the quality of your PHP code, refactor and reach the highest level.
  • Larastan: Static code analyzer to find bugs in PHP.



If you are in this section, this is the moment to says the best is for the end. Bellow, I want to show you some packages and a new service from Laravel ecosystem, professional products to bring your applications to the next level:

  1. LiveWire: Livewire is a full-stack framework for Laravel that makes building dynamic front-ends as simple as writing vanilla PHP (literally). Taken from original docs. 
  2. Inertia: Inertia is both server-side and client-side framework agnostic. It's not intended to replace your existing frameworks, but rather to complement them. And while the rest of this article will use Laravel and Vue.js as examples, you'll be able to use Inertia with any server-side framework (e.g. Rails, Django, Laravel, Symfony), as well as any client-side framework that supports dynamic components (e.g. React, Vue.js). Taken from original docs. 
  3. Vapor: Laravel Vapor is a serverless deployment platform for Laravel, powered by AWS.  Taken from original docs. 

I will add more packages so you will have a complete list of useful things to create projects with Laravel. If you liked this article, subscribe to the newsletter system and share it.

Omar Barbosa
Ingeniero Informático, desarrollador web con Python, PHP y Javascript
Compartir

Comparte este artículo en las redes sociales

Ubicación

Bucaramanga - Santader
Colombia

Redes sociales

Sobre mi

Ingeniero Informático, desarrollador web con Python, PHP y Javascript .