8000 GitHub - Sluder/laravel-template: 📐 Laravel 5.5 project template which fixes all compatibility & out-of-box issues
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Sluder/laravel-template

Repository files navigation

Laravel v5.6 Template

  • Fixes a lot of Laravel new project issues:
    • Webpack unable to compile due to wrong linked directories
    • Major cleanup in base files
  • Includes base controllers and assets:
    • Bootstrap
    • Font Awesome
    • JQuery
    • HTML & Form Laravel packages
    • doctrine/dbal for migration column editing
  • Includes PhpStorm autocompletion for Laravel
    • PhpStorm needs the Laravel Plugin installed. Settings -> Plugins -> Search for Laravel Plugin -> Browse Repositories

Installation

  1. Run npm run setup to auto run all the commands usually ran on initial setup :
    • rm -rf .git; git init Removes this repo from the project
    • cp .env.example .env Creates project environment file
    • npm install --no-bin-links Installs all node dependencies (May need re-ran with sudo access)
    • composer install Installs other project dependencies
    • php artisan key:generate Creates project encryption key
    • npm run dev Compiles CSS & JS
  2. Add your remote URL to the Git project

Quick References

Email Template

@component('mail::layout')
@slot('header')
  @component('mail::header', ['url' => config('app.url')])
    Header Title
  @endcomponent
@endslot

This is the email body
    
@component('mail::button', ['url' => '', 'color' => 'green'])
  Button
@endcomponent

{{-- Cutom color button --}}
<table width="100%">
  <tr>
    <td style="text-align: center;">
      <a href="# " class="button" target="_blank" style="background-color: #ff5620;padding: 10px 35px;font-size: 16px;">
        Button
      </a>
    </td>
  </tr>
</table>

@slot('footer')
  @component('mail::footer')
    © Copyright
  @endcomponent
@endslot
@endcomponent

About

📐 Laravel 5.5 project template which fixes all compatibility & out-of-box issues

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0