Pascal Baljet Profile Banner
Pascal Baljet Profile
Pascal Baljet

@pascalbaljet

6,253
Followers
313
Following
761
Media
4,242
Statuses

Husband of Esmรฉe, dad of Loรฏs and Kate โค๏ธ Owns , builds . Open-source enthusiast. Fan of PHP, Laravel, Inertia + Vue, TailwindCSS ๐Ÿš€

Amsterdam
Joined November 2014
Don't wanna be here? Send us removal request.
Pinned Tweet
@pascalbaljet
Pascal Baljet
3 months
๐Ÿ”ฅ Introducing Inertia Table ๐Ÿ”ฅ Very happy to announce the release of Inertia Table! I have been sweating the details on this one, and I am super stoked to have it out. I'll show you how much time you can save, all while impressing your users with beautiful, powerful tables ๐Ÿคฉ
Tweet media one
18
25
209
@pascalbaljet
Pascal Baljet
2 years
Hey @laravelphp developers, I've got something to show you! Let me introduce you: Laravel Splade ๐Ÿ”ฅ The magic of Inertia.js with the simplicity of Blade. Splade provides a super easy way to build Single Page Applications using Blade templates, and that's just one part ๐Ÿ˜ฒ
Tweet media one
51
165
771
@pascalbaljet
Pascal Baljet
1 year
In the #Laravel 4.x days, I made a prototype for a company that eventually evolved into a massive app with hundreds of classes and tons of functionality. Today it runs on Laravel 10 and #PHP 8.2. We always upgraded to the next Laravel and PHP release. The secret? Keep it
31
75
604
@pascalbaljet
Pascal Baljet
3 months
Match against two values in PHP ๐Ÿ‘Œ
Tweet media one
28
71
553
@pascalbaljet
Pascal Baljet
4 years
๐Ÿ’ก Advanced @laravelphp tip! If you're using the $attributes variable in a Blade Component, you're using the ComponentAttributeBag class, which is macroable ๐Ÿ˜ I wrote a macro to dynamically toggle classes by accepting an array, just like v-bind:class in Vue.js! #Laravel #PHP
Tweet media one
Tweet media two
11
98
515
@pascalbaljet
Pascal Baljet
3 years
Currently working on a fluent Nginx configuration builder ๐Ÿ˜
Tweet media one
19
23
428
@pascalbaljet
Pascal Baljet
6 months
The latest @laravelphp release comes with whereAll, orWhereAll, whereAny, and orWhereAny methods on the DB query builder. We've all been here, and this is such a nice little cleanup! ๐Ÿงน
Tweet media one
3
65
397
@pascalbaljet
Pascal Baljet
2 years
Lately, I've been working on guidelines for @laravelphp applications. Not necessarily coding standards (naming conventions, avoid else, etc.), but more like 'app'-guidelines - things you don't want to forget. Does anyone have similar guidelines or tips? ๐Ÿง #laravel #php #webdev
Tweet media one
17
64
331
@pascalbaljet
Pascal Baljet
3 years
๐Ÿ’ก A little #Laravel tip from the latest blog post to get the week started! Under the hood, the withAvg/withCount/withSum and other methods in Eloquent use the 'withAggregate' method. You can use this method to add a subselect based on a relationship ๐Ÿ’ซ #PHP #webdev #OpenSource
Tweet media one
9
87
296
@pascalbaljet
Pascal Baljet
3 years
๐Ÿ’ก The @laravelphp Query Builder can join a query to a subquery with the 'crossJoinSub()' method. In this example, it calculates the percentage of the total for each order. #Laravel #PHP #MySQL #opensource #webdev
Tweet media one
Tweet media two
6
48
255
@pascalbaljet
Pascal Baljet
11 months
Good morning @laravelphp developers! It's finally time to introduce the next chapter of Splade ๐Ÿ”ฅ Say hello to Splade Core! This package will be the foundation of all future Splade packages. In one sentence: You may now use Vue 3's Composition API in your Laravel Blade views ๐Ÿ˜
Tweet media one
19
31
243
@pascalbaljet
Pascal Baljet
3 years
Here are some of the defaults I use in new @laravelphp projects ๐Ÿ”ฅ Besides installing packages, what other defaults do you use? #Laravel #PHP #webdev
Tweet media one
6
42
218
@pascalbaljet
Pascal Baljet
3 months
Documenting every little detail of Inertia Table โœ๏ธ
Tweet media one
16
4
202
@pascalbaljet
Pascal Baljet
3 years
It's so elegant to encrypt attributes with @laravelphp Eloquent ๐Ÿ”ฅ
Tweet media one
4
25
194
@pascalbaljet
Pascal Baljet
2 years
As of @laravelphp v8.77, accessors and mutators are improved and work great with value objects. When storing a Price as two DB columns (currency and value), you may now directly change the value object, and the changes will automatically sync back to the model ๐Ÿ’ซ #laravel #php
Tweet media one
Tweet media two
Tweet media three
5
46
188
@pascalbaljet
Pascal Baljet
3 years
๐Ÿ’ก By default, the @laravelphp HTTP client doesn't throw exceptions on client and server errors. However, you can make it do that by using the 'throw' method, and this method is chainable ๐Ÿ”ฅ Documentation: #Laravel #PHP #webdev #webdevelopment
Tweet media one
4
30
181
@pascalbaljet
Pascal Baljet
4 years
Sending events to @googleanalytics with @laravelphp ๐Ÿ™Œ
Tweet media one
Tweet media two
10
14
184
@pascalbaljet
Pascal Baljet
2 years
Today I refactored a @laravelphp Eloquent Query with a 'whereHas' constraint to a 'whereIn' constraint. With the proper indexes (on the comments table) and using a large dataset, I got a massive speed bump ๐Ÿ’จ I'll investigate further and blog about it ๐Ÿง #Laravel #PHP #webdev
Tweet media one
6
23
179
@pascalbaljet
Pascal Baljet
11 days
I'm not exaggerating; @laravelphp is going to be freaking huge in the coming years. If you haven't jumped on the #Laravel train yet, now is absolutely the time. I jumped on 10 years ago and haven't looked back ๐Ÿ”ฅ
7
16
179
@pascalbaljet
Pascal Baljet
1 year
Want to see something cool? Splade now supports the View Transitions API. Remember, you're looking at a SPA built with @laravelphp Blade templates ๐Ÿคฏ Available in the latest #Laravel release ๐Ÿš€ Contributions by @Johan87 , @bdsumon4u , and Yunglin Chu ๐Ÿ™Œ
11
24
172
@pascalbaljet
Pascal Baljet
3 years
๐Ÿ’ก Did you know you can specify dependencies in the 'run' method of your @laravelphp seeders? Now I can use the CourseSeeder to create Course models for random teams, as well as for my own team using the 'callWith' method. Quite convenient! ๐Ÿ™ #Laravel #PHP #webdev #opensource
Tweet media one
2
54
173
@pascalbaljet
Pascal Baljet
1 year
๐Ÿ’ก Maybe everybody already knows since it's been around for ages, but today I needed to set a default URL parameter for some routes, and of course, @laravelphp has built-in support! ๐Ÿ“„ Docs: #Laravel #PHP
Tweet media one
2
33
170
@pascalbaljet
Pascal Baljet
8 years
Did you know @laravelphp Eloquent also has 'doesntHave' and 'whereDoesntHave' methods built-in? Super handy! #php
Tweet media one
4
72
157
@pascalbaljet
Pascal Baljet
7 months
The keynote weโ€™ve all been waiting for! ๐Ÿš€ A Laravel update from @taylorotwell #LaraconEU
Tweet media one
5
14
163
@pascalbaljet
Pascal Baljet
2 years
Laravel Precognition is coming to , which enables live validation of forms ๐Ÿ”ฎ #Laravel #PHP #webdev #opensource
10
30
160
@pascalbaljet
Pascal Baljet
2 years
Last year when working on e-commerce, I created a Form Components package for @vuejs + @tailwindcss . I never told the whole story, but over the last months, I upgraded it to Vue 3. It now also handles the 'processing' state of the @inertiajs Form Helper โœŒ๏ธ More soon!
4
14
159
@pascalbaljet
Pascal Baljet
3 years
๐Ÿ”Ž The #Laravel Cross Eloquent Search package can now order the results by model type! Last week the package was featured on @laravelnews : And @PovilasKorop did a quick review of it: Happy searching!
Tweet media one
4
32
160
@pascalbaljet
Pascal Baljet
3 years
I'm happy to announce our next Laravel project: Launcher ๐Ÿš€ We've built a Docker-based deployment tool to launch apps and sites fully containerized. There is a lot to tell about, so let me walk you through the features and some background info ๐Ÿ‘‡
12
21
149
@pascalbaljet
Pascal Baljet
2 years
๐Ÿ’ก You probably know the @laravelphp Collections class and its 'map' method and that it accepts a callback. But did you know you can also pass a variable to specify the callback? Under the hood, it uses PHP's native array_map method. #Laravel #PHP #OpenSource #webdev
Tweet media one
8
33
140
@pascalbaljet
Pascal Baljet
3 months
Inertia Table comes in Dark Mode! ๐ŸŒ˜
Tweet media one
11
9
143
@pascalbaljet
Pascal Baljet
2 years
The next version of " @inertiajs Tables for @laravelphp Query Builder" is gonna be awesome ๐Ÿคฉ โœ… Migrated to @vuejs v3 Composition API + @tailwindcss v3 โœ… Table auto-fill ๐Ÿ˜Ž โœ… UI improvements โœ… Less JS, more PHP โœ… New test-suite #Laravel #PHP #VueJS
Tweet media one
3
25
144
@pascalbaljet
Pascal Baljet
3 years
In the next blog posts, I'll cover Database and Eloquent improvements and new features in #Laravel 8.x. Here's a great little feature that got added in v8.60 ๐Ÿ”ฅ PR: Yesterday's post about Collections: #PHP #webdev #opensource
Tweet media one
4
32
130
@pascalbaljet
Pascal Baljet
6 months
Introducing Retailer! ๐Ÿ›๏ธ A @laravelphp platform designed to make ecommerce development a breeze. Offering full customization and starter kits for Inertia and Livewire. Stay tuned. Link and newsletter sign-up in the next tweet! โฌ‡๏ธ
11
9
132
@pascalbaljet
Pascal Baljet
3 years
I'm still working on the #Laravel #FFMpeg demo repo, and it'll include some crazy stuff like playing encrypted HLS streams from a private S3 bucket ๐Ÿ™€ It'll also contain Video.js + demos, thumbnails (+ VTT), watermarks, and best practices for queued jobs.
Tweet media one
7
14
130
@pascalbaljet
Pascal Baljet
1 year
There are so many superb #Laravel and #PHP packages. Installing them for just everything, notably 3rd-party services, is tempting. If you need just a few calls, consider using your own implementation. It ensures independence from maintainers, and you get just what you need ๐Ÿ˜‰
Tweet media one
6
22
129
@pascalbaljet
Pascal Baljet
5 months
Very happy to share we have a new family member, our second daughter: Kate Zoรซ Baljet โค๏ธ๐Ÿฅฐ
Tweet media one
19
0
131
@pascalbaljet
Pascal Baljet
2 years
Finalizing the wizard that'll get you started on the Video Platform ๐Ÿ”ฅ I've updated the default photo uploader from the @laravelphp Jetstream starter kit to upload directly to S3 from the browser. Luckily I'm using @inertiajs ๐Ÿ’ช I'll blog about it soon! #laravel #webdev
Tweet media one
3
11
130
@pascalbaljet
Pascal Baljet
1 year
[1/8] Love using #Laravel Dusk for extensive E2E testing! The 'Laravel Dusk Fakes' package enhances the testing capabilities with queued jobs, mails, and notifications. Here's an example from ๐Ÿ‘‡ ๐Ÿ“ฆ Package: #PHP #opensource
Tweet media one
5
23
128
@pascalbaljet
Pascal Baljet
11 months
I'm building a portal where users must upload big files (500MB+). I don't want to increase the PHP limits, so what can I do? I don't want to use third-party storage services. I was thinking about multi-part uploads with a self-hosted @Minio server. Any other ideas? ๐Ÿ’ก #PHP
24
12
122
@pascalbaljet
Pascal Baljet
6 months
Who uses the Laravel Data package (by @spatie_be ) instead of regular Laravel Form Requests to validate incoming requests into a controller? Really nice to strictly type all data coming in there ๐Ÿ‘Œ
Tweet media one
19
10
122
@pascalbaljet
Pascal Baljet
2 years
Here is V2 of @inertiajs Tables for @laravelphp Query Builder ๐ŸŽ‰ It has new features, better UI, bug fixes, and best of all: auto-fill. It auto-generates the header, body, filters, toggles, pagination, and search. <Table :resource="users" /> #Laravel
8
24
122
@pascalbaljet
Pascal Baljet
4 years
I'm working on a new @laravelphp package that I've wanted to build for a long time. It's called Laravel Content. It might end up in practically every new Laravel app of mine. Still working on it, but here's a sneak peek! ๐Ÿ™ˆ๐Ÿ™‰ #Laravel #PHP #webdevelopment
Tweet media one
Tweet media two
Tweet media three
1
9
122
@pascalbaljet
Pascal Baljet
4 years
Did you know @laravelphp has helper methods for defining foreign keys? ๐Ÿ‘Œ #laravel #php #webdev
Tweet media one
4
32
121
@pascalbaljet
Pascal Baljet
1 year
Queued jobs in #Laravel are perfect for handling time-consuming tasks without making users wait in the browser. However, it's important to keep users informed about the job's status, whether it succeeds or fails! ๐Ÿ™ˆ #PHP #webdev ๐Ÿ“„ Docs:
Tweet media one
1
27
119
@pascalbaljet
Pascal Baljet
3 years
๐Ÿ’ก As of @laravelphp v8.59, there is a shortcut to find models that are morphed to another model. It's easier to read and prevents hard-coding the polymorphic columns (*_id and *_type). PR: Blog post: #Laravel #PHP #OpenSource
Tweet media one
0
25
115
@pascalbaljet
Pascal Baljet
3 years
Inspired by yesterday's tweet, the #Laravel Cross Eloquent Search package now supports searching through (nested) relationships ๐Ÿคฏ #PHP #MySQL #webdev #Opensource
Tweet media one
3
28
113
@pascalbaljet
Pascal Baljet
23 days
Do you know the .vscode/tasks.json file? You can add it to your project, and @code will run your configured commands automatically when you open the project โœจ I use this for the Inertia Table so it starts the web server and Vite without me having to open terminals for them ๐Ÿ‘Œ
Tweet media one
7
11
114
@pascalbaljet
Pascal Baljet
2 years
Here it is! No additional dependencies and built right into @laravelphp Splade: A Table component doing all the work for you ๐Ÿ’ซ I'll record a video to show you the magic! ๐ŸŽฅ ๐Ÿ’พ Repo: ๐Ÿ“– Docs: #Laravel #PHP #opensource
Tweet media one
5
29
111
@pascalbaljet
Pascal Baljet
4 years
Working on a front-end component for @spatie_be 's Laravel Query Builder package ๐Ÿ˜‹ For this project (using @inertiajs and @laravelphp ), it must work on all tables, so it's quite flexible! #Laravel #PHP #VueJS #Javascript #webdevelopment
7
16
110
@pascalbaljet
Pascal Baljet
2 years
Did you know @laravelphp has a 'Filesystem' class with all kinds of neat methods? ๐Ÿ“‘ Unlike Storage::disk(), where you can configure multiple disks, this class focuses on the local filesystem. Check out the API: #Laravel #PHP #webdevelopment #opensource
Tweet media one
2
26
106
@pascalbaljet
Pascal Baljet
2 months
A @laravelphp app from one of our clients has 50+ Notification classes, almost all through the mail and database channels. They wanted to know how effective these notifications are, so we needed some kind of tracking system. Turns out this is quite simple as each notification
5
3
109
@pascalbaljet
Pascal Baljet
3 years
๐Ÿ“ Last week I wrote about the new Collection features in the weekly @laravelphp 8.x releases. This week: Database and Eloquent ORM! Since v8.27, you can call `chunkMap` on the Query Builder ๐Ÿ’ก Blog post: #Laravel #PHP #webdevelopment #OpenSource
Tweet media one
2
33
106
@pascalbaljet
Pascal Baljet
3 years
I tagged a new version of #Laravel Cross Eloquent Search, which now supports ordering results by relevance ๐Ÿ”Ž It counts the words/terms in the fields and orders the results by the number of occurrences. #PHP #MySQL #webdev #Opensource
Tweet media one
3
33
105
@pascalbaljet
Pascal Baljet
1 year
Well, that was easy to build! #NativePHP
Tweet media one
3
6
104
@pascalbaljet
Pascal Baljet
2 years
Hey everybody! Here's my Cyber Week deal! ๐Ÿ’ซ Laravel Splade v1.0 โœ… SPA with Blade templating engine โœ… Still the full power of Vue.js โœ… Sticks close to the default @laravelphp features and development flow โœ… Automatic installer + Laravel Breeze starter kit #Laravel #PHP
7
26
102
@pascalbaljet
Pascal Baljet
4 years
๐Ÿ” I've tagged a new major release of Laravel Cross Eloquent Search! It now supports disabling wildcards, and the "sounds like" operator that @marcelpociot mentioned. Earlier we've included addMany(), addWhen(), count() and simplePaginate() methods.
Tweet media one
1
12
103
@pascalbaljet
Pascal Baljet
3 months
Just one day until the launch of Inertia Table! ๐Ÿš€ The tests have 100% code coverage. 152 tests running in less than a second! There is a @laravelphp Dusk test suite to cover all features on the front-end as well ๐Ÿ”ฅ
@pascalbaljet
Pascal Baljet
3 months
Documenting every little detail of Inertia Table โœ๏ธ
Tweet media one
16
4
202
9
5
102
@pascalbaljet
Pascal Baljet
3 years
Laravel Cross Eloquent Search now supports Full-Text search, even through relationships! ๐Ÿคฉ It's really fast and efficient because all magic happens in-database (pagination, sorting, searching, etc.) ๐Ÿ’จ Repo: #Laravel #PHP #MySQL #webdev #opensource
Tweet media one
2
36
98
@pascalbaljet
Pascal Baljet
3 months
Eloquent wizards, I have a question for you! ๐Ÿช„ I need to find all users that match an exact set of tags. Using a WHERE IN matches just one of the tags. The example below works, but is there a better way to do this? ๐Ÿค”
Tweet media one
20
7
100
@pascalbaljet
Pascal Baljet
3 years
Full-text search is coming to #Laravel Cross Eloquent Search ๐Ÿ”Ž It supports in-database pagination and sorting, constraints and scopes, and eager loading of relationships. Only need to work on full-text through nested relationships! โœจ #PHP #opensource
Tweet media one
3
16
93
@pascalbaljet
Pascal Baljet
3 years
The next version of Laravel FFMpeg can generate a tile/mosaic from a video ๐Ÿ–ผ This will allow video players to show tooltip thumbnails. I need to finish the WebVTT implementation and then tag a new version! #Laravel #PHP #opensource #ffmpeg
Tweet media one
2
12
96
@pascalbaljet
Pascal Baljet
2 months
Inertia Table is super customizable and flexible in three major ways: styling, templates/slots, and reusing all built-in features with a custom Vue component. Here's the built-in Table component, but with a custom grid template ๐Ÿ”ฅ
6
7
95
@pascalbaljet
Pascal Baljet
4 years
Ever wanted to *append* query data to the current URL? There's a method for that in @laravelphp ! ๐Ÿช„ Will soon submit a PR to the docs :) #Laravel #PHP #webdev
Tweet media one
4
27
94
@pascalbaljet
Pascal Baljet
1 year
A big shout out to @shufo_ for developing the #Laravel Blade Formatter! ๐Ÿ™Œ I can't believe I didn't stumble upon this gem earlier! Works with @PrettierCode and there's an extension for @code . It even sorts your @tailwindcss classes โœจ #PHP #webdev
5
15
94
@pascalbaljet
Pascal Baljet
2 years
Sort and search through nested relationships, with infinite depth. No additional packages, Model traits, or custom SQL code required ๐Ÿคฏ Coming to is a few days โค๏ธ #Laravel #PHP #webdev #opensource
Tweet media one
Tweet media two
5
18
92
@pascalbaljet
Pascal Baljet
2 years
Testing Notifications with @laravelphp Dusk ๐Ÿ’ซ It usually doesn't work with Dusk as the test and browser session are different app instances. The NotificationFake saves the sent messages in memory. I'm working on a similar solution for Jobs and Mails ๐Ÿ˜ #Laravel #PHP #webdev
Tweet media one
4
17
90
@pascalbaljet
Pascal Baljet
4 years
๐Ÿ’ก In @laravelphp , you can also use the dd() method on the Query Builder. It will dump the SQL query and bindings. Really convenient if you're debugging your database queries! #Laravel #PHP #webdevelopment
Tweet media one
1
19
91
@pascalbaljet
Pascal Baljet
2 years
Pretty happy with the progress on the Course editor. Reorder videos within a section, move videos between sections, and reorder whole sections ๐Ÿ’… Of course, powered by @inertiajs ๐Ÿ”ฅ #buildinpublic
7
4
90
@pascalbaljet
Pascal Baljet
1 year
Exciting news! I'm thrilled to announce the launch of the Splade demo app. It's been in beta for a month, but now it's available to everyone. It's a full-featured app, so it deserves its own name. Say hello to Eddy! ๐ŸŽ‰ #Laravel #Splade #PHP
8
21
87
@pascalbaljet
Pascal Baljet
4 months
This is my 3rd open-source Tables package (Inertia > Splade > Inertia). Thanks to named arguments, it's the cleanest and most flexible yet ๐Ÿ’ซ It has some of the most requested features from the others, like Date filters and selectable clauses (contains, starts with, etc.) ๐Ÿ”Ž
Tweet media one
@pascalbaljet
Pascal Baljet
4 months
Since then, Iย introducedย Retailer. I've come full circle during its development and brought some Splade magic to Inertia ๐Ÿ’ฅ In the upcoming months,ย I will release a handful of new Inertia packages, with Inertia Table leading the way in the next few weeks ๐Ÿ”Ž
2
1
21
8
10
86
@pascalbaljet
Pascal Baljet
1 year
Artisan Fuel โ›ฝ๏ธ #laravel #fanboy
Tweet media one
0
4
84
@pascalbaljet
Pascal Baljet
23 days
Ever wished you could use Model Scopes when validating the existence of a record? ๐Ÿ‘€ Rule::exists() lets you pass a Model, but only for extracting the table and connection; you can't use your scopes. I submitted a PR for a Rule::modelExists() that lets you do that! ๐ŸŽ‰
Tweet media one
7
11
83
@pascalbaljet
Pascal Baljet
1 year
Finally jumped on the Apple Silicon bandwagon ๐Ÿš€ What should install first? Wrong answers only.
Tweet media one
125
1
82
@pascalbaljet
Pascal Baljet
3 years
๐Ÿ“ Here's part 2 of the new Database and Eloquent ORM features in @laravelphp 8.x since the release in September 2020. One of my favorites is the ability in Model Factories to create models without dispatching any events ๐Ÿ”ฅ Blog post: #Laravel #PHP
Tweet media one
4
17
83
@pascalbaljet
Pascal Baljet
4 years
My colleague @bradyrenting has integrated Doka Image Editor (by @rikschennink ) with @spatie_be 's Media Library Pro ๐ŸŽจ #Laravel #PHP #javascript #webdev #vuejs
1
14
83
@pascalbaljet
Pascal Baljet
7 years
Spotted @tailwindcss during a demo at @vuejsamsterdam โœŒ๏ธ
Tweet media one
1
12
83
@pascalbaljet
Pascal Baljet
6 months
Landing page with async newsletter subscription. We're spoiled with how much we get out of the box with @laravelphp ๐Ÿ”ฅ
Tweet media one
4
5
82
@pascalbaljet
Pascal Baljet
6 months
Happy @laravelphp 11 day! ๐Ÿ”ฅ Most of my packages are ready: โœ… Blade On Demand โœ… Browser Kit Macro โœ… Cross Eloquent Search โœ… Eloquent Scope as Select โœ… FFMpeg โœ… MinIO Testing Tools โœ… Mixins โœ… Paddle โœ… Task Runner โœ… Verify New Email These three are waiting for
3
2
82
@pascalbaljet
Pascal Baljet
6 months
Iโ€™ll deploy this site tomorrow! ๐Ÿš€
@pascalbaljet
Pascal Baljet
6 months
WIP
Tweet media one
4
4
78
2
5
81
@pascalbaljet
Pascal Baljet
3 years
๐ŸŽ‰ I'm happy to announce that at the end of 2021, I've become a maintainer of the PHP-FFmpeg repo, which powers the #Laravel package. Today I've opened a massive PR aiming to modernize the library (PHP 8.0+ and Symfony 5.4+): #PHP #opensource #ffmpeg
5
13
81
@pascalbaljet
Pascal Baljet
3 years
Laravel Validation tip ๐Ÿ’ก There's a *distinct* rule that validates that a specific field in each element is unique. Here's a link to the @laravelphp docs. It has some additional options as well: #PHP #Laravel
Tweet media one
3
18
76
@pascalbaljet
Pascal Baljet
3 months
Big day!
Tweet media one
1
1
80
@pascalbaljet
Pascal Baljet
4 years
With @laravelphp , you can dispatch a Closure job to the queue. Starting from Laravel 8, may your queued Closure job fail, there's a catch() method you can use to handle the failure ๐Ÿง™โ€โ™‚๏ธ #Laravel #PHP #laravel8
Tweet media one
3
13
78
@pascalbaljet
Pascal Baljet
6 months
Who's ready for Laravel 12? ๐Ÿ”ฅ๐Ÿ˜…
Tweet media one
3
1
79
@pascalbaljet
Pascal Baljet
2 years
Here's the next version of @laravelphp Splade! It now supports Server-side rendering (SSR) and has a new SEO Facade ๐Ÿคฉ ๐Ÿ’พ Repo: ๐Ÿ“– Docs: ๐Ÿ“บ Video: #Laravel #PHP #VueJS #opensource #webdevelopment
Tweet media one
2
14
78
@pascalbaljet
Pascal Baljet
2 years
It's been 1.5 years or something since I started using Inertia.js, and I can't see myself building apps without it anymore. So when I return from paternity leave, I'll start an open-source @laravelphp + @inertiajs project. It's not a package but a complete app ๐Ÿ˜Ž #Laravel #PHP
5
4
79
@pascalbaljet
Pascal Baljet
7 months
Gorgeous location #LaraconEU
Tweet media one
8
4
78
@pascalbaljet
Pascal Baljet
6 months
WIP
Tweet media one
4
4
78
@pascalbaljet
Pascal Baljet
9 months
Impressive numbers! ๐Ÿ’จ
Tweet media one
@taylorotwell
Taylor Otwell โ˜๏ธ ๐Ÿฆน
9 months
Announcing FrankenPHP support in Laravel Octane! ๐Ÿš€ FrankenPHP is a modern PHP application server that supports early hints, automatic SSL certificate management, and more. And, when paired with Octane, it's really, really fast. ๐Ÿ˜ Enjoy! ๐Ÿซก
37
194
1K
3
6
78
@pascalbaljet
Pascal Baljet
3 years
The 'Remember me' feature in @laravelphp uses a cookie with a token to keep the user authenticated when the session expires. It works cross-device until you log out on one of them, as it will then refresh the token (server-side)... ...unless you use 'logoutCurrentDevice' ๐Ÿ™
Tweet media one
3
22
78
@pascalbaljet
Pascal Baljet
4 years
composer require spatie/*
Tweet media one
7
8
77
@pascalbaljet
Pascal Baljet
2 years
Here's the next @laravelphp Splade version. The final one before v1, and it's full of magical but super-easy-to-use features ๐Ÿคฉ โœ… Lazy Loading โœ… Persistent Layout โœ… Transitions โœ… Teleports ๐Ÿ“– Docs (and Breeze kit) are updated: #Laravel #PHP #webdev
Tweet media one
5
21
75
@pascalbaljet
Pascal Baljet
2 years
The next version of @laravelphp Splade comes with a Table component. It has every feature of the Inertia equivalent and is really snappy ๐Ÿš€ Of course, it's also compatible with @spatie_be 's Query Builder. I'm currently writing docs and some additional tests โœŒ๏ธ #Laravel #PHP
5
12
76
@pascalbaljet
Pascal Baljet
3 years
Just in time for the new year, here's a new version of #Laravel FFmpeg! ๐ŸŽ† ๐Ÿ‘‰ Create a mosaic/sprite/tile ๐Ÿ‘‰ Much better support for exporting frames ๐Ÿ‘‰ VTT Preview Thumbnail generator Have a great time everybody, and take care! โค๏ธ #FFMpeg #PHP #webdev
Tweet media one
Tweet media two
1
14
76
@pascalbaljet
Pascal Baljet
2 years
๐Ÿ’ก Here's another example of using a callable this way with @laravelphp Collections. The 'pipeThough' method has been available since v8.78.1. PR 'pipeThrough' by @stevethebauman : More Collection magic: #Laravel #PHP #opensource
Tweet media one
@pascalbaljet
Pascal Baljet
2 years
๐Ÿ’ก You probably know the @laravelphp Collections class and its 'map' method and that it accepts a callback. But did you know you can also pass a variable to specify the callback? Under the hood, it uses PHP's native array_map method. #Laravel #PHP #OpenSource #webdev
Tweet media one
8
33
140
0
23
72
@pascalbaljet
Pascal Baljet
7 months
Very nice to have @dunglas on stage to talk about FrankenPHP and Mercure broadcasting ๐Ÿ“ข
Tweet media one
2
8
75