zaherg / laravel-starter
This is a starter template that I've built based on Laravel Framework, with some packages installed out of the box.
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 0
Forks: 3
Open Issues: 0
Type:project
Requires
- php: ^7.1.3
- barryvdh/laravel-cors: ^0.11.2
- fideloper/proxy: ^4.0
- laravel/framework: 5.7.*
- laravel/tinker: ^1.0
- predis/predis: ^1.1
- swooletw/laravel-swoole: ^2.5
Requires (Dev)
- barryvdh/laravel-debugbar: ^3.2
- barryvdh/laravel-ide-helper: ^2.5
- beyondcode/laravel-dump-server: ^1.0
- filp/whoops: ^2.0
- friendsofphp/php-cs-fixer: ^2.13
- fzaninotto/faker: ^1.4
- mockery/mockery: ^1.0
- nunomaduro/collision: ^2.0
- phpunit/phpunit: ^7.0
- squizlabs/php_codesniffer: ^3.3
README
Intro
This is a small template I've built based on Laravel framework, after I spent some time preparing for a small project. So to make my life easier later, I decided to create this template.
Installing and running the code
Requirements
Please make sure that you have installed Docker with Docker Compose.
Setup the local IP
In order to get the container up and running, you can follow these simple steps.
Add an entry 127.0.0.1 web.docker.local
to your /etc/hosts
file:
sudo echo "127.0.0.1 web.docker.local" >> /etc/hosts
Running the image
All you have to do is to execute the command:
./bin/docker_run
Docker customization:
This image comes with a ready to use Dockerfile
and docker-compose.yml
which you can either modify as you like.
The preferred way to override docker-compose.yml
values is to add a new file called docker-compose.override.yml
and change the value that you want over there, please refer to this post
from Docker documentation about extending and having multiple compose files.
Note:
Please note that this template is using Swoole Laravel package to help running your code faster, feel free to read more about Swoole.
Installed packages:
These are the packages that I've installed, other than the one comes with laravel.
- Swoole Laravel.
- Laravel CORS.
- PRedis.
- Laravel Debugbar.
- Laravel IDE Helper.
- PHP CS Fixer.
- PHP Code Sniffer.
About Laravel
Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel attempts to take the pain out of development by easing common tasks used in the majority of web projects, such as:
- Simple, fast routing engine.
- Powerful dependency injection container.
- Multiple back-ends for session and cache storage.
- Expressive, intuitive database ORM.
- Database agnostic schema migrations.
- Robust background job processing.
- Real-time event broadcasting.
Laravel is accessible, yet powerful, providing tools needed for large, robust applications.
Learning Laravel
Laravel has the most extensive and thorough documentation and video tutorial library of any modern web application framework, making it a breeze to get started learning the framework.
If you're not in the mood to read, Laracasts contains over 1100 video tutorials on a range of topics including Laravel, modern PHP, unit testing, JavaScript, and more. Boost the skill level of yourself and your entire team by digging into our comprehensive video library.
Laravel Sponsors
We would like to extend our thanks to the following sponsors for helping fund on-going Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page:
- Vehikl
- Tighten Co.
- Kirschbaum Development Group
- 64 Robots
- Cubet Techno Labs
- British Software Development
- Webdock, Fast VPS Hosting
- UserInsights
- Fragrantica
- SOFTonSOFA
- User10
- Soumettre.fr
- CodeBrisk
- 1Forge
- TECPRESSO
- Runtime Converter
- WebL'Agence
- Invoice Ninja
- iMi digital
- Earthlink
- Steadfast Collective
- We Are The Robots Inc.
- Understand.io
Contributing
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.
Security Vulnerabilities
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.
License
The Laravel framework is open-sourced software licensed under the MIT license.