Template Laravel 9.x

Overview

Laravel Template

Passo a passo

Clone Repositório criado a partir do template, entre na pasta e execute os comandos abaixo:

Crie o Arquivo .env

cp .env.example .env

Atualize as variáveis de ambiente do arquivo .env

APP_NAME=Laravel
APP_URL=http://localhost:8080

DB_PASSWORD=root

Suba os containers do projeto

docker compose up -d

Acessar o container

docker compose exec app bash

Instalar as dependências do projeto

composer install

Gerar a key do projeto Laravel

php artisan key:generate

Acesse o projeto http://localhost:8080

Acesse o phpmyadmin http://localhost:8081

API de categorias e filmes: https://www.learn-laravel.cf/

Rotas:

  • (get) /categories
  • (get) /category/{id}
  • (get) /movies
  • (get) /movie/{id}

Como realizar requisições HTTP get:

Adicionar no arquivo web.php e acesse a rota http://localhost:8080/requisicao

Route::get('/requisicao', function () {
    $json = \Illuminate\Support\Facades\Http::get('https://learn-laravel.cf/movie/1')->body();
    dd($json);
});

Em caso de sucesso irá aparecer a mensagem (em linha única sem formatação):

{
    "id": 1,
    "name": "Zack and Miri Make a Porno",
    "category_id": 6,
}

Como criar tela de login no Laravel (ATENÇÃO LER DESCERIÇÃO DOS VIDEOS):

You might also like...
Starter project template for PHP

php-trainings PHP Education program Table of Contents Pre-requirements Workflow Special Notes See also Pre-requirements It's highly recommended to use

Benchmark of Elefant's template engine against Twig templates

Template Benchmark This is a simple benchmark to test the memory usage and speed of rendering templates using Elefant's Template engine, Twig, and Sma

Laravel Blog Package. Easiest way to add a blog to your Laravel website. A package which adds wordpress functionality to your website and is compatible with laravel 8.
Laravel Blog Package. Easiest way to add a blog to your Laravel website. A package which adds wordpress functionality to your website and is compatible with laravel 8.

Laravel Blog Have you worked with Wordpress? Developers call this package wordpress-like laravel blog. Give our package a Star to support us ⭐ 😍 Inst

A Simple Linode SDK built for Laravel with @JustSteveKing laravel-transporter package

linode client A Simple Linode client built for Laravel with @JustSteveKing laravel-transporter package Installation You can install the package via co

A Laravel Wrapper for the Binance API. Now easily connect and consume the Binance Public & Private API in your Laravel apps without any hassle.
A Laravel Wrapper for the Binance API. Now easily connect and consume the Binance Public & Private API in your Laravel apps without any hassle.

This package provides a Laravel Wrapper for the Binance API and allows you to easily communicate with it. Important Note This package is in early deve

Laravel Podcast Manager is a complete podcast manager package for Laravel 5.3+ that enables you to manage RSS feeds for your favorite podcasts and listen to the episodes in a seamless UI.
Laravel Podcast Manager is a complete podcast manager package for Laravel 5.3+ that enables you to manage RSS feeds for your favorite podcasts and listen to the episodes in a seamless UI.

laravelpodcast | A Laravel podcast manager package - v0.0.8 Introduction Laravel Podcast Manager is a complete podcast manager package for Laravel 5.3

Laravel-htaccess - a package for dynamically edit .htaccess in laravel

laravel-htaccess a package for dynamically edit .htaccess in laravel use RedirectHtaccess Facade function for add RedirectHtaccess()-add(); return in

Laravel & Google Drive Storage - Demo project with Laravel 6.x and earlier

Laravel & Google Drive Storage Demo project with Laravel 8.X Look at the commit history to see each of the steps I have taken to set this up. Set up t

Empower your business to accept payments globally, earn rewards and invest in crypto with lazerpay laravel sdk in your laravel project.
Empower your business to accept payments globally, earn rewards and invest in crypto with lazerpay laravel sdk in your laravel project.

Lazerpay Laravel Package pipedev/lazerpay is a laravel sdk package that access to laravel api Installation PHP 5.4+ and Composer are required. To get

Owner
Matheus Valbert
Matheus Valbert
Laravel 9 Template - Just a empty Laravel 9 project, ready to start new crap.

Laravel 9 Template Just a empty Laravel 9 project, ready to start new crap. Clone and start using. Usage - Local Env The same as usual with laravel. C

Gonzalo Martinez 1 Oct 31, 2022
Template Laravel 9.x

Laravel Template Passo a passo Clone Repositório criado a partir do template, entre na pasta e execute os comandos abaixo: Crie o Arquivo .env cp .env

Matheus Valbert 6 Nov 7, 2022
Easy management of Virtualization technologies including KVM, Xen, OpenVZ, Virtuozzo, and LXC/LXD including unified commands, monitoring, template management, and many more features.

ProVirted About Easy management of Virtualization technologies including KVM, Xen, OpenVZ, Virtuozzo, and LXC/LXD including unified commands, monitori

null 2 Aug 22, 2022
Phalcon cli template

Phalcon cli template This is just sample boostraping application for command line applications using the outstanding Phalcon Framework. Installation J

Guilherme Viebig 9 Oct 7, 2022
HTML5 Twitter Bootstrap 3.1 Magento Boilerplate Template

Magento Boilerplate A HTML5 Twitter Bootstrap 3.1 Magento 1.8 Boilerplate Template Read the blog post or checkout the demo for more information. Insta

null 532 Oct 31, 2022
PHPStorm Live template preferences for Magento 2 Projects

Magento 2 PHPStorm Preferences This project is intended to setup useful PHPStorm Templates for Magento 2 Projects. Disclaimer This project overrides t

Stämpfli AG 229 Jul 18, 2022
H&O Magento 2 Advanced Template Hints module

H&O Magento 2 Advanced Template Hints module Ho_Templatehints extends the default Magento template hints. Easily accessible with muscle memory ?ath=1.

Reach Digital 243 Sep 4, 2022
Pug-php adds inline PHP scripting support to the Pug template compiler

Pug-php adds inline PHP scripting support to the Pug template compiler. Since version 3, it uses Phug, a very customizable Pug template engine made by the tale-pug and pug-php developers as the new PHP Pug engine reference.

Pug PHP 377 Nov 23, 2022
Project template for starting your new project based on the Sulu content management system

Sulu is a highly extensible open-source PHP content management system based on the Symfony framework. Sulu is developed to deliver robust multi-lingua

Sulu CMS 180 Nov 22, 2022
Simple Symfony API-Platform Template which you can use to start to develop with symfony and api-platform

symfony-api-platform-skeleton Simple Template for Symfony API You can fork it and change the git remote to your Repo git remote set-url <your-git-remo

null 1 Jan 23, 2022