Oct 28Member-onlyDo you know that Laravel eloquent have a dd function?Laravel, one of the most popular PHP frameworks, provides developers with a wide range of tools and features to streamline the development process. What is the dd() function? Among these tools is the dd() function, which stands for "dump and die." In this article, we will delve into the details…Laravel3 min readLaravel3 min read
Oct 9Member-onlyDo you know about Laravel vendor publish?Laravel vendor publish allow you to select which vendor config, public assets or resources file to publish The vendor:publish command in Laravel did not have a built-in search functionality on the prompt. …Laravel2 min readLaravel2 min read
Aug 29Member-onlyDo you know Laravel have a new function that allow us to print out sql?In Laravel version 10 have release function toRawSql. // Using the new `toRawSql()` method User::where('email', 'foo@example.com')->toRawSql(); // "SELECT * FROM users WHERE email = 'foo@example.com'" There is some prior art before toRawSql()—various developer tools (i.e., Laravel Debugbar) give you queries, and there's a dd() method you can use as well: …Laravel1 min readLaravel1 min read
Jul 1Member-onlyHow to install Memached extension in XamppWhat is memached? How do we do installation in XAMPP? — Memcache is a caching system used to speed up web applications by holding small pieces of arbitrary data, it could be broadly compared to the $_SESSION variable in PHP, but memcache works across the whole application not just on a per user basis and has been successfully proven to make…Xampp2 min readXampp2 min read
May 7Member-onlyDo you know how to unzip a file in Ubuntu Linux?There are many archive types most commonly used of them are .zip, .rar. .7z, .tar.gz. Today we are going to speak about .zip archives. — On Windows, there exist GUI archivers like WinZip, 7zip, or WinRAR, which are able to deal with most of the common archive types. Ubuntu Linux has a built-in Archive Manager that can be invoked by double-clicking on the .zip file in a GUI. But what can you do when you…Tutorial2 min readTutorial2 min read
Feb 19Member-onlyLaravel Big news, Laravel release version 10!!!Laravel 10 is now released, including a minimum PHP v8.1 version. — New Laravel Pennant package, invokable validation rules, native type declarations, and more… Laravel Release Schedule Before Laravel 9, major framework versions were released twice a year or roughly every six months. …Release Notes4 min readRelease Notes4 min read
Feb 8Member-onlyDo you know Laravel have released version 9.49?The Laravel team released 9.49 this week with support for casting an array of enums, CLI prompts, and more — Be sure the check out the changelog as this week’s release is chock full of new additions, fixes, and changes from the last two weeks; most of the Laravel team was at Laracon EU last week. There have 9 new updates for Laravel version 9.49. 1. Support for casting collection or array of enumsLaravel4 min readLaravel4 min read
Jan 29Member-onlyDo you know Laravel have released version 9.48?The Laravel team released 9.48 this week with conditional fragment helpers, HTTP configuration options for Symfony mailers, a new DB schema helper, and more: — There have 7 new updates for Laravel version 9.48. 1. DB Schema helper to toggle foreign key constraints 2. New fragment helpers 3. Increment each query builder method 4. Drop an index when modifying a column 5. Configure custom HTTP client options for mailersLaravel3 min readLaravel3 min read
Jan 26Member-onlyDo you know Laravel have released version 9.47?The Laravel team released 9.47 this week with new Eloquent collection visibility methods, “destroyable” singleton routes, support for lazy collections with the batch fake, and more。 — There have 3 new updates for Laravel version 9.46. 1. New Eloquent collection visibility methods 2. Support lazy collections in BatchFake 3. “Destroyable” singleton routes Let’s get in more detail. Jess Archer contributed setVisible and setHidden methods to Eloquent collections. …Laravel2 min readLaravel2 min read
Jan 25Member-onlyDo you need to have a beautiful log viewer in Laravel?If you’re working with Laravel, one of the first things you’ll want to do is install a log viewer. A log viewer is a great way to view and analyze your log files, and it can be a valuable tool for debugging your application. — There are a few different log viewers available for Laravel, but one of the most popular is Laravel Log Viewer. Laravel Log Viewer is a free, open-source log viewer for Laravel applications. It’s available on GitHub, and it’s been downloaded over 1,000 times.Log Viewer2 min readLog Viewer2 min read