The essential news about content management systems and mobile technology. Powered by Perfect Publisher and XT Search for Algolia.
The News Site publishes posts to the following channels: Facebook, Instagram, Twitter, Telegram, Web Push, Bluesky, and Blogger.
Let’s celebrate! The Joomla! Project is pleased to announce the release of Joomla 5.2.3 and Joomla 4.4.10. This is a security and bug fix release for the 5.x and 4.x series of Joomla....
Read more https://www.joomla.org/announcements/release-news/5919-joomla-5-2-3-security-bugfix-release.html
Studio, our free and open source local WordPress development app on MacOS and Windows, is now seamlessly integrated with WordPress.com.
Our new Studio Sync feature provides Studio users with a fast, simple way to:
With Studio Sync, taking your WordPress site from local development to production has never been more streamlined.
Download Studio for freeStudio Sync makes it simple to publish your local WordPress site with powerful WordPress.com hosting. Here are a few of our favorite use cases:
You can connect any of your WordPress.com sites on a Business plan or higher. Use built-in search to locate your site and quickly see if the site has a staging environment available.
Pull to synchronize your WordPress.com site changes with your local Studio site, or push to deploy your local Studio site changes to your WordPress.com site.
Ready to publish your local Studio site for all the world to see?
Simply click Connect site on the Sync tab, and then you’ll see an option to purchase a new hosting plan for your Studio site at WordPress.com.
You can start taking advantage of this new Studio Sync feature in just a few steps:
We’d love to hear how you think this new Studio Sync feature will speed up your local development work.
As a reminder, Studio is a free, open source tool, so we welcome any and all feedback in GitHub. Explore other Issues and create your own here.
You can also explore the documentation for more tips on using this new Sync feature.
Download Studio for freeRead more https://wordpress.com/blog/2025/01/06/studio-sync/
Laravel provides several approaches to control how dates are formatted when models are serialized to arrays or JSON. From global formats to attribute-specific customization, you can ensure consistent date presentation across your application.
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use DateTimeInterface;
class BaseModel extends Model
{
protected function serializeDate(DateTimeInterface $date)
{
return $date->format('Y-m-d H:i:s');
}
}
Let's explore a practical example of managing different date formats in a booking system:
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Casts\Attribute;
use DateTimeInterface;
class Booking extends Model
{
protected $casts = [
'check_in' => 'datetime:Y-m-d',
'check_out' => 'datetime:Y-m-d',
'created_at' => 'datetime:Y-m-d H:i:s',
];
protected function serializeDate(DateTimeInterface $date)
{
return $date->format('Y-m-d H:i:s');
}
protected function checkInFormatted(): Attribute
{
return Attribute::make(
get: fn () => $this->check_in->format('l, F j, Y')
);
}
protected function duration(): Attribute
{
return Attribute::make(
get: fn () => $this->check_in->diffInDays($this->check_out)
);
}
public function toArray()
{
return array_merge(parent::toArray(), [
'check_in_formatted' => $this->checkInFormatted,
'duration_nights' => $this->duration,
'human_readable' => sprintf(
'%s for %d nights',
$this->check_in->format('M j'),
$this->duration
)
]);
}
}
Laravel's date serialization features ensure consistent date formatting throughout your application while providing flexibility for specific use cases.
The post Customizing Model Date Formats in Laravel appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/date-formats
If you’ve been hearing “Can I log into your product with my Okta account?” from you customers lately (or the scarier “Do you support ADFS?“), it may be time to add Enterprise SSO to your product.
It can seem daunting, but don’t worry - with PropelAuth, you can easily:
➡ Check out the full guide now
The post Add Enterprise SSO/SAML to your product today appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/add-enterprise-ssosaml-to-your-product-today
The Laravel community offers a growing number of packages that use AI models like OpenAI's GPT and Anthropic's Claude to simplify and enhance application localization. Here are a few hand-picked packages that each have unique features that can make your translation process more productive and accurate.
The Filament Translations GPT package is a Filament extension that auto-translates your application using ChatGPT. Leveraging the Filament Translations Manager package, you can use AI to generate translations inside a beautiful admin panel:
GitHub repo: tomatophp/filament-translations-gpt
Laravel auto-translation is a package designed to streamline the localization of your Laravel application using AI. With commands to scan and translate, this package streamlines workflows, making application internationalization efficient and hassle-free. It supports multiple AI drivers, including ChatGPT, Google Translate, and DeepL.
GitHub repo: vildanbina/laravel-auto-translation
The Laravel AI Translator package automatically translates your language files into many languages using OpenAI's GPT models and Anthropic's Claude:
Main features:
GitHub repo: kargnas/laravel-ai-translator
The post Using AI to Manage Translations in Laravel appeared first on Laravel News.
Join the Laravel Newsletter to get all the latest Laravel articles like this directly in your inbox.
Read more https://laravel-news.com/using-ai-to-manage-translations-in-laravel
Page 4 of 1393