Laravel file structure

  • app
    • Http – most frequnt
      • controller
        • auth-login, registration control
        • controller.php
      • middleware – to control when a stranger tranger tyies to access
  • config
    • app.php-change the app name parameter
    • sessions.php – change liftetime parameter if required
  • database
    • migration
    • seeds
  • public
    • css
    • js
    • index.php – the first page
  • resources
    • assets
      • js
    • views
      • welcome.blade.php – first page shows after the installation
  • routes
    • web.php – examples- ‘/’, ‘/aboutus’, ‘/services’, ‘/contact’ ect. routing are defined.
  • .env – details will be provided later

Labels: ,

© copyright-2020 Rejaul