Log inSign up
Ash Allen 🚀
12.2K posts
Image
user avatar
Ash Allen 🚀
@AshAllenDesign
🚀 Freelance Laravel Web Developer and Blogger ⚡battle-ready-laravel.com 🔥 consuming-apis-in-laravel.com ✨ web-dev-freelancing.com
Preston, UK
ashallendesign.co.uk
Joined May 2021
620
Following
9,186
Followers
  • Pinned
    user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Oct 3, 2023
    Consuming APIs In Laravel is now available to buy! 🎉 It's the ultimate guide for learning how to build robust and powerful API integrations for your Laravel apps! 👉 Use the following discount code to get 20% off: CAIL20 consuming-apis-in-laravel.com #laravel #php
    Image
    Consuming APIs in Laravel - Get Your Copy Now!
    From consuming-apis-in-laravel.com
    45K
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Jun 4, 2022
    I've submitted a PR to Laravel to propose a new "for" method to use with our models. It can be used in a few different ways but I think it could make our code more expressive. What do you think of this? 🤔 #laravel #php github.com/laravel/framew…
    Laravel "for" method new proposed change
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Apr 21, 2023
    How do you get your current logged in user in your Laravel apps? I like using Option A! 😄 #laravel #php
    Image
    75K
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Mar 1, 2024
    In PHP, you can use the null coalesce assignment operator (??=) to assign a value to a variable if the variable is null! ⚡ I love using this wherever I can 😄 It's really handy for setting default values! Have you used this yourself?
    Image
    19K
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Sep 28, 2024
    In PHP, you can use the null coalesce assignment operator (??=) to assign a value to a variable if the variable is null! ⚡ It's not something I use often, but it's always nice when I get the chance to. It's really handy for setting default values! Have you used it? 😄
    Image
    19K
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Sep 30, 2024
    I love using "match" in my PHP code! 🔥 I find it : ✅ Concise and clear ✅ More readable than if/elseif/else ✅ Easy to extend with extra branches in the future ✅ Useful that we can return the result Do you use "match" in your projects? 😄
    Image
    17K
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Sep 5, 2022
    Battle Ready Laravel is now available to buy! 🚀 battle-ready-laravel.com #laravel #php
    Image
    Battle Ready Laravel - Get Your Copy Now!
    From battle-ready-laravel.com
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Feb 4, 2022
    🔥 In Laravel 9, you'll be able to use the cool new "checked" Blade directive. This is going to be a nice addition that we can use to clean up our Blade views a little bit #laravel #php
    Laravel @checked
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Jan 23, 2023
    collect.js: A Laravel-Like Syntax for JavaScript Arrays 🚀 ashallendesign.co.uk/blog/collect-j… #laravel #php #javascript
    18K
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    May 2, 2024
    These are some (not all) of the first @pestphp architecture tests I add to all my new Laravel projects! ⚡ They help me stick to conventions from the very start of the project! Are there any other arch tests you'd add to new projects? 😄
    Image
    16K
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Feb 2, 2022
    Yesterday, a really useful PR got merged into Laravel! It adds a "required_array_keys" validation rule. The rule checks that all of the specified keys exist in an array. I can already think of a few places in my projects where I could use this myself 🚀 #laravel #php
    required_array_keys validation rule for Laravel
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Aug 2, 2023
    Which approach do you prefer using in your Laravel apps? 🤔 I like using "whereKey"! #laravel #php
    Image
    36K
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Aug 26, 2023
    ⚡ Did you know you can use the "hashed" cast in your Laravel models to automatically hash strings before they're stored? This is perfect for automatically hashing your users' passwords before storing them in the database! #laravel #php
    Image
    25K
  • user avatar
    Ash Allen 🚀
    @AshAllenDesign
    Feb 27, 2023
    My second PR to Laravel 10 was merged! 🎉 In the next release of Laravel, there'll be a new "channel:list" Artisan command that lists out your application's private broadcasting channels. Super happy this got merged 🚀 #laravel #php
    Image
    26K

New to X?

Sign up now to get your own personalized timeline!

Create account

By signing up, you agree to the Terms of Service and Privacy Policy, including Cookie Use.

Terms·Privacy·Cookies·Accessibility·Ads Info·© 2026 X Corp.
Don't miss what's happening
People on X are the first to know.
Log inSign up