Tsarin Gudanarwa a cikin Laravel: Yin bayani game da tsoho tsarin kundin adireshi Laravel da mahimmancin kowane kundin adireshi.
-
app
directory: Ya ƙunshi fayiloli masu alaƙa daLaravel application, including Controllers, Models, Providers
. Wannan shine babban wurin da za a rubuta dabaru don aikace-aikacenku. -
bootstrap
directory: Ya ƙunshi fayilolin bootstrap don Laravel aikace-aikacen. Ya haɗa daapp.php
fayil ɗin dacache
babban fayil don hanzarta aiwatar da aikin bootstrapping aikace-aikacen. -
config
directory: Ya ƙunshi fayilolin sanyi don Laravel aikace-aikacen. Kuna iya saita sigogi kamar bayanan bayanai, tantancewa, imel, da sauran zaɓuɓɓuka anan. -
database
directory: Ya ƙunshi fayiloli masu alaƙa dadatabase, including migration files, seeders, factories
. Kuna iya ƙirƙirar tebur, ƙara samfurin bayanai, da kuma sarrafa saitin bayanai a cikin wannan jagorar. -
public
directory: Ya ƙunshi fayilolin tsaye kamar hotuna, CSS, da fayilolin JavaScript. Wannan ita ce jagorar da uwar garken gidan yanar gizon ke nunawa kuma ana samun dama kai tsaye daga mai binciken. -
resources
directory: Ya ƙunshi albarkatu don Laravel aikace-aikacen, kamar fayilolin samfurin Blade, fayilolin SASS, da JavaScript da ba a haɗa su ba. -
routes
directory: Ya ƙunshi fayilolin hanya don Laravel aikace-aikacen. Kuna iya ayyana hanyoyi da ayyuka masu dacewa a cikin waɗannan fayilolin. -
storage
directory: Ya ƙunshi fayilolin wucin gadi da fayilolin log don Laravel aikace-aikacen. Wannan shine inda ake adana albarkatun kamar fayilolin zaman, fayilolin cache, da sauran kadarorin. -
tests
directory: Ya ƙunshi gwaje-gwajen naúrar da gwajin haɗin kai don Laravel aikace-aikacen. Kuna iya rubuta shari'o'in gwaji don tabbatar da cewa lambar ku tana aiki daidai. -
vendor
directory: Ya ƙunshi ɗakunan karatu da abubuwan dogaro ga Laravel aikace-aikacen, wanda Mawaƙi ke sarrafawa.
Wannan shine tsohuwar tsarin kundin adireshi Laravel kuma yana bayyana mahimmancin kowace kundin adireshi. Kuna iya tsara wannan tsarin tsarin bisa ga buƙatun aikinku.