---
title: "Discussion on \"My first Twill module\" | Hashnode"
description: "Discussion on \"My first Twill module\". Discover Twill, a CMS package for Laravel, and build with us your first content pages"
url: "https://hashnode.com/posts/ltivt-5-laravel-twill-first-module/643ad669d24796edf607c31c"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [My first Twill module](https://tech.codivores.com/ltivt-5-laravel-twill-first-module?utm_source=hashnode&utm_medium=feed)

Discover Twill, a CMS package for Laravel, and build with us your first content pages

Aug 20, 2021 · 11 min read · tech.codivores.com  
Updated Oct 25, 2024  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#twill](https://hashnode.com/tag/twill)
-   [#php](https://hashnode.com/tag/php)
-   [#inertiajs](https://hashnode.com/tag/inertiajs)
-   [#vuejs](https://hashnode.com/tag/vuejs)

## Written by

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

@codivores

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

## Responses 2

Markdown supported · ⌘↵ to post

[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 :)

[Tomáš Popík](https://hashnode.com/@tomaspopik)

[Mar 1, 2024](https://hashnode.com/posts/ltivt-5-laravel-twill-first-module/643ad669d24796edf607c31c/comment/65e20d28d102c3ade30b07ff)

Amazing work! Thank you very much. It is exactly what I was looking for.
