https://github.com/codersakl/laravel-docker
Dockerized laravel with some additional features
https://github.com/codersakl/laravel-docker
Last synced: 9 months ago
JSON representation
Dockerized laravel with some additional features
- Host: GitHub
- URL: https://github.com/codersakl/laravel-docker
- Owner: CodersAKL
- Created: 2016-07-02T22:23:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-04-19T21:17:01.000Z (about 3 years ago)
- Last Synced: 2025-01-29T12:28:45.457Z (over 1 year ago)
- Language: PHP
- Size: 298 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Lissted all used packages
1. [Translation package](https://github.com/hpolthof/laravel-translations-db)
1. [Bower dependencies](https://github.com/FabioAntunes/laravel-elixir-wiredep)
# Database tables
1. Create table
`php artisan make:migration:schema create_pages_table --shema="title:string, body:text, published_at:timestamp"`
1. Update table
`php artisan make:migration:schema add_user_id_to_posts_table --schema="user_id:integer"`
1. Create relations
* Many to many
`php artisan make:migration:pivot tags pages`
* One to many
`php artisan make:migration:schema create_companies_table --schema="user_id:integer:foreign:unsignption:text,active:boolean,tax_no:varchar,child:boolean,child_of:integer:unsign"`
# Translations
To translate php files Visit url public/_translations
* To sync files with db
`php artisan translation:fetch`
* To export back to files
`php artisan translation:dump`