https://i.ytimg.com/vi/Gr2LmkcmJps/maxresdefault.jpg
Laravel News Links
Just another WordPress site
https://i.ytimg.com/vi/Gr2LmkcmJps/maxresdefault.jpg
Laravel News Links
https://theawesomer.com/photos/2023/12/knife_blade_types_t.jpg
Pocket knives come in all kinds of shapes and sizes. Beyond looks, how do you decide on the correct type of blade to buy? Everyday Carry put together this concise guide to blade shapes, and what kind of work they are best suited to. So, if you ever wondered what the difference was between a Wharncliffe and a Hawkbill, they’ve got you covered.

The Awesomer
https://theawesomer.com/photos/2023/12/weird_airplanes_peter_sripol_t.jpg
Peter Sripol is no stranger to making unusual aircraft. In this video, he builds and tests out three weird designs for airworthiness, including a plane with a fuselage made from springs, a propeller that works like a tank tread, and a ridiculous set of wings that resemble Venetian blinds.
The Awesomer
https://media.notthebee.com/articles/656f7d638aa28656f7d638aa29.jpg
I hate to tell you, but you guys aren’t doing your job.
Not the Bee
https://www.thefirearmblog.com/blog/wp-content/uploads/2023/11/intro02-180×180.png
Additive Manufacturing, more commonly known as 3D Printing, is becoming increasingly mainstream in the production of firearms components and accessories. We’ve already seen commercial attempts at manufacturing polymer 3D-printed suppressors and now, thanks to Forerunner 3D Printing, we can see how 3D-printed nylon survives a couple of hundreds of rimfire rounds. More 3D Printed Silencers […]
The post Destructive Testing of a 3D-Printed Nylon Suppressor appeared first on The Firearm Blog.
The Firearm Blog
https://picperf.io/https://laravelnews.s3.amazonaws.com/featured-images/pulse.jpg
Laravel Pulse is a brand new free and open source performance monitoring and insights tool for Laravel applications. It was announced at Laracon AU 2023 by Jess Archer from the Laravel core team.
Laravel Pulse gives you an aggregate view of performance data for your Laravel app. It tracks metrics like:
Pulse was designed specifically for Laravel and knows about all the core components like queues, events, mail, notifications, caching, and more.

It collects the minimal amount of data needed to display helpful insights. The data is saved locally so you maintain full control.
Laravel Pulse is self-hosted and works anywhere Laravel runs – VPS, Laravel Forge, Vapor, etc. It has a responsive UI with light and dark modes.
And best of all, it’s completely free and open source! Big thanks to Taylor Otwell for making this possible.
Some may be wondering how Pulse compares to Laravel Telescope, another debugging tool for Laravel.
Telescope is great for local development as it records extensive request data like all queries and events. But this high level of detail makes it less ideal for production.
Laravel Pulse provides high level aggregate data so it’s lean and production-ready. It won’t replace error trackers, but augments them nicely.

At Laracon AU, Jess Archer did an interactive live demo of Laravel Pulse using the audience’s phones!
The audience acted as flight admins for a fictional Acme Airlines app. They could perform actions like:
Meanwhile, Jess showed how Laravel Pulse tracked these actions in real-time on a dashboard.
Here’s a recap of some highlights:

The Application Usage card shows:
This gives insight into who is using your app and any performance issues they face.

The Slow Routes card shows any application routes that exceed a configured threshold (1 second default).
It displays the route name and action method so you can pinpoint the slow code.

The Slow Jobs card is similar, displaying queued jobs exceeding a threshold. It shows the job class name and location.
Failed jobs that retry will increment the count each time so you can spot problem jobs.

The Slow Queries card reveals queries over a threshold. It only shows the SQL without bindings so it:
You can optionally disable locations to further aggregate results.

The Exceptions card tracks exceptions thrown including location, count, and last occurrence.
You can also sort by most recent exceptions.

The Cache card tracks cache key usage, along with hits and misses to the cache.
It will make no assumptions about your keys, but allows regrouping and rolling-up of collected data if you need a more generalised view of the data.

Laravel’s HTTP client usage is tracked in Outgoing Requests. You can see slow external requests your app makes.
The demo used a regex in the config file to condense unique URLs into a generalised domain name, similar toe cache data.
The Pulse blade file can be published and customized. For example, you can:
You can also create your own custom cards to display business-specific metrics. The demo included a "Flights" card showing tickets sold, revenue, delays, and top sellers.
Pulse collects minimal data and can handle heavy production workloads. Larave Forge runs it for 2 million requests/day with no sampling needed.
By default, Pulse saves request data to your database after the response is sent. Some options to scale:
Laravel Pulse is expected to launch in the next week or so. It will be a composer require away. Stay tuned for the official release!
Laravel Pulse provides easy insights into your Laravel app’s performance and usage. Its customizability and minimal overhead makes it a great open source addition for any Laravel project.
Big thanks to the entire Laravel team for another amazing free tool for the community!
The post Announcing Laravel Pulse – A New Performance Monitoring Tool for Laravel Apps appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Laravel News
https://blog.meilisearch.com/content/images/size/w1200/2023/11/laravel_meili_test.jpg
In this guide, we will see how to use the search functionality in Laravel 10. We’ll start with by introducing the benefits of full-text search. Then, we’ll walk you through setting up full-text search in your Laravel application.
In traditional SQL or NoSQL databases, queries find results exactly matching given criteria. Conversely, full-text search queries can match some or all of a text query with the database’s content. So essentially, full-text search can provide results even in case of partial matches.
When building user-facing search interfaces, full-text search is empowering for users. Tolerance to typos, prefix search, and synonyms help them get results more quickly. It improves discoverability when users do not know what they’re looking for.
Laravel comes with out-of-the-box full-text search capabilities via Laravel Scout.
To enable it, navigate to your Laravel application directory and install Scout via the Composer package manager:
composer require laravel/scout
After installing Scout, you should publish the Scout configuration file. You can do this by running the following artisan command:
php artisan vendor:publish --provider="Laravel\Scout\ScoutServiceProvider"
This command should create a new configuration file in your application directory: config/scout.php.
Let’s configure Laravel Scout to use the Meilisearch driver. Meilisearch is an open-source search engine built in Rust. This will allow to get the best full-text search performance. Indeed, the database driver comes with limitations inherent to SQL databases.
First, install the dependencies required to use Scout with Meilisearch via Composer:
composer require meilisearch/meilisearch-php http-interop/http-factory-guzzle
Then, update the environment variables in your .env file:
SCOUT_DRIVER=meilisearch
# Use the host below if you're running Meilisearch via Laravel Sail
MEILISEARCH_HOST=http://meilisearch:7700
MEILISEARCH_KEY=masterKey
Laravel’s official Docker development environment, Laravel Sail, comes with a Meilisearch service out-of-the-box. Please note that when running Meilisearch via Sail, Meilisearch’s host is http://meilisearch:7700.
For production use cases, we recommend using a managed Meilisearch via Meilisearch Cloud. On Meilisearch Cloud, you can find your host URL in your project settings.
With Scout installed and configured, just add the Laravel\Scout\Searchable trait to your Eloquent models to make them searchable. This trait will use Laravel’s model observers to keep the data in your model in sync with Meilisearch.
Here’s an example model:
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Laravel\Scout\Searchable;
class Contact extends Model
{
use Searchable;
}
You can use the toSearchableArray method to configure which fields to store in Meilisearch. This notably enables storing a model and its relationships’ data in the same document.
The example below shows how to store a model’s relationships data in Meilisearch:
<?php
namespace App\Models;
use App\Models\Company;
use Laravel\Scout\Searchable;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;
class Contact extends Model
{
use Searchable;
public function company(): BelongsTo
{
return $this->belongsTo(Company::class);
}
public function toSearchableArray(): array
{
// All model attributes are made searchable
$array = $this->toArray();
// Then we add some additional fields
$array['organization_id'] = $this->company->organization->id;
$array['company_name'] = $this->company->name;
$array['company_url'] = $this->company->url;
return $array;
}
}
Meilisearch allows you to perform advanced filtering and sorting on your search results. Choose which attributes are filterable and sortable via your Meilisearch index settings.
Configure your Meilisearch index settings via the config/scout.php file:
<?php
use App\Models\Contact;
return [
// additional configuration...
'meilisearch' => [
'host' => env('MEILISEARCH_HOST', 'http://localhost:7700'),
'key' => env('MEILISEARCH_KEY'),
'index-settings' => [
Contact::class => [
'filterableAttributes' => ['organization_id'],
'sortableAttributes' => ['name', 'company_name']
],
],
],
The example above updates Meilisearch index settings for the Contact model:
organization_id field filterablename and company_name fields sortableUpdate your Meilisearch index settings by running the following Artisan command:
php artisan scout:sync-index-settings
We built a demo application to give you a feel of what full-text search looks like in a Laravel application. This demo showcases an app-wide search in a CRM (Customer Relationship Management) application.

This demo application uses the following search features:
The code is open-sourced on Github. ????
???? Check out the repository: https://github.com/meilisearch/saas-demo
We hope this guide helped to understand the importance of full-text search and how to implement it with Laravel. For more information, read the Laravel Scout and Meilisearch docs.
Meilisearch is an open-source search engine with intuitive developer experience to build user-facing search. You can self-host it or get a premium experience with Meilisearch Cloud.
For more things Meilisearch, you can join the community on Discord or subscribe to the newsletter. You can learn more about the product by checking out the roadmap and participating in product discussions.
Laravel News Links
https://media.notthebee.com/articles/6568ab08cfa946568ab08cfa95.jpg
Why didn’t the fathers of these stunning and brave citizens teach them how to drive a manual?
Not the Bee
https://theawesomer.com/photos/2023/11/1980s_mcnuggets_training_video_t.jpg
There was lots to love about the 1980s, like Max Headroom, VHS tape boxes, and this McDonald’s training video, created to familiarize the crew with Chicken McNuggets and their sauces. What we got was a hilariously surreal short film with googly-eyed Big Macs and french fries welcoming their new friends to the menu. Brought to you by Tony Pepperoni.
The Awesomer
https://www.ammoland.com/wp-content/uploads/2023/11/Smith-Wesson-MP-9-500×472.jpg

Smith & Wesson Brands, Inc.(NASDAQ Global Select: SWBI), a leader in firearm manufacturing and design, today announces the release of its latest Spec Series Kit with the new Performance Center M&P9 Metal M2.0.
True to its design, this pistol not only sets a new benchmark for the Spec Series line but also places a heightened focus on performance, ensuring users encounter the pinnacle of what Smith & Wesson’s Performance Center models have to offer.
|
Smith & Wesson M&P9 M2.0 Compact 9mm |
Brownells.com |
$ 629.99 $ 499.99 |
|
|
|
SMITH & WESSON M&P9 M2.0 METAL COMPETITOR |
Guns.com |
$ 949.00 |
|
|
SMITH & WESSON M&P9 M2.0 9mm 5" 17rd Ported Pistol w/ Crimson Trace Red Dot – Black |
KYGUNCO |
$ 845.24 |
|
|
Smith & Wesson M&P9 M2.0 Metal 9MM Optic Ready Pistol – 4.25" |
Rainier Arms |
$ 849.95 |
|
Upgraded features integrated into this Spec Series pistol include a built-in Faxon compensator to mitigate felt recoil and muzzle rise, custom lightening cuts in the slide to reduce weight and improve reliability while being compensated, an enhanced sear for a lighter, crisp trigger let-off, suppressor height sights, and a sharp OD Green Cerakote© finish. Within its sleek new look lies a testament to durability – a robust all-metal frame that can withstand the elements while still maintaining a well-balanced feel in the hand.
“Our M&P polymer handguns have long been recognized for their reliability and ergonomic design. By combining these trusted attributes with the durability of the Metal M2.0 platform and adding modern performance upgrades, we were able to elevate the Spec Series to next level. This design is a bridge between tradition and progress, and offers a distinct edge across today’s dynamic shooting environments,” said Corey Beaudreau, Product Manager.
The PC M&P9 Metal M2.0 Spec Series ships in a custom hardcase and includes two 23-round magazines, two 17-round magazines, C.O.R.ETM plate system for mounting optics, a karambit style knife, and custom M&P Spec Series Challenge Coin. The MSRP for this kit is $999.
For more information on the Performance Center M&P9 Metal M2.0 Spec Series, visit https://www.smith-wesson.com/.
Smith & Wesson Releases New Performance Center M&P9 Metal M2.0 Spec Series by AmmoLand Shooting Sports News on Scribd
About Smith & Wesson Brands, Inc.
Smith & Wesson Brands, Inc. (NASDAQ Global Select: SWBI) is a U.S.-based leader in firearm manufacturing and design, delivering a broad portfolio of quality handgun, long gun, and suppressor products to the global consumer and professional markets under the iconic Smith & Wesson® and Gemtech® brands. The company also provides manufacturing services including forging, machining, and precision plastic injection molding services. For more information call (844) 363-5386 or visit smithwesson.com.

AmmoLand Shooting Sports News