GithubHelp home page GithubHelp logo

ufukseyithan / laravel-breeze-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 636 KB

Boilerplate I use whenever I start a new Laravel project

Shell 0.63% PHP 79.58% Blade 19.80%
laravel laravel-breeze boilerplate

laravel-breeze-boilerplate's Introduction

Laravel Breeze Boilerplate

This is my boilerplate for Laravel Breeze. I am cloning this project whenever I start a new Laravel project. This might be too specific use for your case but I just wanted to share it anyway. This simply tries to find inelegant stuff in Breeze and fix them and adds a few must-to-haves in any project.

Installation

Installation is quite easy, just follow these steps here: https://stackoverflow.com/a/39913449/9145193

What It Does?

  • Moves views/layouts folder into views/components, since layouts are components as well.
  • Creates admin folders both in views and views/components folders which will contain only admin related files. For example, dashboard.blade.php.
  • Seperates guest.blade.php from admin specific layouts.
  • Creates Layouts folder in the directory where view component classes are located and puts the layout component view classes in it. This way we won't have Layout suffix for our classes.
  • Creates admin route group and a single-action DashboardController.
  • Removes welcome.blade.php and adds home.blade.php, also with an app layout.
  • Changes HOME const in RouteServiceProvider to "/".
  • Removed unneeded elements from dashboard.blade.php, navigation.blade.php and admin/layouts/app.blade.php.

Tailwind Config

  • Made container class always to be centered and have paddings.

laravel-breeze-boilerplate's People

Contributors

ufukseyithan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.