Clone this repository and setup your development environment configuration:
- Duplicate the file
.env.example.php
and name it.env.local.php
- Apply your configuration
- Make sure you never commit this file. (It should be git ignored per default)
Important: Have a look at the docs directory. Else you'll be missing some important instructions like for our taskrunner.
Larapress is set to run in the production environment by default. To take control over the environment you can do the following:
- Create a new file called
.env_name.php
in the app root - Make it return the environment you want to apply for the cli as well as the browser
- Make sure you never commit this file. (It should be git ignored per default)
<?php
// This is the complete content of the .env_name.php file
return 'local';
The example above will obviously change the environment to local. (which is the default development environment we use)
composer install --dev -o
php artisan ide-helper:generate
chmod -R 777 app/storage
php artisan larapress:install
Whenever you add a ServiceProvider
that is only needed for development tasks make sure you don't add it in the app/config/app.php
configuration file. Instead add it in the app/config/local/app.php
file.
We're utilizing the Git Flow with following prefixes:
- feature/*
- release/*
- hotfix/*
We're prefixing version numbers with the letter "v" like v1.0.1
and follow the Semantic Versioning Principles.
The larapress coding style is a mix of the PSR-2 Coding Style Guide, Laravel and my own personal preferences.
Your best bet is to look at the code and try to adapt right now. Maybe there'll be some style guide later on but let's see if it's actually going to be required at first. Don't fear to send some pull requests I have no problem reformatting them myself at this time.
Don't apply changes that affect these instructions without updating them!
The complete codebase including docs must be written in english. This allows us hiring experts from all over the world when needed.
Pull Requests missing documentation won't be accepted.
Pull Requests missing tests won't be accepted.