Learn how to build and publish a new Laravel package from scratch, covering essential steps such as setting up a git repository, creating a composer.json file, adding necessary dependencies, and structuring the package. The tutorial focuses on creating a package with an artisan command for generating Data Transfer Objects (DTOs) in Laravel and PHP. It also covers setting up testing with pestPHP, using the Testbench package, and ensuring code quality through static analysis and styling with PHPStan and Laravel Pint.

17m read timeFrom juststeveking.com
Post cover image

Sort: