Laravel template projet
  • PHP 69.5%
  • Blade 22.5%
  • CSS 6.2%
  • Dockerfile 1.4%
  • JavaScript 0.2%
  • Other 0.2%
Find a file
2026-07-22 14:42:53 +02:00
app more error handling notification 2026-06-03 14:16:27 +02:00
bootstrap keycloak works 2026-05-29 14:30:48 +02:00
config laravel login is working try to setul keycloak 2026-05-29 13:57:03 +02:00
database try to setup keycloak 2026-05-26 16:01:52 +02:00
doc dockerize 2026-07-22 14:41:51 +02:00
public style correstions 2026-05-28 08:00:21 +02:00
resources more error handling notification 2026-06-03 14:16:27 +02:00
routes keycloak works 2026-05-29 14:30:48 +02:00
storage giti init 2026-05-21 15:09:55 +02:00
tests giti init 2026-05-21 15:09:55 +02:00
.editorconfig giti init 2026-05-21 15:09:55 +02:00
.env.example keycloak redirect is working 2026-05-29 12:49:58 +02:00
.gitattributes giti init 2026-05-21 15:09:55 +02:00
.gitignore giti init 2026-05-21 15:09:55 +02:00
.npmrc giti init 2026-05-21 15:09:55 +02:00
artisan giti init 2026-05-21 15:09:55 +02:00
composer.json about with version 2026-05-28 11:36:16 +02:00
composer.lock registration is woring 2026-05-27 14:31:28 +02:00
docker-compose.yml dockerize 2026-07-22 14:41:51 +02:00
Dockerfile change libs on docker 2026-07-22 14:42:53 +02:00
LICENSE add MIT license 2026-05-28 11:22:44 +02:00
package.json registration is woring 2026-05-27 14:31:28 +02:00
phpunit.xml giti init 2026-05-21 15:09:55 +02:00
README.md dockerize 2026-07-22 14:41:51 +02:00
vite.config.js registration is woring 2026-05-27 14:31:28 +02:00

Laravel template project

Goal is to create project template with mariadb MYSQL, keycloak and document its creation from the scratch to working version with minimal welcome page with dark mode global CSS definition, settings and about in menu. Model view controller writing style.

Content would be customer (party) list with CRUD in table.

License: MIT

Laravel definitions

composer require laravel/boost --dev
php artisan boost:install

Boost provides your agent 15+ tools and skills that help agents build Laravel applications while following best practices.

Code of Conduct

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

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.

Setting up new deployment.

composer create-project laravel/laravel project-name
cd project-name

Create database and run migration after env configuration. Setup keycloak, you can use predefined configuration file.

create database laravel;

Create tables with ORM

php artisan migrate

User management with laravel UI lib

composer require laravel/ui
php artisan ui bootstrap --auth

Verzioniranje

git tag -a v1.0.1 -m "Verzija 1.0.1: Osnovna funkcionalnost"
git push origin v1.0.1
git describe --tags --abbrev=0 2>/dev/null

Deploy

First checkout repository and install laralvel libs. Copy env.templet to .env and replace environment specific configuration parameters data.

Run

Fedora linux install PHP packages.

dnf install php-gd
dnf install php-mysqli
dnf install php-cli
dnf install phpunit composer
composer require laravel/boost --dev
php artisan key:generate
composer require laravel/ui
php artisan serve

Licenca

Ta projekt je licenciran pod MIT Licenco.

Copy to new project

rsync -av ltp/app/ dod/app/
rsync -av ltp/database/ dod/database/
rsync -av ltp/config/ dod/config/
rsync -av ltp/routes/ dod/routes/
rsync -av ltp/composer.json  dod/composer.json
rsync -av ltp/bootstrap/app.php dod/bootstrap/app.php
rsync -av ltp/.env.example dod/.env.example 
rsync -av ltp/public/ dod/public/
rsync -av ltp/resources/ dod/resources/
rsync -av ltp/bootstrap/ wse/bootstrap/

mkdir -p storage/framework/cache
mkdir -p storage/framework/views

# copy gitignore, LICENSE in .env.esample 
# copy artisan executable

Docker

docker-compose up -d --build

# 2. Počisti Laravel cache (opcijsko)
docker-compose exec app php artisan config:clear
docker-compose exec app php artisan cache:clear

# 3. Zaženi migracije
docker-compose exec app php artisan migrate --force

# 4. (Opcijsko) Generiraj nov APP_KEY, če je potrebno
docker-compose exec app php artisan key:generate