My Laravel Packages
Hi everyone. I have created 2 packages for Laravel that may be useful to some of you.
1. Laravel Livewire CRUD
This package provides a comprehensive solution for CRUD operations within your Laravel applications, offering a streamlined and reusable approach for managing data. Whether you're working with Laravel controllers or Livewire components, this package allows you to:
Simplify common CRUD operations (create, read, update, delete) by abstracting and consolidating logic and reducing boilerplate code.
Enhance productivity by providing out-of-the-box methods for storing, updating, and deleting records.
Integrate seamlessly with both Laravel and Livewire, making it easy to use in traditional controllers or real-time components.
Ensure consistency across your application with standardized CRUD methods for various models.
Support bulk actions, enabling efficient mass deletion or updates of records.
Reduce development time by leveraging reusable methods for model interactions, validation and error handling.
https://github.com/milenmk/laravel-livewire-crud
2. Laravel locations
Add Countries, Cities, Areas, Languages and Currencies models to your Laravel application
https://github.com/milenmk/laravel-locations
https://redd.it/1j2ej86
@r_php
Hi everyone. I have created 2 packages for Laravel that may be useful to some of you.
1. Laravel Livewire CRUD
This package provides a comprehensive solution for CRUD operations within your Laravel applications, offering a streamlined and reusable approach for managing data. Whether you're working with Laravel controllers or Livewire components, this package allows you to:
Simplify common CRUD operations (create, read, update, delete) by abstracting and consolidating logic and reducing boilerplate code.
Enhance productivity by providing out-of-the-box methods for storing, updating, and deleting records.
Integrate seamlessly with both Laravel and Livewire, making it easy to use in traditional controllers or real-time components.
Ensure consistency across your application with standardized CRUD methods for various models.
Support bulk actions, enabling efficient mass deletion or updates of records.
Reduce development time by leveraging reusable methods for model interactions, validation and error handling.
https://github.com/milenmk/laravel-livewire-crud
2. Laravel locations
Add Countries, Cities, Areas, Languages and Currencies models to your Laravel application
https://github.com/milenmk/laravel-locations
https://redd.it/1j2ej86
@r_php
GitHub
GitHub - milenmk/laravel-livewire-crud: CRUD class for Laravel Livewire components
CRUD class for Laravel Livewire components. Contribute to milenmk/laravel-livewire-crud development by creating an account on GitHub.
Bugsnag alternative for local installation
I’m looking for an alternative for bugsnag for local installation. I hate ELK stack, and I couldn’t connect it to all of the apps properly. It is such a headache. I’m looking for something similar to bugsnag where I composer require the package and voila. And it has to be on premise
https://redd.it/1j2eg1g
@r_php
I’m looking for an alternative for bugsnag for local installation. I hate ELK stack, and I couldn’t connect it to all of the apps properly. It is such a headache. I’m looking for something similar to bugsnag where I composer require the package and voila. And it has to be on premise
https://redd.it/1j2eg1g
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
⚡️ Laravel Livewire Starter Kit - Deep Dive!
https://youtu.be/MVwBj42xidc
https://redd.it/1j2ilm1
@r_php
https://youtu.be/MVwBj42xidc
https://redd.it/1j2ilm1
@r_php
YouTube
Laravel + Livewire: First Look at the New Official Starter Kit
Dive into Laravel's new Livewire Starter Kit! Discover how it simplifies dynamic frontend development for PHP lovers. Comment and share your thoughts!
Check out the new starter kits! https://laravel.com/starter-kits
00:00 Introduction
02:08 Starter Kit…
Check out the new starter kits! https://laravel.com/starter-kits
00:00 Introduction
02:08 Starter Kit…
How do you discover new/changed features in the framework?
I think it's great that Laravel is focusing on attracting new developers. And the documentation \*is\* pretty good. In fact I think it's worth reading from start to finish at least once every couple of years. But my question is this: How am I supposed to stay informed about new or changed framework features after that? Here are some comments/observations in no particular order. Because it's definitely \*not\* a rant /s.
* The upgrade notes for new major versions only tell you about breaking changes, and most new additions aren't breaking. That's how it should be. It just means you can't "Just read the upgrade notes" to get an overview of what has changed.
* New features are usually including in the weekly releases, which \*do\* have something that resembles release notes, but it's just an auto generated list of commit messages that usually don't explain a whole lot about what they actually do. And the lack of conventional commit messages make it harder to find what's relevant. I'm not arguing that it should be beautiful prose, and I don't mind diving into the source to see the details - I just don't want to review the entire diff every week because it's impossible to spot which commits are relevant.
* I browse Laravel News at least once a week. IMO this is probably the best source of information about new features for people like me who don't use twitter/mastodon/bluesky/whatever people are using this week. But it's kind of hit or miss. And their community "Links" section don't seem to be moderated at all. The [What's New in Laravel 12 : Latest Features and Updates](https://www.bacancytechnology.com/blog/laravel-12-features-updates) blog post looks like what I need (it even has a star, whatever that means), but it's just AI hallucinations and word salad from start to finish. About what you'd expect from a Google search, but this is supposedly the "official" Laravel news site (check the "News" footer link on laravel.com).
I hope some of you can enlighten me. Especially if it doesn't involve "just follow these 25 people on these 4 social media sites".
https://redd.it/1j2k7sc
@r_php
I think it's great that Laravel is focusing on attracting new developers. And the documentation \*is\* pretty good. In fact I think it's worth reading from start to finish at least once every couple of years. But my question is this: How am I supposed to stay informed about new or changed framework features after that? Here are some comments/observations in no particular order. Because it's definitely \*not\* a rant /s.
* The upgrade notes for new major versions only tell you about breaking changes, and most new additions aren't breaking. That's how it should be. It just means you can't "Just read the upgrade notes" to get an overview of what has changed.
* New features are usually including in the weekly releases, which \*do\* have something that resembles release notes, but it's just an auto generated list of commit messages that usually don't explain a whole lot about what they actually do. And the lack of conventional commit messages make it harder to find what's relevant. I'm not arguing that it should be beautiful prose, and I don't mind diving into the source to see the details - I just don't want to review the entire diff every week because it's impossible to spot which commits are relevant.
* I browse Laravel News at least once a week. IMO this is probably the best source of information about new features for people like me who don't use twitter/mastodon/bluesky/whatever people are using this week. But it's kind of hit or miss. And their community "Links" section don't seem to be moderated at all. The [What's New in Laravel 12 : Latest Features and Updates](https://www.bacancytechnology.com/blog/laravel-12-features-updates) blog post looks like what I need (it even has a star, whatever that means), but it's just AI hallucinations and word salad from start to finish. About what you'd expect from a Google search, but this is supposedly the "official" Laravel news site (check the "News" footer link on laravel.com).
I hope some of you can enlighten me. Especially if it doesn't involve "just follow these 25 people on these 4 social media sites".
https://redd.it/1j2k7sc
@r_php
IT Blog | Mobile App Development India | Offshore Web Development - Bacancytechnology.com
Laravel 12 - New Features And Latest Updates
Explore the latest features and updates of Laravel 12. Stay ahead with improved performance upgrades, security enhancements, real-time improvements, and more.
Xdebug Helper Chrome Extension alternative?
The recent Chrome update that prevents things like uBlockOrigin from working also seems to have taken out the old Xdebug Helper extension as well. I've never really thought about how else to approach activating Xdebug from the browser, other than [annoyingly\] having to append the full query param string whenever I want to use it. Is there some alternative I'm not thinking of? There's a handful of Chrome extensions that purport to do the same as the original that seem to be active still, but very few installs and reviews, so I'm iffy on trusting those.
How are you using Xdebug from the browser?
https://redd.it/1j2jp63
@r_php
The recent Chrome update that prevents things like uBlockOrigin from working also seems to have taken out the old Xdebug Helper extension as well. I've never really thought about how else to approach activating Xdebug from the browser, other than [annoyingly\] having to append the full query param string whenever I want to use it. Is there some alternative I'm not thinking of? There's a handful of Chrome extensions that purport to do the same as the original that seem to be active still, but very few installs and reviews, so I'm iffy on trusting those.
How are you using Xdebug from the browser?
https://redd.it/1j2jp63
@r_php
Google
Xdebug helper - Chrome Web Store
Easy debugging, profiling and tracing extension for Xdebug
SymfonyLive Berlin 2025: SEAL: Dive into the sea of search engines
https://symfony.com/blog/symfonylive-berlin-2025-seal-dive-into-the-sea-of-search-engines?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j2kjas
@r_php
https://symfony.com/blog/symfonylive-berlin-2025-seal-dive-into-the-sea-of-search-engines?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j2kjas
@r_php
Symfony
SymfonyLive Berlin 2025: SEAL: Dive into the sea of search engines (Symfony Blog)
Demystify search engines with SEAL ! Discover with Alexander Schranz how this Search Engine Abstraction Layer simplifies integration, unifies APIs, and connects Symfony to top search solutions.
Who offers affordable Wordpress hosting with CI/CD with zero-downtime dep
I got a simple site im setting up and I want to be able to push an update to my github repo that has my theme and plugins. I saw render.com but it doesnt offer zero-downtime for deployments if you have a persistent disk....meaning what if I upload images like for blog post...they wont stay so.....Now im confused on how to even do CI/CD where I can have a realistic WordPress site, using Github, and not have downtime when I push updates.
https://redd.it/1j2ndqg
@r_php
I got a simple site im setting up and I want to be able to push an update to my github repo that has my theme and plugins. I saw render.com but it doesnt offer zero-downtime for deployments if you have a persistent disk....meaning what if I upload images like for blog post...they wont stay so.....Now im confused on how to even do CI/CD where I can have a realistic WordPress site, using Github, and not have downtime when I push updates.
https://redd.it/1j2ndqg
@r_php
Render
Cloud Application Platform | Render
On Render, you can build, deploy, and scale your apps with unparalleled ease – from your first user to your billionth.
Model attributes are easy to discover
I saw a post a few days ago where everyone was asked what they could have in Laravel if they got their wish. So many people talked about the models having attributes and stuff that they couldn't just see that in their code.
I'm not saying that you'll get intellisense or other ide helpers, but model:show is awesome and has been around for a while.
Here's a tutorial so that you can access this info super fast in vs code.
https://www.openfunctioncomputers.com/blog/quick-access-to-laravel-model-info-in-vs-code
https://redd.it/1j2u7bf
@r_php
I saw a post a few days ago where everyone was asked what they could have in Laravel if they got their wish. So many people talked about the models having attributes and stuff that they couldn't just see that in their code.
I'm not saying that you'll get intellisense or other ide helpers, but model:show is awesome and has been around for a while.
Here's a tutorial so that you can access this info super fast in vs code.
https://www.openfunctioncomputers.com/blog/quick-access-to-laravel-model-info-in-vs-code
https://redd.it/1j2u7bf
@r_php
Streamline Symfony error tracking with GlitchTip
https://ngandu.hashnode.dev/streamline-symfony-error-tracking-with-glitchtip
https://redd.it/1j2zqit
@r_php
https://ngandu.hashnode.dev/streamline-symfony-error-tracking-with-glitchtip
https://redd.it/1j2zqit
@r_php
Pros and Cons by using spatie-translatable ?
Hi guys, would you use spatie-translatable for a multilanguage website (around 5-6 langs) or go with only DB schema? Are there any pros and cons using spatie??
Thanks
https://redd.it/1j3613p
@r_php
Hi guys, would you use spatie-translatable for a multilanguage website (around 5-6 langs) or go with only DB schema? Are there any pros and cons using spatie??
Thanks
https://redd.it/1j3613p
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
Does Laravel Cloud support Non-Laravel codebases or Docker?
The noscript is my question. We are currently in planning phase and I plan to tell the stakeholders that we want to use Laravel Cloud as hosting solution so they create accounts for me and my dev. team.
But because of our design preference, we will use Laravel specifically for API and backend tasks...
We will have 3 frontend applications with their own separate code bases... So I wonder if Laravel Cloud only allows you to host Laravel apps or can we also use it to host Svelte and React codebases that doesn't have PHP code at all?
I wonder if we can also use Docker images on Laravel Cloud as well.
https://redd.it/1j36bd7
@r_php
The noscript is my question. We are currently in planning phase and I plan to tell the stakeholders that we want to use Laravel Cloud as hosting solution so they create accounts for me and my dev. team.
But because of our design preference, we will use Laravel specifically for API and backend tasks...
We will have 3 frontend applications with their own separate code bases... So I wonder if Laravel Cloud only allows you to host Laravel apps or can we also use it to host Svelte and React codebases that doesn't have PHP code at all?
I wonder if we can also use Docker images on Laravel Cloud as well.
https://redd.it/1j36bd7
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
SymfonyLive Paris 2025 : API Platform sans Doctrine
https://symfony.com/blog/symfonylive-paris-2025-api-platform-sans-doctrine?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j389pj
@r_php
https://symfony.com/blog/symfonylive-paris-2025-api-platform-sans-doctrine?utm_source=Symfony%20Blog%20Feed&utm_medium=feed
https://redd.it/1j389pj
@r_php
Symfony
SymfonyLive Paris 2025 : API Platform sans Doctrine (Symfony Blog)
Optimize your APIs with API Platform! Learn with Jérôme Tamarelle how to query different databases, fine-tune performance, and even build APIs without Doctrine
Alpine & Livewire Tooling
There are tools like PHPStan (for PHP) and ESLint (for Vue / React), which can identify problems ahead of time.
When it comes to Alpine/Livewire, what tools do you guys use for error detection / static analysis? Does anything like this exist yet?
https://redd.it/1j3aa8n
@r_php
There are tools like PHPStan (for PHP) and ESLint (for Vue / React), which can identify problems ahead of time.
When it comes to Alpine/Livewire, what tools do you guys use for error detection / static analysis? Does anything like this exist yet?
https://redd.it/1j3aa8n
@r_php
Reddit
From the laravel community on Reddit
Explore this post and more from the laravel community
HTMP: A Smarter, Faster Future for PHP Development
PHP has been the backbone of web development for decades, yet many templating engines and frameworks introduce unnecessary complexity, security risks, or performance bottlenecks. Enter HTMP (Hyper Text Markup PHP)—a next-generation PHP framework and templating engine designed to be lightweight, AI-powered, and optimized for speed, security, and scalability.
Unlike Blade, Twig, or Smarty, HTMP offers:
Optimized Execution – Eliminates redundant code for better performance.
AI Integration – Native AI hooks enable predictive content and automation.
Enterprise Security – Built-in XSS, CSRF, and SQL injection protection.
Seamless WordPress Support – Works out of the box with WordPress for high-performance themes and plugins.
Example of its intuitive syntax:
HTMP’s AI-driven automation could change how developers handle dynamic content, SEO, and user experiences without relying on external noscripts. It is designed to scale from small applications to enterprise-level platforms.
Would you use something like this? How do you see AI fitting into the future of PHP frameworks?
Github Repo: https://github.com/aedin-insight/htmp
https://redd.it/1j3a7a7
@r_php
PHP has been the backbone of web development for decades, yet many templating engines and frameworks introduce unnecessary complexity, security risks, or performance bottlenecks. Enter HTMP (Hyper Text Markup PHP)—a next-generation PHP framework and templating engine designed to be lightweight, AI-powered, and optimized for speed, security, and scalability.
Unlike Blade, Twig, or Smarty, HTMP offers:
Optimized Execution – Eliminates redundant code for better performance.
AI Integration – Native AI hooks enable predictive content and automation.
Enterprise Security – Built-in XSS, CSRF, and SQL injection protection.
Seamless WordPress Support – Works out of the box with WordPress for high-performance themes and plugins.
Example of its intuitive syntax:
<htmp-template name="user-profile">
<htmp-if condition="user.isLoggedIn">
<htmp-text>Welcome, {user.name}!</htmp-text>
<htmp-button action="logout">Log Out</htmp-button>
</htmp-if>
<htmp-else>
<htmp-button action="login">Log In</htmp-button>
</htmp-else>
</htmp-template>
HTMP’s AI-driven automation could change how developers handle dynamic content, SEO, and user experiences without relying on external noscripts. It is designed to scale from small applications to enterprise-level platforms.
Would you use something like this? How do you see AI fitting into the future of PHP frameworks?
Github Repo: https://github.com/aedin-insight/htmp
https://redd.it/1j3a7a7
@r_php
GitHub
GitHub - aedin-insight/htmp
Contribute to aedin-insight/htmp development by creating an account on GitHub.
Do you use templating engine ?
If you use which one you prefer ? Twig ? Blade or something else ?
Im not using any templating engine,
I wanna do the old ways but idk if its good way.
https://redd.it/1j3btm2
@r_php
If you use which one you prefer ? Twig ? Blade or something else ?
Im not using any templating engine,
I wanna do the old ways but idk if its good way.
https://redd.it/1j3btm2
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
⚡️ Laravel Vue Starter Kit - Deep Dive!
https://youtu.be/phaBzRIioAw?feature=shared
https://redd.it/1j3c41r
@r_php
https://youtu.be/phaBzRIioAw?feature=shared
https://redd.it/1j3c41r
@r_php
YouTube
⚡️ Laravel Vue Starter Kit - Deep Dive
Dive into Laravel's new Vue Starter Kit!
Comment and share your thoughts!
Check out the new starter kits! https://laravel.com/starter-kits
00:00 Introduction
01:47 Installation
03:50 First Look
05:39 Code Structure
07:32 Customizations
11:50 More Features…
Comment and share your thoughts!
Check out the new starter kits! https://laravel.com/starter-kits
00:00 Introduction
01:47 Installation
03:50 First Look
05:39 Code Structure
07:32 Customizations
11:50 More Features…
Making API with PHP, feels easy.
I worked with node js, django to make APIs.
But im learning to make apis with php.
Feels really great and easier than node js or django rest framework.
Question - Do you make APIs with some framework or library which i dont know of or use php.
https://redd.it/1j3dzn0
@r_php
I worked with node js, django to make APIs.
But im learning to make apis with php.
Feels really great and easier than node js or django rest framework.
Question - Do you make APIs with some framework or library which i dont know of or use php.
https://redd.it/1j3dzn0
@r_php
Reddit
From the PHP community on Reddit
Explore this post and more from the PHP community
Custom PHPStan Rules to Improve Every Symfony project
https://tomasvotruba.com/blog/custom-phpstan-rules-to-improve-every-symfony-project
https://redd.it/1j3e6tn
@r_php
https://tomasvotruba.com/blog/custom-phpstan-rules-to-improve-every-symfony-project
https://redd.it/1j3e6tn
@r_php
Tomasvotruba
Custom PHPStan Rules to Improve Every Symfony project
Using PHPStan is not just about getting to level 8 with less than 100 ignored cases. Yes, there are also [official extensions](https://packagist.org/?query=phpstan%2Fphpstan-) that improve the type support of Symfony, Doctrine, and Laravel projects.
But…
But…
Custom PHPStan Rules to Improve Every Symfony project
https://tomasvotruba.com/blog/custom-phpstan-rules-to-improve-every-symfony-project
https://redd.it/1j3j6uc
@r_php
https://tomasvotruba.com/blog/custom-phpstan-rules-to-improve-every-symfony-project
https://redd.it/1j3j6uc
@r_php
Tomasvotruba
Custom PHPStan Rules to Improve Every Symfony project
Using PHPStan is not just about getting to level 8 with less than 100 ignored cases. Yes, there are also [official extensions](https://packagist.org/?query=phpstan%2Fphpstan-) that improve the type support of Symfony, Doctrine, and Laravel projects.
But…
But…
🚀 Onym – A Simple & Flexible Filename Generator for Laravel
Hey r/laravel! 👋
I was developing another package and needed a consistent way to generate filenames across my project. Of course, Laravel has great helpers like
So, I wrote a class to handle it—and then thought, why not package it up for everyone? That’s how Onym was born! 🎉
# 🔥 What Onym Does
✅ Centralized File Naming – Manage all filename generation in one place.
✅ Multiple Strategies – Generate filenames using
✅ Customizable & Human-Readable – Control filename formats with timestamps, UUIDs, and slugs.
✅ Seamless Laravel Integration – Works natively with Laravel’s filesystem and config system.
✅ Collision-Free & Predictable – Ensures structured, unique filenames every time.
✅ Lightweight & Extensible – Simple API, no unnecessary dependencies, and easy to expand.
use Blaspsoft\Onym\Facades\Onym;
// Random Strategy
Onym::make(strategy: 'random', options:
'length' => 8,
'prefix' => 'temp_',
'suffix' => '_draft'
);
// Result: "tempa1b2c3d4draft.txt"
// You can call the strategy methods directly, default options for each strategy can be set in the onym config file or you can override the defaults
Onym::random() // will use defaults
Onym::random(extension: 'pdf', options:
'length' => 24
) // will override the default length option
# 📖 Learn More & Contribute
Take a look at the repo and full docs!
GitHub: https://github.com/Blaspsoft/onym
Would love to get your feedback, feature requests, and contributions! 🙌 Let me know if you have any use cases or improvements in mind. 🚀🔥
https://redd.it/1j3mefl
@r_php
Hey r/laravel! 👋
I was developing another package and needed a consistent way to generate filenames across my project. Of course, Laravel has great helpers like
Str::random(), Str::uuid(), etc., but I wanted a centralized place to manage file naming logic across my app.So, I wrote a class to handle it—and then thought, why not package it up for everyone? That’s how Onym was born! 🎉
# 🔥 What Onym Does
✅ Centralized File Naming – Manage all filename generation in one place.
✅ Multiple Strategies – Generate filenames using
random, uuid, timestamp, date, slug, hash, and numbered. ✅ Customizable & Human-Readable – Control filename formats with timestamps, UUIDs, and slugs.
✅ Seamless Laravel Integration – Works natively with Laravel’s filesystem and config system.
✅ Collision-Free & Predictable – Ensures structured, unique filenames every time.
✅ Lightweight & Extensible – Simple API, no unnecessary dependencies, and easy to expand.
use Blaspsoft\Onym\Facades\Onym;
// Random Strategy
Onym::make(strategy: 'random', options:
'length' => 8,
'prefix' => 'temp_',
'suffix' => '_draft'
);
// Result: "tempa1b2c3d4draft.txt"
// You can call the strategy methods directly, default options for each strategy can be set in the onym config file or you can override the defaults
Onym::random() // will use defaults
Onym::random(extension: 'pdf', options:
'length' => 24
) // will override the default length option
# 📖 Learn More & Contribute
Take a look at the repo and full docs!
GitHub: https://github.com/Blaspsoft/onym
Would love to get your feedback, feature requests, and contributions! 🙌 Let me know if you have any use cases or improvements in mind. 🚀🔥
https://redd.it/1j3mefl
@r_php
GitHub
GitHub - Blaspsoft/onym at madewithlaravel.com
📂 🎨 A flexible Laravel package for generating structured, unique, and customizable filenames using various strategies. - GitHub - Blaspsoft/onym at madewithlaravel.com