- neovim
- laravel-ide-helper installed
{
"Bleksak/laravel-ide-helper.nvim",
opts = {
write_to_models = true,
save_before_write = true,
format_after_gen = true,
},
enabled = function()
return vim.fn.filereadable("artisan") ~= 0
end,
keys = {
{ "<leader>lgm", function() require("laravel-ide-helper").generate_models(vim.fn.expand("%")) end, desc = "Generate Model Info for current model" },
{ "<leader>lgM", function() require("laravel-ide-helper").generate_models() end, desc = "Generate Model Info for all models" },
}
}
- Generate Model Info
Feel free to open a pull request if you find any issues or want to improve this plugin in any way.