https://pascalbaljet.dev Pascal Baljet Blog
laravel, php, developer, protone media, pascal baljet, inertia, inertia.js, pascal baljet media
I'm the owner of the software company Protone Media and a big open-source enthusiast. I build Inertia UI and many other Laravel packages, which have over 4 million downloads.
Pascal Baljet Blog Blog Follow me! Hi! I'm Pascal Baljet and I write about Laravel and Inertia.js 👋 I'm the owner of the software company Protone Media and a big open-source enthusiast. I build Inertia UI and many other Laravel packages, which have over 4 million downloads. Vue 3.5 Released: New features and improvements September 6, 2024 Vue 3.5 has just dropped this week, and it's packed with some nice features and improvements. I have been digging through the release notes and playing around with the new features, so let me glance over the highlights! Up until now, you could use toRef() to destructure props reactively. But in Vue... Read article Taylor Otwell announces Inertia v2 at Laracon US 2024 - Here’s what’s new! August 27, 2024 Taylor Otwell just announced some really cool new features in Inertia v2 at Laracon US 2024. Here's a quick overview of the new features that I wrote down during the talk. I will update this post with more details as soon as the official documentation is updated. Currently, in Inertia 1.0, you can o... Read article Thoughts on Splade: I took a week off to look around and reflect. February 23, 2024 In the summer of 2022, I took a month off from work as our daughter was born. Before leaving, I worked mainly on Inertia projects, but I also had a huge Laravel project built with Blade and some Vue components. I had already released some Laravel packages, but wanted to do something different after... Read article Introducing Laravel Task Runner: Write scripts like Blade Components and run them anywhere May 2, 2023 After all the Splade announcements and developments of the past months, today marks the release of a new Laravel package! The latest and greatest version 10 of the Laravel framework comes with a brand new Process API - a wrapper around the famous Symfony component, which simplifies the execution of... Read article Build Laravel apps even faster with the Jetstream Starter Kit for Laravel Splade February 17, 2023 It's been a while since I blogged about Laravel Splade, but a lot has happened since the last blog post. Splade is gaining traction, and usage numbers are increasing! Many already use it to build their projects, leading to many feature requests and bug and support tickets. Thanks everybody for provi... Read article Introducing Laravel Splade: The easiest way to build interactive Single-Page applications (SPA) using Laravel Blade templates September 14, 2022 A few weeks ago, we introduced Laravel Splade. In a nutshell, it combines the magic of Inertia.js with the simplicity of Laravel Blade. It started as an experiment to bring that magical SPA feeling to Blade and worked incredibly well. I introduced it on Twitter, and the response was overwhelming! Yo... Read article How to use a local MinIO S3 server with Laravel, and automatically configure it for your Laravel Dusk test suite May 16, 2022 If you're writing tests for your Laravel application and you need to interact with its storage system, you might have come across the Storage::fake() method. This method brilliantly fakes an entire filesystem disk, whether a local disk or an external disk like an S3 service. As a result, you don't h... Read article Blade, Requests, Routing, and Validation: New features since the Laravel 8.0 release in September 2020 (2/2) February 7, 2022 This blog post follows up on the first overview of the new Blade, Requests, Routing and Validation features in Laravel 8 since the original release in September 2020. Enjoy! I got most code examples and explanations from the PRs and official documentation. The collect method now allows you to get a... Read article Blade, Requests, Routing, and Validation: New features since the Laravel 8.0 release in September 2020 (1/2) December 3, 2021 Following last week's blog post about Jobs and Queues, here's an overview of new features and improvements when it comes to Blade, Requests, Routing and Validation. I got most code examples and explanations from the PRs and official documentation. Quickly inspect the request input. Typically, a 404... Read article New features and improvement in Laravel Jobs and Queues since the original v8.0 release November 22, 2021 In this fourth post of the series, I've gathered new features added to Jobs and Queues in Laravel 8. Since the original release of 8.0 back in September 2020, Jobs and Queues got a bunch of significant updates that you don't want to miss. If you want to learn all the ins and outs of this topic, look... Read article Database and Eloquent ORM: New features and improvements since the original Laravel 8 release (2/2) November 13, 2021 This blog post follows up on last week's overview of the new Database and Eloquent features in Laravel 8 since the original release in September 2020. I already covered Collections, and next week is all about Jobs and Queues. Enjoy! I got most code examples and explanations from the PRs and official... Read article Database and Eloquent ORM: New features and improvements since the original Laravel 8 release (1/2) November 5, 2021 In this series, I show you new features and improvements to the Laravel framework since the original release of version 8. Last week, I wrote about the Collection class. This week is about the Database and Eloquent features in Laravel 8. The team added so many great improvements to the weekly versio... Read article A look at new features and improvements since the original Laravel 8.0 release: Collections October 29, 2021 This year, the Laravel team announced a new release schedule for major Laravel versions. Instead of a major version every six months, we now get a major release every 12 months. This change didn't stop the team from improving the current release, Laravel 8. Over the last 14 months, it got so many gr... Read article Create beautiful Open Graph images with Browsershot and Tailwind CSS October 18, 2021 For Artisan School, I wanted to create custom Open Graph images for each video page. For example, when somebody shares a link on social media, platforms like Facebook and Twitter use the OG image to represent the shared link. There are many services to create and serve OG images, but I didn't want t... Read article I'm recording the complete Laravel documentation as video screencasts, and you can join the process of building this platform. September 10, 2021 Today I want to share the birth of a new project with the Laravel community: Artisan School. The primary goal is to provide high-quality Laravel screencasts where I mix the Laravel documentation with real-life examples. Besides the video content, I want to create a place to discover code examples, l... Read article A package for Laravel Dusk to wait for Inertia.js events April 8, 2021 Today marks the release of another Laravel + Inertia.js package, this time a small one compared to last week's Tables package. This new package provides helper methods for Laravel Dusk that you can use to wait for specific Inertia.js events to fire. Dusk is a first-party Laravel package that lets yo... Read article Introducing Inertia.js Tables: a DataTables-like package for Laravel Query Builder April 2, 2021 I'm thrilled to announce the release of a new package. It's a DataTables-like package for Inertia, Laravel, and Vue that comes with Tailwind-styled components and great features! You can search through your data, both globally and per attribute. There's support for pagination, sorting, column toggli... Read article Proof of Concept: Load any route into a modal with Inertia.js using Laravel and Vue.js March 25, 2021 Last month we started our second big project with Inertia.js. The development of the first one is well underway, and with the recent announcement of Server-Side Rendering support, I genuinely think Inertia is the future of web development. It's incredibly intuitive as it gives you the best of both w... Read article Encrypted HLS with Laravel FFMpeg: Protect your videos with AES-128 Encryption December 22, 2020 The Laravel FFmpeg package has supported HLS for over four years. It's a fantastic protocol to provide on-demand, adaptive streaming. Initially developed by Apple in the early days of iOS, it is now the most popular streaming format, and it works on Android and virtually every other browser as well.... Read article Apply the opposite of your Eloquent scope to the Query Builder with a Laravel package December 11, 2020 Last week I blogged about a new package that I wrote. It builds upon the magic of Laravel Eloquent, and it quickly gained attention. As I worked on a minor release with some enhancements and shortcuts, I got an idea for a new feature. It's closely related to last week's package, but I decided to wra... Read article Stop duplicating your Eloquent query scopes and constraints. Re-use them as select statements with a new Laravel package. December 2, 2020 In the Laravel framework, you've undoubtedly come across the Eloquent ORM. It makes working with your database a breeze as its query builder is both simple and incredibly powerful. It also has this concept of scopes, which you can apply globally to a model, or locally throughout your app. An example... Read article Laravel FFMpeg now supports watermarks out-of-the-box October 16, 2020 Today a new version of Laravel FFMpeg has been released: version 7.3. It now has support for watermark built-in! You can add watermarks from your local or remote storage or even from the web. Positioning is easy. You can position it in a CSS-way, or you can use the built-in position constants. Let's... Read article Convert and store Base64 encoded files in Laravel, use Validation rules, and access the decoded files from the Request instance September 28, 2020 Laravel makes it easy to handle file uploads from a request that's multipart/form-data encoded. You can access uploaded files through a Request instance, and it has helper methods to store files easily. It also has a bunch of rules to validate incoming files. For example, you can verify that the inc... Read article Laravel Form Components to rapidly build forms with Tailwind CSS and Bootstrap 4 August 10, 2020 I've always been a big fan of the Bootstrap framework, from the first version on. It's a great way to rapidly build interfaces and prototypes. These days we've mostly moved away from it towards Tailwind CSS, but it's still a great framework. Adam Wathan, the creator of the Tailwind framework, had a... Read article Learn what's new in Laravel 8.0 August 9, 2020 The next version of the Laravel framework, version 8.0, is planned for September 8th. It's packed with new features and improvements! As we're getting close to the release, it becomes clearer which PRs got merged. Some of the new stuff will be unveiled later on, probably at Laracon in late August. I... Read article Search through multiple Eloquent models with our latest Laravel package July 14, 2020 There are many ways to add search functionality to your Laravel project. You can use the Query Builder, use the official Scout package to integrate with Algolia or use a third-party package like Spatie's laravel-searchable. Today we're introducing a new package to perform cross model, in-database se... Read article We're releasing the next major version of Laravel FFMpeg: a full rewrite with new features and many improvements May 26, 2020 In the Laravel 5.1 days, we got involved in completing the development of a video platform. It already had a lot of custom FFMpeg code, but there was no abstraction or testing, and it wasn't developer-friendly. We learned a lot, however. There was a great PHP-FFMpeg package out there, and the FFMpeg... Read article Tracking events with Google Analytics and a new Laravel package May 7, 2020 Yesterday I posted a tweet about a Google Analytics implementation I was working on. It was based on a Event/Listener solution using Laravel. The tweet quickly gained traction and one day later it was liked more than 170 times and I was encouraged to build a package out of it! Here we are, introduci... Read article New features and changes in the upcoming Laravel 7.0 release January 22, 2020 We are just a few weeks away from the Laravel 7 release, so I've put together a list of some important new features and changes. Of course this is not everything but it is a brief overview of some of the new stuff. Please note that Laravel 5.8 will not receive security updates after February 26, 202... Read article An add-on to Laravel's built-in email verification. Only update a user's email address if the new one is verified as well. December 31, 2019 The Laravel framework has a built-in Email Verification feature that allows a user to verify its email address. It also comes with a Middleware that protects routes against unverified users. Resetting Passwords require a database table to store the reset tokens, but for Email Verification an approac... Read article A new Laravel package to handle payments and subscriptions with Paddle December 3, 2019 Yesterday we've released a new package to use the Paddle.com API and webhooks in a Laravel app. Paddle is not just a payment provider like Stripe, they actually take care of handling taxes around the world which is a big deal when running a SaaS. Besides the regular VAT you have to handle in the EU,... Read article Introducting the Tappable trait to use 'tap' with any class May 14, 2019 As you might know, the Laravel framework comes with a handy tap method which allows you to call the given closure with the given value and then return the value. Sounds confusing? It probably is until you've seen it! Let's take a look at this example: Lately we've used a Tappable trait in one of our... Read article Introducing a new Laravel package: API Health July 30, 2018 Today we are releasing a new Laravel package! It's a toolbox for monitoring first and third-party services and APIs, it keeps you notified about services going down (and up!). Out of the box it supports checking HTTP endpoints and verifying SSL certificates and the package allows you to generate you... Read article Mixing the Laravel 5.4+ HTTP testing layer with BrowserKit testing January 31, 2018 Laravel 5.4 (January, 2017) came with the introduction of Laravel Dusk, a first-party package with support for browser automation and a corresponding testing API. The HTTP testing layer got rewritten and became much more focussed on APIs from Laravel 5.4 onwards. Some of the HTTP testing tools were... Read article How to use FFmpeg in your Laravel projects August 22, 2017 After some issues that got opened on GitHub I decided to write a blogpost on the Laravel FFmpeg package we created. We use this package ourselves in three different production environments. The example below is not taken from one of these projects but the goal is to give you a sense of what you coul... Read article Read the full changelog of the upcoming Laravel 5.5 LTS release August 20, 2017 The next version of Laravel, which is a LTS release, will be released during and shortly after Laracon EU 2017. Laravel News has published some great articles of changes and new features in the framework. These are some of my personal favourites: Besides the Laravel News articles you can also read t... Read article Convert accented characters with a Laravel helper function April 27, 2017 Besides the famous Collection class that Laravel provides it also has a Str class that has lots of great functions to work with strings. Some of these functions are available through helper functions and others you have to find in the API documentation. Last week we were working with a third party A... Read article Setup MailHog with Laravel Valet February 7, 2017 As you might know, Laravel Valet makes it super easy to do development on your Mac. For Laravel there are some great packages to handle mail testing such as MailThief and Laravel Mail Preview Driver. You could also use a online service like Mailtrap to do mail testing. Another option I want to discu... Read article Working with the Validator instance in Form Requests January 20, 2017 One undocumented gem I found today in the Laravel Framework is the withValidator method on a FormRequest class. If this method exists on your request class, this method gets called with the Validator instance as first argument. It allows you to interact with the validator instance before the actual... Read article What to expect from Laravel in 2017 January 16, 2017 The release of version 5.4 of the Laravel Framework is expected to be released in the next few weeks. Some exiting new features, enhancements and changes are coming! Here's a short overview of what to expect. New features Enhancements Changes The release of Laravel 5.5 is expected in July and will r... Read article A brief overview of the Laravel Ecosystem December 29, 2016 Besides the framework itself, the Laravel brand has much more to offer. There are development environments, optional packages and services that help you get your projects online. Along with some rebranding that was announced, I'd like to give an overview of the Laravel ecosystem. Of course there is... Read article Composer 1.3.0 is now released December 24, 2016 Jordi Boggiano, co-founder of Packagist and lead developer of Composer, announced the release of version 1.3.0 of Composer. It has some great new features and added a workaround for the performance impact that is caused by running PHP with Xdebug enabled. Composer can update itself by running the se... Read article Format monetary values by using a Money library and Laravel Blade directives December 22, 2016 For a project which has to deal with prices, we decided to use the PHP Money library. It is an implementation of Fowler's Money pattern and has great features and no dependencies. Most important, you shouldn't represent (and store) monetary values by a float. It takes away the problem of rounding er... Read article Toggle Xdebug on macOS from the terminal December 14, 2016 When you have the Xdebug extension for PHP installed and enabled, most of your PHP code will run notably slower. A little helper tool called 'Xdebug Toggler for OSX' provides an easy way to quickly enable or disable Xdebug from the terminal: You can find the source code on GitHub and installing it i... Read article Using Laravel Eloquent, you can add 'where clauses' on a relationship count condition December 14, 2016 Eloquent provides an easy way to add a relationship count condition to a query. Say you have a User model and a Role model which are related to each other using a many-to-many relationship. Using Eloquent it is very easy to get all Users that have one or more Roles or doesn't have Roles at all: This... Read article macOS Sierra doesn't automatically mount a network drive, keeps asking for credentials December 14, 2016 At the office we're using an Ubuntu server for filesharing amongst other things. After upgrading to macOS Sierra 10.12, the Finder app keeps asking for credentials when you try to connect to a network share: With the latest 10.12.2 update, Apple fixed this with a preference you can set. According to... Read article Hyper: a cross-platform terminal built on JS/HTML/CSS December 13, 2016 Recently a team of nearly 100 developers released version 1.0 of Hyper, an open-source terminal based on web technologies that runs on Linux, macOS and Windows. The development team focused on speed and extensibility. It can easily be styled with themes and extensions are universal Node.js modules w... Read article macOS authentication agent asking for a passphrase, does it forget your public/private key? December 10, 2016 Every once in a while when I try to access a git repository, I need to enter a passphrase for my public/private key. Without having modified once of the keys, somehow the macOS authentication agent seems to forget the keys. Of course you could regenerate your keys and update them across all your ser... Read article Stay up to date I have a newsletter where I share updates on Laravel, Inertia, and my packages. My name Join © 2013-2024 Pascal Baljet. All rights reserved. Code highlighting by Torchlight.
en
en
1729738621
https://pascalbaljet.dev
編輯您的網站?
你在幹什麼?