Blog / FYI

Image used for article Create a Laravel package on your local environment

If you want to develop your own package, it's entirely reasonable to wonder how to test it under real conditions. Publishing the package on Packagist during development is not an option. Another approach would be to integrate it into a fresh project without using Composer. The method in this article closely simulates a real-world scenario but does require some environment setup.

Image used for article Build a Blog using Laravel, Vue and Canvas

Canvas is a powerful tool for Laravel applications that streamlines the writing, editing, and customization of your content with a range of publishing tools. It's an incredible all-in-one solution for creating and publishing articles, just like the one you're reading.

Image used for article Display a modal using Vue and its Teleport component

While using a modal might seem obvious on a website, its implementation can sometimes be complex. To simplify this task, the Vue framework has introduced its built-in component <Teleport>. This component allows us to “teleport” a portion of a component's template into an existing DOM node outside of the component's DOM hierarchy.

Image used for article Add a global dark mode with Tailwind CSS

The main element of this article is the dark variant that can be configured in the Tailwind CSS configuration file. Adding the class value to darkMode activates the CSS classes only when the dark class is present. The media value, on the other hand, is based on the operating system's preferences.

Image used for article Make your own Artisan script

Every Laravel artisan will recognize the php artisan inspire command. But not everyone might realize that this command can be customized.


X IconGithub Icon