Our simple Laravel boilerplate
Switch branches/tags
Nothing to show
Clone or download
Latest commit 09a37b2 Sep 5, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app fix upgrade Sep 5, 2018
bootstrap Shift core files Oct 2, 2017
config Laravel 5.7 Shift (#8) Sep 5, 2018
database cs Jul 20, 2017
public fix upgrade Sep 5, 2018
resources Laravel 5.7 Shift (#8) Sep 5, 2018
routes Add base layout Oct 30, 2017
storage First commit Jul 20, 2017
tests Laravel 5.6 Shift (#5) Feb 8, 2018
.browserlistrc Asset pipeline tweaks Aug 28, 2017
.editorconfig Update editorconfgi Mar 30, 2018
.env.example upgrade Feb 8, 2018
.eslintignore Minor updates Mar 30, 2018
.eslintrc Minor updates Mar 30, 2018
.gitattributes First commit Jul 20, 2017
.gitignore Update gitignore Oct 30, 2017
.php_cs You're welcome Jul 20, 2017
.prettierignore Update frontend setup Jan 31, 2018
.prettierrc Update frontend setup Jan 31, 2018
Envoy.blade.php Minor updates Mar 30, 2018
README.md Update README.md (#6) Feb 13, 2018
artisan Shift core files Oct 2, 2017
composer.json Laravel 5.7 Shift (#8) Sep 5, 2018
composer.lock fix upgrade Sep 5, 2018
package.json Minor updates Mar 30, 2018
phpunit.xml Shift core files Oct 2, 2017
server.php First commit Jul 20, 2017
tailwind.js Minor updates Mar 30, 2018
webpack.mix.js Laravel 5.7 Shift (#8) Sep 5, 2018
yarn.lock fix upgrade Sep 5, 2018

README.md

Spoon

Spoon is the Laravel template that is used for our projects that don't use Blender, which ships with big features like i18n and an admin panel. Spoon is relatively unopinionated, and comes with some utility packages we use in every project.

You may use our template but please notice that we offer no support whatsoever. We also don't follow semver for this project and won't guarantee that the code (especially the master branch) is stable. In short: when using this, you're on your own.

What's in the Box?

Some highlights of what's included here:

  • Devtools: debugbar, laravel-mail-preview, laravel-tail
  • Database backups
  • Bugsnag integration
  • PHP-CS fixer
  • A zero-downtime deploy script with Envoy
  • Our babel setup
  • CSS transpilation with CSSNext

Install

This guide assumes you're using Laravel Valet

Laravel App

Download the master branch

git clone https://github.com/spatie/spoon.git

Install the composer dependencies

composer install

Make a copy of the .env.example file

cp .env.example .env

Generate an application key

php artisan key:generate

Finally make sure you have a database named spoon, and run the migrations and seeds

php artisan migrate --seed

Assets

Installing Spoon's front end dependencies requires yarn.

yarn

Spoon uses Laravel Mix to build assets. To build assets run:

yarn run dev

Available build tasks are defined in package.json

Colofon

Contributing

Generally we won't accept any PR requests to Spoon. If you have discovered a bug or have an idea to improve the code, contact us first before you start coding.

License

Spoon and The Laravel framework are open-sourced software licensed under the MIT license