Posts Tagged ‘package’

Laravel Tag Helper

Laravel Tag Helper is a package by Marcel Pociot for adding powerful HTML tag helpers to your Laravel application. As a quick example of what this package can do, it ships with a few helpers out of the box.

Posted in php

Continue Reading

Laravel Form Builder

Laravel Form Builder is a package by Kristijan Husak that incorporates an API similar to Symfonys form builder for Laravel 5 applications. Form builder for Laravel 5 inspired by Symfonys form builder.

Posted in php

Continue Reading

Laravel 5.7.10 Released

The Laravel team shipped Laravel 5.7.10 yesterday with a handful of new features, fixes, and changes: First up, is the ability to load relationship counts on an Eloquent collection. Before this feature, you could only load relationships, but now you can call loadCount() to get counts for all relations.

Posted in php

Continue Reading

Lighthouse GraphQL Server for Laravel

Lighthouse is a PHP package that allows you to serve a GraphQL endpoint from your Laravel application. It aims to reduce boilerplate code around creating a schema and integrates well with your existing Laravel application.

Posted in php

Continue Reading

Larastan: Discover Bugs in Your Code Before Running It

Larastan is a static analysis command-line tool by Nuno Maduro built on top of PHPStan and focuses on finding errors in your Laravel code before running it. If youve ever used PhpStorm, youve probably experienced static analysis of your PHP code both in realtime and within code inspections.

Posted in php

Continue Reading

Building Package Installers

I think most of us that have worked with Laravel for a while are very familiar with the package installation process: add the package via composer, register the service provider, publish the config file, update the environment file, hopefully you remember to update .env.example, and after all of that you hope that you didnt miss a step. This often involved copying and pasting from a README and bouncing back and forth between your editor and a browser.

Posted in php

Continue Reading

Laravel Console Task

Laravel Console Task is a package by Nuno Maduro that allows you to perform tasks and to output the results to the console. For example, lets say your package comes with a console command that checks for certain requirements to validate that the installation is compatible with your PHP environment: As seen in the above example, the macro returns the result of the closure, which means you can capture the result in a variable if you need to reference the outcome later in your console.

Posted in php

Continue Reading

Log Fake for Laravel

Log Fake is a drop-in fake logger for testing with the Laravel framework by Tim MacDonald (@timacdonald). The Log fake package gives you the ability to fake the logger in your application, including the ability to make assertions against channels and stacks introduced in Laravel 5.6.

Posted in php

Continue Reading