@hcraigblue.bsky.social You do not attack my children - craig.blue
20.02.2025 10:56 β π 0 π 0 π¬ 0 π 0@dalehurley.bsky.social
Passionate coder with 30 years of experience. Spent 20 years mastering PHP, and for the past 8 years, Iβve been loving Laravel and React. Australia π¦πΊπ¦π¨
@hcraigblue.bsky.social You do not attack my children - craig.blue
20.02.2025 10:56 β π 0 π 0 π¬ 0 π 0Switched to using Envoyer for Blue/Green zero downtime deployments, new jobs fail on prod, Forge uses an absolute path for queues. Forge was pointed to the old codebase. Hours wasted trying to find the bug in the codebase that wasnβt there.
02.01.2025 22:15 β π 1 π 0 π¬ 1 π 0Thinking of PHP as outdated? π€ Think again!
Here's a reminder: "Don't say PHP is dead without trying Modern PHP." π‘
#PHP #Programming
I built my first ASP site using notepad.
19.12.2024 06:17 β π 0 π 0 π¬ 0 π 0It is a change in priorities. At 40 I have kids, mortgage etc. In my 20βs my only responsibility was myself. However I would argue today I am a lot productive by knowing where to focus and what fires to ignore.
19.12.2024 06:10 β π 1 π 0 π¬ 0 π 0Iβm excited for updates to copilot. Iβm currently using Cursor and wish copilot could be just as good.
18.12.2024 07:24 β π 1 π 0 π¬ 0 π 0Absolutely!
15.12.2024 18:59 β π 1 π 0 π¬ 0 π 0Best printer we ever brought is the Epson EcoTank.
14.12.2024 23:46 β π 4 π 0 π¬ 1 π 0None ATM, maybe if I ever get audited I might have to explain it to the auditor, but given my business number is there, I am sure they will be fine.
14.12.2024 23:40 β π 1 π 0 π¬ 0 π 0Google doesnβt like that my business name is a URL. I get emails from Google with Removed URL Pty Ltd invoice.
14.12.2024 23:15 β π 0 π 0 π¬ 1 π 0Then throw in ShadCN-UIβ¦chefs kiss.
14.12.2024 23:12 β π 1 π 0 π¬ 0 π 0It is not a zero sum game. I prefer here but still use Twitter.
14.12.2024 23:11 β π 1 π 0 π¬ 0 π 0This is an ~immediate~ bookmark for me!
I've under-utilized PHP Attributes mostly because I couldn't be bothered to go look up the full list of ones that Laravel offers, so expect to see them more frequently in my code thanks to @christophrumpel.bsky.social πͺ
Wow @anthropic.com, I can suggest a great AI to write something more interesting.
12.12.2024 10:22 β π 0 π 0 π¬ 0 π 0If we all find 100 posts to like every day, engagement and good will on @bsky.app grows exponentially.
Is it worth a few minutes to make the platform stronger ?
@joe.codes wakes up the next day to 20 new bugs.
11.12.2024 07:36 β π 0 π 0 π¬ 0 π 0JavaScript is currently making the mistakes PHP made 20 years ago. We had CodeIgniter and then Laravel which massively pushed PHP forward.
10.12.2024 09:35 β π 3 π 0 π¬ 0 π 0PHP is trending right now π«
09.12.2024 16:03 β π 36 π 5 π¬ 1 π 0How did it compare to Forge and Envoyer?
09.12.2024 06:10 β π 0 π 0 π¬ 0 π 0I should add the Static calls the three views and returns them as HTML entities escaped strings.
05.12.2024 12:47 β π 1 π 0 π¬ 0 π 0Laravel custom commands allow you to efficiently create DSLs. For example I want to use Views for my OpenAI prompts. I made a php artisan make:gpt-prompt and it creates a folder in my views with system.blade.php, user.blade.php and schema.json. Now I can call OpenAI::compose(βnameOfPromptβ $data);
05.12.2024 12:29 β π 3 π 0 π¬ 1 π 0What do you mean by shiny?
05.12.2024 12:20 β π 1 π 0 π¬ 0 π 0Of course it was. He made packages for OpenAI for Laravel.
05.12.2024 06:21 β π 0 π 0 π¬ 1 π 0In more complicated projects beyond simple CRUD, data comes from multiple sources, some trusted, some not. Just because you can drive drunk doesnβt mean you should.
04.12.2024 23:08 β π 1 π 0 π¬ 0 π 0Yes you can use request validation, but you might also have data coming from other sources eg APIs or other models (denormalisation). When you are working in teams, it helps to stop changes have unintended consequences.
04.12.2024 20:08 β π 1 π 0 π¬ 1 π 0Laravel Contracts are awesome:
β
Explicit dependencies
β
Better testability
β
Framework-agnostic code
β
Clear class responsibilities
Your code, your rules! π
#Laravel #PHP
Inspired by @justinjackson.caβs Laravel starter pack, Iβve thrown together one of Australian Laravel folks!
Keep in touch with some local people sharing your affinity for the Laravel framework, between Laracons.
Missed people? Let me know!
go.bsky.app/NNFmHx1
User::query() ->when($request->search, fn($q) => $q->where('name', 'like', "%{$request->search}%") ) ->when($request->active, fn($q) => $q->where('active', true) ) ->get();
Want to filter your Eloquent queries without if statements? Use When():
#Laravel #PHP
Did you know? Laravel's dependency injection container is so powerful you can bind interfaces to concrete classes, allowing you to swap entire implementations without changing any code! Just update your binding in ServiceProvider:
app()->bind(PaymentInterface::class, StripePayment::class);
#Laravel
ShadCN-UI is amazing
01.12.2024 08:02 β π 4 π 0 π¬ 0 π 0