This is the source of the official Laravel website.

Related tags

Laravel laravel.com
Overview

Laravel Website

This is the source of the official Laravel website.

Local Development

If you want to work on this project on your local machine, you may follow the instructions below. These instructions assume you are serving the site using Laravel Valet out of your ~/Sites directory:

  1. Fork this repository
  2. Open your terminal and cd to your ~/Sites folder
  3. Clone your fork into the ~/Sites/laravel folder, by running the following command with your username placed into the {username} slot:
    git clone [email protected]:{username}/laravel.com-next laravel
  4. CD into the new directory you just created:
    cd laravel
  5. Run the setup.sh bin script, which will take all the steps necessary to prepare your local install:
    ./bin/setup.sh

Syncing Upstream Changes Into Your Fork

This GitHub article provides instructions on how to pull the latest changes from this repository into your fork.

Updating After Remote Code Changes

If you pull down the upstream changes from this repository into your local repository, you'll want to update your Composer and NPM dependencies, as well as update your documentation branches. For convenience, you may run the bin/update.sh script to update these things:

./bin/update.sh
Comments
  • Add dark mode for docs

    Add dark mode for docs

    I thought I'd take a stab at creating a dark mode version of the docs:

    laravel-2 laravel-9

    Updated syntax highlighting under dark mode:

    laravel-1

    laravel-6

    Updated footer:

    laravel-8

    The initial color setting is based on prefers-color-scheme. You can toggle between light and dark with the button on the header:

    laravel-5 laravel-4

    The mobile version:

    laravel-11 laravel-10

    laravel-12 laravel-14

    For the time being, dark mode has only been implemented on pages under /docs/*, the rest of the website should still be unchanged and only have light mode. This is my first open-source contribution, so any and all feedback would be definitely appreciated.

    opened by FestiveAkp 28
  • Add Support Ukraine banner

    Add Support Ukraine banner

    I'm Alex, CTO at Ukrainian-based company Cargofy.

    My country is going through hard times now, I am forced to work from bomb shelter, and millions of people were forced to change their place of residence to escape the war. Now we need the efforts of the whole world to stop the war and support Ukraine in its defense.

    I use Laravel in my daily work, and I propose to place a banner supporting Ukraine on laravel.com, and thereby join the thousands of companies around the world who are already helping.

    I rarely ask for help, but now is the moment when every action can help us survive. Stand with Ukraine 🇺🇦

    image
    opened by MammutAlex 21
  • Copy code snippet button

    Copy code snippet button

    This PR adds a copy button so people can easily copy a snippet. The original code comes from @nunomaduro and the Pest documentation.

    Screenshot 2022-04-12 at 12 20 28

    When copied it looks like this:

    Screenshot 2022-04-12 at 12 21 45

    When code goes underneath the button there's a bit of overlap (intentionally):

    Screenshot 2022-04-12 at 12 20 10

    When the scrolling takes place, the copy button scrolls with the content:

    Screenshot 2022-04-12 at 12 27 16

    Unfortunately I do not know how to solve this. I think it's a very minor thing overall and it probably won't significantly hinder someone.

    opened by driesvints 9
  • Replace abandoned Sami by Doctum its fork

    Replace abandoned Sami by Doctum its fork

    Ref: https://github.com/code-lts/doctum/issues/2 (discussion with the author of Sami)

    Changes in this PR:

    • Replace Sami by Doctum
    • Allow base in scripts to be overridden base="$(pwd)/../" ./api.sh
    • Update lock file
    • Update config
    opened by williamdes 6
  • Add link to Laravel Shop

    Add link to Laravel Shop

    This PR adds a link in the header to the Laravel Big Cartel Shop.

    A side effect of adding the extra link was an overlap of the Search bar. This required a change in the width of the Search bar by 1% (see new layout image below)

    image

    My reason behind this PR was due to me looking for the shop to purchase some gear and I resorted to searching twitter for it.

    opened by vmitchell85 5
  • Fixed link to Horizon in Ecosystem dropdown

    Fixed link to Horizon in Ecosystem dropdown

    Currently, in the 'Ecosystem' dropdown and when you click on the one for Horizon it goes to horizon.laravel.com which just redirects to the laravel.com homepage.

    I've updated this so that it now links to Horizon's documentation page.

    opened by duncanmcclean 5
  • Add a collapse/expand link to the sidebar navigation

    Add a collapse/expand link to the sidebar navigation

    This feature adds a collapse/expand link to the sidebar nav by utilizing browser local storage. This code piggybacks off of the old documentation's javascript, with a couple of minor tweaks.

    opened by quantumhype 5
  • Add cell highlighting to support policy tables

    Add cell highlighting to support policy tables

    Adds cell highlighting to the bug fixes and security fixes columns of the support policy table.

    If the support date has expired the cell is red.

    If the support date is within 90 days of expiring the cell is orange (the 90 days could be changed in doc.js).

    I left supported versions white as I felt the table looked cleaner than having lots of green cells.

    This works in all versions of the docs that have a support policy table 5.6+.

    It also works in dark mode.

    opened by malinky 4
  • Fix code tags alignment on browsers that use different default baseline

    Fix code tags alignment on browsers that use different default baseline

    Follow-up to #153 (and the subsequent #154).

    On browser Pale Moon, the code tags are shifted up, which makes reading the documentation quite tedious. That seems to be because Pale Moon applies a different default baseline, closer to the specifications, than Firefox and Chrome.

    For more details you may read this topic on Pale Moon forum.

    opened by vlakoff 4
  • Remove index.php from URL

    Remove index.php from URL

    Removes index.php from the URL's (see https://github.com/laravel/framework/issues/30398 for more information about why this happens)

    Fix from @mattiasgeniar: https://github.com/laravel/framework/issues/30398#issuecomment-556310025

    opened by robindirksen1 4
  • Add line height to docs sidebar a tags

    Add line height to docs sidebar a tags

    This fixes a visual bug in Firefox Dev Edition (70.0b2 64-bit) on macOS.

    The same line height in Chrome appears fine as well. There was a bit of overflow in FF and the last item in a sidebar list was cut off.

    opened by daronspence 4
  • Improvement to social meta tags + an open graph image generator

    Improvement to social meta tags + an open graph image generator

    This PR adds custom "open graph" meta tags and images for each docs page. By default it relies on the page title and the first sizable code block on the page, but I've added support for customization that can come later (thru separate PRs directly to the docs repo).

    I extracted out a Page class to encapsulate some of the logic, and had to tweak the layout a bit to allow for overriding the metadata.

    Here's a side-by-side comparison. Note that not only is the image preview different, but the text below the image is different as well.

    Before After

    Should this PR get merged, additional customizations can be applied by adding frontmatter data to the individual docs page.

    For example, the default open graph data for the installation page in the docs will show a code block from the “Database and Migration” section, since that's the first code on the page that's larger than a line or two. It's possible to add a custom code block to the installation.md file that will be used when generating the open graph image. It's also possible to add a custom title, if it makes sense to add something more specific for the image and social cards.

    opened by inxilpro 10
  • Upgrade to Laravel 9 and PHP 8.1

    Upgrade to Laravel 9 and PHP 8.1

    Changelog

    Changed

    • Upgrade PHP from 7.4 to 8.1 (makes the upgrade to Laravel 10 easier)
    • Upgrade laravel/framework from ^8.0 to 9.30 (and necessary update steps)
    • Switch from facade/ignition to spatie/laravel-ignition
    • Upgrade other dependencies to latest version

    Removed

    • Removed yarn.lock because package-lock.json exists
    • Removed server.php (not needed anymore for Laravel 9)
    • Removed symfony/browser-kit (not used anywhere as far as I have seen)

    Additional Notes

    Switch from Mix to Vite will be done in another PR, after this one was accepted.

    opened by Jubeki 6
Owner
The Laravel Framework
The Laravel Framework
My aim is to make a complete website that should have all the essential parts a website should have.

Gaming-Ninja I aim to make a complete website that should have all the essential parts a website should have. https://gamingninja-3399.000webhostapp.c

Anand Jaiswar 3 Nov 23, 2022
An Easy, Customizable & Open Source Robux Rewards Website Made With Laravel

RbxDream - Robux Earning Rewards Website Coming Soon Current repo not stable. This is an open source Robux rewards site. Understanding Core Concepts T

Underground 3 Feb 15, 2022
Laravel wrapper for Sentry Official API

Laravel Sentry API Provides a simple laravel wrapper to some of the endpoints listed on (Official Sentry API)[https://docs.sentry.io/api/]. **Note: Th

Pedro Santiago 1 Nov 1, 2021
Official Mollie integration for Laravel Cashier

Subscription billing with Laravel Cashier for Mollie Laravel Cashier provides an expressive, fluent interface to subscriptions using Mollie's billing

Mollie 80 Dec 31, 2022
This package is the official Laravel integration for Pirsch Analytics

Laravel Pirsch This package is the official Laravel integration for Pirsch Analytics. Installation Install this package. composer require pirsch-analy

Pirsch Analytics 13 Nov 10, 2022
Source code for the filamentadmin.com website.

Filament Demo App A demo application to illustrate how Filament Admin works. Installation Clone the repo locally: https://github.com/laravel-filament/

Filament 197 Jan 3, 2023
The source code of the Full Stack Europe website.

Full Stack Europe This repository contains the source code for the https://fullstackeurope.com website. Requirements The following tools are required

Full Stack Europe 36 Dec 4, 2022
The official ibanapi.com PHP Package.

?? IBAN API validation using ibanapi.com for PHP The official node package for validating IBAN using the ibanapi.com public API for PHP This module of

null 7 Jul 11, 2022
The official Statamic 3 static site generator package

Statamic Static Site Generator Generate static sites with Statamic 3. Installation Install the package using Composer: composer require statamic/ssg

Statamic 187 Dec 25, 2022
The list of all Algerian provinces and cities according to the official division in different formats: csv, xlsx, php, json, etc.

algeria-cities This repository contains the list of all the administrative provinces and cities in Algeria. The data is up-to-date according to the of

Ramtani Othmane 393 Jan 2, 2023
Official repository from rasional.my.id

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

Rangga Agastya 2 Mar 29, 2022
Rebuild the todo website with Laravel and Vue

Lara-Todo This is a course that I took at Udmey, to create a todo website with Laravel and Vue.js Start First we need to download and setup Composer.

AmirH.Najafizadeh 6 Jul 31, 2022
Laravel package that converts your application into a static HTML website

phpReel Static Laravel Package phpReel Static is a simple Laravel Package created and used by phpReel that converts your Laravel application to a stat

phpReel 16 Jul 7, 2022
this package makes laravel website a progressive web application.

Laravel PWA You can follow this video tutorial as well for installation. Installation Install the package by the following command, composer require l

Shailesh Ladumor 86 Dec 16, 2022
A blog website with blog details with laravel

About Laravel Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experie

PreshDev 3 Mar 6, 2022
This Laravel 8 package makes it possible for you to set your website in "Under Construction" mode.

Laravel Under Construction This Laravel package makes it possible to set your website in "Under Construction" mode. Only users with the correct 4 digi

Lars Janssen 571 Dec 18, 2022
Modeling online shopping website with PHP/Laravel

Online Shop M-54 Bootcamp final project. Modeling digikala website with PHP/Laravel. Creating a simple WooComers website with Laravel and Blade. Tools

AmirH.Najafizadeh 6 Aug 14, 2022
A Laravel package to fetch Open Graph data of a website.

OpenGraph is a laravel package to fetch Open Graph metadata of a website/link. Features Easily fetch metadata of a URL. Laravel OpenGraph fetches all

Shashi Prakash Gautam 128 Dec 24, 2022
Website yang berisi informasi tentang restoran anda dilengkapi sistem reservasi yang dibuat dengan Laravel.

Selamat datang di repository Restawrant! ???? Website yang berisi informasi tentang restoran anda dilengkapi sistem reservasi yang dibuat dengan Larav

SYAUQIZAIDAN KHAIRAN KHALAF 55 Nov 1, 2022