Skip to content
Awesome Laravel boilerplate to create APIs using many cool features and technologies
PHP ApacheConf
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bootstrap
config
public
resources/assets
storage
tests
.env.example
.gitattributes
.gitignore
artisan
composer.json
composer.lock
docker-compose.yml
phpunit.xml
readme.md
server.php

readme.md

Laravel API Skeleton

Awesome Laravel boilerplate to create APIs using many cool features and technologies

I like to change the default architecture of Laravel when I work wit it, and some weeks ago I saw some videos in CodeCasts of a serie about Advanced Laravel using version 5.3 and I loved the architecture that they built. So this project is inspired by codecasts/laravel and all the credits must go to Diego Hernandes, Vinicius Reis and Fábio Vedovelli. I only made some personal changes to their architecture and I'm sharing it because I think that this repo can help when you need to start a new project.

Tecnhologies

How to use it

Checking your envirorment

To use this repository make sure you have Docker and Docker Compose installed. If you don't, you can use the links below to help you install them:

Using the boilerplate

  • Clone this repo
  • Install the dependencies
composer install
  • You can check the default routes with:
php artisan route:list
  • Rename the file .env.example to .env
  • You can customize the variables in .env and docker-compose.yml if you want to.
  • Run the migrations and seeders:
docker-compose run api bash
php artisan migrator --seed
exit
  • Run the application:
docker-compose up
  • Now you can use Postman or other app you like to test your API.

NOW YOU CAN START DEVELOPING YOUR NEW AWESOME PROJECT WITH THIS BOILERPLATE!!!

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/WendellAdriel/laravel-api-skeleton/. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The project is available as open source under the terms of the MIT License.

You can’t perform that action at this time.