---
title: "Comment by Siegert Naber on \"My first Twill module\" | Hashnode"
description: "Hi there, I got an error when running php artisan migrate . It turns out I had to add one line to app\\Providers\\AppServiceProvider : use Illuminate\\Support\\Str;"
url: "https://hashnode.com/posts/ltivt-5-laravel-twill-first-module/643ad669d24796edf607c31c/comment/671a991596d12d9133c64fbb"
---

[Discussion](https://hashnode.com/posts/ltivt-5-laravel-twill-first-module/643ad669d24796edf607c31c)

Comment [My first Twill module](https://hashnode.com/posts/ltivt-5-laravel-twill-first-module/643ad669d24796edf607c31c)

[Siegert Naber](https://hashnode.com/@zignature)

[Oct 24, 2024](https://hashnode.com/posts/ltivt-5-laravel-twill-first-module/643ad669d24796edf607c31c/comment/671a991596d12d9133c64fbb)

Hi there, I got an error when running `php artisan migrate`.

It turns out I had to add one line to `app\Providers\AppServiceProvider`:

`use Illuminate\Support\Str;`

[Codivores](https://hashnode.com/@codivores)

[Oct 25, 2024](https://hashnode.com/posts/ltivt-5-laravel-twill-first-module/643ad669d24796edf607c31c/comment/671a991596d12d9133c64fbb#reply-671b59cf47298cd02f17dbac)

Hi [Siegert Naber](https://hashnode.com/@zignature), I suppose you cloned the GitHub repository? But I'm not sure which branch you used, as the main branch already has this `use`: [github.com/Codivores/tutorial-laravel-twill-inert…](https://github.com/Codivores/tutorial-laravel-twill-inertia-vue3-vite-tailwind/blob/main/app/Providers/AppServiceProvider.php#L9)

[Codivores](https://hashnode.com/@codivores)

[Oct 25, 2024](https://hashnode.com/posts/ltivt-5-laravel-twill-first-module/643ad669d24796edf607c31c/comment/671a991596d12d9133c64fbb#reply-671b5ad7a4a1ede186703fd1)

[Siegert Naber](https://hashnode.com/@zignature) But indeed, we forgot to mention adding it in the article; it has now been updated. Sorry about that!

[Siegert Naber](https://hashnode.com/@zignature)

[Oct 25, 2024](https://hashnode.com/posts/ltivt-5-laravel-twill-first-module/643ad669d24796edf607c31c/comment/671a991596d12d9133c64fbb#reply-671b5b9147298cd02f17dbc4)

[Codivores](https://hashnode.com/@codivores) I just followed the articles, coded along and found out that way. After that I cloned the Github repository :)
