If you wish, you may also use this directory to hold an SQLite database. The database directory contains your database migrations, model factories, and seeds. It's a great idea to read through all of these files and familiarize yourself with all of the options available to you. The config directory, as the name implies, contains all of your application's configuration files. You should not typically need to modify any files within this directory. This directory also houses a cache directory which contains framework generated files for performance optimization such as the route and services cache files. The bootstrap directory contains the app.php file which bootstraps the framework. We'll explore this directory in more detail soon however, almost all of the classes in your application will be in this directory. The app directory contains the core code of your application. New to Laravel? Check out the Laravel Bootcamp for a hands-on tour of the framework while we walk you through building your first Laravel application. Laravel imposes almost no restrictions on where any given class is located - as long as Composer can autoload the class. But you are free to organize your application however you like. The default Laravel application structure is intended to provide a great starting point for both large and small applications.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |