The Laravel documentation.

Last update: May 17, 2022

Laravel Documentation

You can find the online version of the Laravel documentation at https://laravel.com/docs

Contribution Guidelines

If you are submitting documentation for the current stable release, submit it to the corresponding branch. For example, documentation for Laravel 8 would be submitted to the 8.x branch. Documentation intended for the next release of Laravel should be submitted to the master branch.

GitHub

https://github.com/laravel/docs
Comments
  • 1. Document $casts changes

    Since 5.5 attribute casting works in both directions and it ruined my seeds when i updated to 5.5, I thought we should inform other developers about that issue, because it runs without an error, but when you access the attribute it will not cast back to array, because it was encoded twice...

    Reviewed by tbence94 at 2017-08-28 15:58
  • 2. Add more results to helper documentation.

    Just added some more examples of results from various helper functions (mostly array ones). Every now and then I have to try to figure out which helper would be most appropriate, and the results give a clearer picture of the function.

    Reviewed by joshuajabbour at 2014-07-18 19:17
  • 3. Update installation.md

    I have added the missing extensions Dom and Zip to the list. I removed Tokenizer from the list, since it is enabled by default since PHP 4.3. The reason is because it is not an extension that you can install, but a compile-time option (that is enabled by default.)

    Reviewed by zaydogan at 2016-01-06 13:43
  • 4. Added backslash before route namespace

    Without backslash Laravel will append namespace to main application namespace and will return an error "Class App\Http\Controllers\Laravel\Cashier\WebhookController does not exist".

    Reviewed by ryanw3b3r at 2015-09-06 19:25
  • 5. Edited Installation for brevity and easier reference

    See this discussion: http://laravel.io/forum/07-08-2014-editing-the-documentation-for-brevity-and-readability

    I'd like to do this throughout the documentation where appropriate. Please let me know any feedback first. Thanks.

    Reviewed by OKNoah at 2014-07-10 20:43
  • 6. correct config virtualbox use symbolic links Windows

    The line where it sets the VBoxInternal2/SharedFoldersEnableSymlinksCreate should also contain the path to the shared folder inside the VM. This is done in the last part where it originally says /v-root.

    The shared folder in Homestead is: /home/vagrant/code.

    Therefore the correct config should be:

       config.vm.provider "virtualbox" do |v|
            v.customize ["setextradata", :id, "VBoxInternal2/SharedFoldersEnableSymlinksCreate/home/vagrant/code", "1"]
        end
    
    Reviewed by ametad at 2018-06-14 09:42
  • 7. edits to upgrading from 4.0 to 4.1

    I updated one of my projects from 4.0 to 4.1. In reading the documentation, I instantly ran php artisan auth:reminders-controller to create my reminders. That resulted in an error because I hadn't run composer update yet. I thought that it would be nice to let others know not to run that until they are done upgrading.

    Also, when I ran composer update, I saw some "Permission Denied" errors. I re-ran composer update this time with sudo and it all went fine.

    Ravi.

    Reviewed by ravigehlot at 2014-07-18 11:14
  • 8. [8.x] Add note about different DB connections with whereHasMorph

    whereHasMorph doesn't seems compatible with multiple database connections on models. I'm not entirely sure if this is a bug or a limitation. I tried to dig into the (Eloquent) query builder but couldn't figure out how to fix this.

    It's around here where the constraints get applied: https://github.com/laravel/framework/blob/8eb1827d7290dba9c55e54fa296275eb6f4b491a/src/Illuminate/Database/Eloquent/Concerns/QueriesRelationships.php#L229-L230

    So I opted to put it in the documentation for now.

    Reviewed by driesvints at 2021-12-03 08:54
  • 9. [8.x] Change User to UserResource

    I would like to propose to change User in the Generating Resources section example to UserResource to avoid conflict with the User model namespace when importing the User resource in the UserController.

    Reviewed by zuzana-kunckova at 2021-01-04 21:49
  • 10. updates required php version to 7.2.5

    This PR updates the required PHP version.

    The version should most likely be 7.2.5: According to https://github.com/symfony/service-contracts/blob/master/composer.json it's the minimum required version for symfony contracts.

    Reviewed by wgmv at 2019-11-26 22:58
  • 11. Try #2: Clearly document RefreshDatabase will not work

    and you need to use DatabaseMigrations. Our team depends on these docs, and my concern is that more people on the team will lose time to this very very hard to track down issue.

    Reviewed by alnutile at 2017-12-13 23:36
Related tags
API documentation API SCB EASY APP

SCB-API-EASY V3.0 API documentation SIAM COMMERCIAL BANK PUBLIC COMPANY LTD. API SCB Easy V3 endpoint = https://fasteasy.scbeasy.link 1.0. Get balance

Sep 28, 2021
Mink documentation

Mink Documentation This repository contains the documentation for the Mink project. The rendered documentation is hosted at Read the Docs. Contribute

Oct 6, 2021
The NelmioApiDocBundle bundle allows you to generate a decent documentation for your APIs

NelmioApiDocBundle The NelmioApiDocBundle bundle allows you to generate a decent documentation for your APIs. Migrate from 3.x to 4.0 To migrate from

May 14, 2022
A Laravel Fractal package for building API responses, giving you the power of Fractal with Laravel's elegancy.
A Laravel Fractal package for building API responses, giving you the power of Fractal with Laravel's elegancy.

Laravel Responder is a package for building API responses, integrating Fractal into Laravel and Lumen. It can transform your data using transformers,

May 18, 2022
Laravel API 文档生成器,可以将基于 Laravel 项目的项目代码,自动生成 json 或 md 格式的描述文件。

Thresh Laravel API 文档生成器,可以将基于 Laravel 项目的项目代码,自动生成 json 或 md 格式的描述文件。 安装 $ composer require telstatic/thresh -vvv 功能 生成 Markdown 文档 生成 Postman 配置文件 生

Jul 12, 2021
Laravel api tool kit is a set of tools that will help you to build a fast and well-organized API using laravel best practices.
Laravel api tool kit is a set of tools that will help you to build a fast and well-organized API using laravel best practices.

Laravel API tool kit and best API practices Laravel api tool kit is a set of tools that will help you to build a fast and well-organized API using lar

May 13, 2022
A simple way of authenticating your RESTful APIs with API keys using Laravel

ApiGuard This package is no longer maintained This package is no longer maintained as Laravel already has a similar feature built-in since Laravel 5.8

Apr 2, 2022
A RESTful API package for the Laravel and Lumen frameworks.
A RESTful API package for the Laravel and Lumen frameworks.

The Dingo API package is meant to provide you, the developer, with a set of tools to help you easily and quickly build your own API. While the goal of

May 22, 2022
Adds CORS (Cross-Origin Resource Sharing) headers support in your Laravel application

CORS Middleware for Laravel Implements https://github.com/asm89/stack-cors for Laravel About The laravel-cors package allows you to send Cross-Origin

May 23, 2022
An easy to use Fractal wrapper built for Laravel and Lumen applications
An easy to use Fractal wrapper built for Laravel and Lumen applications

An easy to use Fractal wrapper built for Laravel and Lumen applications The package provides a nice and easy wrapper around Fractal for use in your La

May 20, 2022
Laravel wrapper for Facebook's GraphQL

Laravel GraphQL Use Facebook's GraphQL with Laravel 6.0+. It is based on the PHP port of GraphQL reference implementation. You can find more informati

May 18, 2022
A framework for serving GraphQL from Laravel
A framework for serving GraphQL from Laravel

Lighthouse A framework for serving GraphQL from Laravel Lighthouse is a GraphQL framework that integrates with your Laravel application. It takes the

May 18, 2022
Laravel cryptocurrency trading APIs.

Lypto API Laravel cryptocurrency trading APIs. Installation Requirements Minimum Laravel version 7.0 Use the following command to install: composer re

Jan 27, 2022
A simple example of how to create a RESTful API in Laravel Framework 8.36.1.
A simple example of how to create a RESTful API in Laravel Framework 8.36.1.

FirstLaravel A simple example of how to create a RESTful API in Laravel Framework 8.36.1. I used Database sqlite because I wanted to deploy this proje

Apr 16, 2021
Official Laravel package for thepeer

Thepeer Laravel SDK Installation composer install thepeer/sdk Usage Initiate <?php $thepeer = new \Thepeer\Sdk\Thepeer("your-secret-key"); Available

Dec 9, 2021
OpenClassify - Laravel 8 Classified Script Platform
 OpenClassify - Laravel 8 Classified Script Platform

OpenClassify is modular and most advanced open source classified platform build with Laravel 8 & PHP 7.3+ Supported

May 17, 2022
💛 Modern API development in Laravel. ✍️ Developed by Gentrit Abazi.

Introduction Larapi is a package thats offers you to do modern API development in Laravel with support for new versions of Laravel. Larapi comes inclu

May 2, 2022
🍞🧑‍🍳 An on-the-fly GraphQL Schema generator from Eloquent models for Laravel.

An on-the-fly GraphQL Schema generator from Eloquent models for Laravel. Installation Quickstart Model schemas Installation This package requires PHP

Apr 15, 2022
Fully unit tested Facebook SDK v5 integration for Laravel & Lumen
Fully unit tested Facebook SDK v5 integration for Laravel & Lumen

Laravel Facebook SDK A fully unit-tested package for easily integrating the Facebook SDK v5 into Laravel and Lumen 5.0, 5.1, 5.2, & 5.3. This is packa

Mar 14, 2022