Git Product home page Git Product logo

fossbarrow / clean-laravel-with-docker Goto Github PK

View Code? Open in Web Editor NEW
5.0 2.0 5.0 210 KB

Docker setup with cleaned up Laravel installation including phpcs with Laravel code style support.

Home Page: https://fossbarrow.io

Shell 0.73% Dockerfile 2.34% PHP 95.26% Blade 1.67%
docker laravel template clean-laravel phpcs phpcodesniffer-standard laravel-standard hacktoberfest hacktoberfest2022

clean-laravel-with-docker's Introduction

Laravel logo

Template made by fossbarrow IO (https://github.com/fossbarrow)

Laravel Docker Template

This is a template for Laravel projects thats aimed to run on Docker.

Included in this template, is simplified controllers and a code style checker for the Laravel code standards.

Usage

Simply use this template to use it.

See the (Install & Setup Guide) to get started.

With this docker template, a dev script is made to ease the development workflow.

$ ./dev.sh composer  - For composer commands

$ ./dev.sh artisan   - For artisan commands

$ ./dev.sh npm       - For npm commands

$ ./dev.sh phpcs     - To check if your project follows the Laravel coding standard

$ ./dev.sh phpcbf    - Attempt to fix coding standard failures

More commands are listed in the aforementioned setup guide.

Project

This project running on Laravel 10.x, using docker as the development environment setup.

In order to get the very same environment local as production, and amongst the developers, we use docker to emulate the prod server environment!

You can learn more about docker and its possibilities at: Docker.com

Information

Specs:

  • php 8.2
  • Nginx
  • MariaDB

Packages included in this template:

Additional includes:

  • Simplified controllers
  • Better Routes syntax
  • Removed empty/unused files that's there after Laravel init

Requirements

Getting started

Please click here (Install & Setup Guide) to get started.

fossbarrow IO

https://fossbarrow.io | https://github.com/fossbarrow

clean-laravel-with-docker's People

Contributors

dependabot[bot] avatar patricnox avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clean-laravel-with-docker's Issues

Update to Laravel 10.x

Update the project to use laravel 10, also update the README.

Things to be changed

  • Laravel to v10
  • apache to nginx
  • php version to 8.x
  • documentationen to reflect this
- php <version>
- nginx <version>
- MariaDB <version>

Switching to PCOV?

While Xdebug works perfectly with PHPUnit as a coverage driver. It is very slow comparing to PCov

You can find a comparaision here

I'm going to create a pull request to apply the changes required to migrate from Xdebug to Pcov
This will optimize the memory and time of tests when developing a Laravel application

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.