@uwayxt/laratail
v1.1.5
Published
Install Laravel and Tailwind CSS with ease.
Downloads
2
Readme
🌟 Laratail 🌟
Hello there! 👋
Welcome to Laratail! 🚀 Your ultimate CLI tool to effortlessly set up Laravel projects with Tailwind CSS. Whether you're a newbie or a pro, Laratail makes your life easier with just a few prompts to get you up and running in no time!
I'm Wahyudi, and I created this mini project out of boredom. So, if you find my name in this project, don't be surprised; I'm really quite narcissistic! Ha ha ha ha. I hope Laratail can help you manage your Laravel projects with Tailwind CSS more easily and quickly. Enjoy! 😊
📖 Table of Contents
✨ Features
- 🔥 Easy project setup with Tailwind CSS and Laravel
- ⚡ Supports Vite and Laravel Mix for Tailwind CSS integration
- 🛠️ Automatically creates configuration files
- 🚀 Streamlined command execution for project initialization
⚙️ Installation
First things first, make sure you have Node.js and Composer installed. Then, get Laratail globally with npm:
npm install -g @uwayxt/laratail
🎬 Usage
To create a new Laravel project with Laratail, run the following command in your terminal:
laratail
🔧 Project Setup Options
When you run the tool, you'll be presented with the following options:
- ✨ Install Tailwind CSS with Vite: Modern development at its finest! Creates a new Laravel project and sets up Tailwind CSS using Vite.
- 🔧 Install Tailwind CSS with Laravel Mix: Prefer traditional asset management? This option sets up Tailwind CSS in a new Laravel project using Laravel Mix. Note: Laravel Mix setup is currently experiencing issues and may not work correctly.
- 🌿 Create a new Laravel project without Tailwind CSS: Want a clean slate? This initializes a standard Laravel project without any additional CSS setup.
- 🛰️ Install Tailwind CSS CLI: Sets up a standalone Tailwind CSS project using the Tailwind CLI tool.
🛠️ How It Works
- Prompting the User: The CLI tool gathers user input for the project name and setup type.
- Creating the Project: Laratail executes shell commands to create a Laravel project using Composer.
- Installing Dependencies: Based on the selected setup, it installs Tailwind CSS and required build tools.
- Generating Configuration Files: Automatically generates the necessary configuration files like
tailwind.config.js
and updates CSS files. - Running the Development Server: Finally, Starts the development server using npm, so you're ready to code!
📜 License
Laratail is licensed under the MIT License. See the LICENSE file for more information.
📬 Contact
For inquiries or support, feel free to reach out to @uwayxt.
Happy coding! 🚀✨