Skip to content

99linesofcode/laravel-skeleton

laravel-skeleton

This repository is intended to be used as a base that you add files generated by laravel new <project name> to. All cross cutting concerns live here to simplify updating and sharing between different projects.

How to use

Setup

Set up a new laravel project using laravel new tmp_dir. Once we're done setting everything up, we will copy these into our skeleton.

Create a new project repository:

  1. mkdir project_dir
  2. git init
  3. git remote add skeleton git@github.com:99linesofcode/laravel-skeleton.git;
  4. git fetch skeleton;
  5. git rebase skeleton/main.

Now, we'll copy the contents of tmp_dir into our project_dir using rsync: rsync -ac tmp_dir/ project_dir/ and we're done. Doing it this way, we'll be able to compare our changes and can easily decide what to toss or keep using our trusty ol' git diff.

Development environment

I work with NixOS and most of my code/starters ship with a devshell. If you have access to direnv and the Nix package manager, you can be up an running with direnv allow.

Contributing

Please review the Contribution Guidelines.

Code of conduct

In order to ensure that the community is welcoming to all, please review and abide by the Code of Conduct.

Security vulnerabilities

Please review the security policy on how to report security vulnerabilities.

License

This software is open source and licensed under the MIT license.

About

Domain Driven Laravel application skeleton

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Contributors