Skip to content

Add this file to your laravel application(root level directory) to refresh everything.

License

Notifications You must be signed in to change notification settings

isaka-james/laravel-refresh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

🚀 Simple companion to Refreshing Your Laravel Application 🔄

since 21 Feb,2024

What is this? 🤔

This is a tool called refresh.sh that helps you clean up and start fresh with your Laravel application. It's like giving your application a clean slate. You just need to run this tool from the main folder of your Laravel app.

Note from the Author: 📝

Right now, this tool only works on Linux systems, but I'm working on making it compatible with all types of systems soon! 💻

How to Use It: 🛠️

  1. First, download or copy this tool to your computer.
  2. Then, go to the main folder of your Laravel application.
  3. Put the refresh.sh file right there.
  4. Now, open your computer's terminal and type ./refresh.sh to run the tool.

Take a Look: 📸

Tool Screenshot

What Does It Do? 🤖

This tool does a few things to refresh your Laravel app:

  • Config Caching: It saves some settings to make your app faster using php artisan config:cache.
  • Config Clearing: Sometimes, it needs to clear those saved settings, and it does that with php artisan config:clear.
  • Cache Clearing: It also cleans up any temporary files with php artisan cache:clear.
  • Database Migration: If your database needs to be set up again, it does that with php artisan migrate:fresh.
  • Database Seeding: It even adds some sample data to your database with php artisan db:seed.

Things to Remember: 🚨

  • If you see any red lines while running this tool, it might mean something's not right.
  • Make sure you have permission to use this tool on your computer.
  • This tool is best used for testing and developing your app, not for live or production websites.

Who Made It? 👨‍💻

Legal Stuff: 📜

This tool follows the rules of the MIT License.

About

Add this file to your laravel application(root level directory) to refresh everything.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages