The Laravel template used for (nearly) all our projects
PHP CSS HTML JavaScript Shell
Latest commit 0278101 Jan 24, 2017 @sebastiandedeyne sebastiandedeyne committed on GitHub Update UserPresenter.php
Permalink
Failed to load latest commit information.
app Update UserPresenter.php Jan 24, 2017
bootstrap Adopt PSR-2 coding style Aug 25, 2016
config Feature content blocks (#139) Jan 10, 2017
database Add images to fragments (#175) Jan 13, 2017
public Applied fixes from StyleCI (#80) Oct 18, 2016
resources wip Jan 23, 2017
routes Feature content blocks (#139) Jan 10, 2017
storage Merge branch 'develop' Oct 20, 2016
tests Apply fixes from StyleCI Jan 10, 2017
.babelrc Updated babel preset; enable vue runtime by default; no more chunking Jan 16, 2017
.csscomb.json Upgrade to Redactor II Sep 14, 2016
.editorconfig Change front CSS indentation Jul 28, 2016
.env.example Update location picker with API key Nov 7, 2016
.eslintignore Added eslintignore Oct 18, 2016
.eslintrc Feature content blocks (#139) Jan 10, 2017
.gitattributes initial commit Oct 9, 2015
.gitignore Feature content blocks (#139) Jan 10, 2017
.sass-lint.yml initial reworks Jan 28, 2016
.styleci.yml commit Oct 18, 2016
.travis.yml wip Jan 11, 2017
CHANGELOG.md Use blender-css Oct 13, 2016
Envoy.blade.php Update Envoy.blade.php Jan 24, 2017
artisan Wip wip wipppp Feb 8, 2016
composer.json Updated babel preset; enable vue runtime by default; no more chunking Jan 16, 2017
composer.lock update deps Jan 23, 2017
gulpfile.js Webpack & blade Feb 1, 2016
package.json Fix chart Jan 18, 2017
phpunit.xml initial commit Oct 9, 2015
readme.md add style ci badge Oct 18, 2016
server.php Applied fixes from StyleCI (#80) Oct 18, 2016
webpack.config.js Updated babel preset; enable vue runtime by default; no more chunking Jan 16, 2017
yarn.lock Updated babel preset; enable vue runtime by default; no more chunking Jan 16, 2017

readme.md

Blender

Software License Build Status SensioLabsInsight StyleCI Quality Score

Blender is the Laravel template that is used for (nearly) all our projects.

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.

Install

This guide assumes you're using Laravel Homestead

Laravel App

Download the master branch

git clone git@github.com:spatie-custom/blender.git

Edit your Homestead.yaml file and add Blender as a site

sites:
    - { map: blender.dev, to: /home/vagrant/Sites/blender/public }

Install the composer dependencies

composer install

Make a copy .env.example and rename to .env

Finally make sure you have a database named blender in Homestead, and run the migrations and seeds

php artisan migrate --seed

NPM

Installing Blender's npm dependecies requries Node ^4.4 and NPM ^3. Check your versions to be sure.

node -v
npm -v

We use a custom npm registry at npm.spatie.be via Sinopia for our private packages.

npm set registry http://npm.spatie.be
npm set ca null

npm install

Don't forget to remove the registry line from your ~/.npmrc if you're planning to publish to npm at some point.

Customisation

  • Most of our projects are in Dutch. You can change the language in config/app.php and manage translations in database/seeds/data/fragments.xlsx
  • We use Redactor from Imperavi as text editor but are not licensed to open source this. The text editor is hence degraded to a standard text area unless you comment out this part in resources/assets/back/app.js

Gulp

Run gulp help to see available options.

Blender uses our blender-gulp package for gulp tasks & setup, you will need to have webpack installed globaly in order for gulp to work correctly npm install -g webpack.

To get you started for both front and back-end assets, run:

gulp

Colofon

Contributing

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

License

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