The Laravel documentation.

Related tags

API docs laravel
Overview

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.

Comments
  • Document $casts changes

    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...

    opened by tbence94 13
  • Add more results to helper documentation.

    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.

    opened by joshuajabbour 13
  • Add information for running the Vite dev server when hosting Laravel in a VM

    Add information for running the Vite dev server when hosting Laravel in a VM

    This info is based on discoveries using Vite with an app running in Laravel Sail. I needed to call npm run dev from my host machine in order for HMR to work. Others mentioned similar issues with Homestead on the issue discussion here.

    opened by mike-healy 12
  • Update installation.md

    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.)

    opened by zaydogan 12
  • Added backslash before route namespace

    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".

    opened by ryanw3b3r 11
  • Edited Installation for brevity and easier reference

    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.

    opened by OKNoah 11
  • correct config virtualbox use symbolic links Windows

    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
    
    opened by ametad 9
  • edits to upgrading from 4.0 to 4.1

    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.

    opened by ravigehlot 9
  • [8.x] Add note about different DB connections with whereHasMorph

    [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.

    opened by driesvints 8
  • [8.x] Change User to UserResource

    [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.

    opened by zuzana-kunckova 8
  • updates required php version to 7.2.5

    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.

    opened by wgmv 8
  • Add note about container name update

    Add note about container name update

    If the value of APP_SERVICE is not the application's image name (defaults to laravel.test), sail artisan ... commands results in error similar to service "laravel.test" is not running container #1

    opened by damms005 0
  • [9.x] Add missing Cashier Stripe webhook event

    [9.x] Add missing Cashier Stripe webhook event

    The php artisan cashier:webhook command creates a webhook which also listens for the invoice.payment_succeeded event. I've added it to the list to ensure people don't miss it when creating the webhook and adding events manually instead of using the command.

    opened by zepfietje 0
  • updates homestead docs

    updates homestead docs

    :warning: WIP

    Waiting for:

    • https://github.com/laravel/homestead/issues/1814
    • https://github.com/laravel/homestead/issues/1819
    • and maybe https://github.com/laravel/homestead/pull/1818 ?

    @svpernova09

    opened by stebogit 0
  • [9.x] Removes section on local network sharing

    [9.x] Removes section on local network sharing

    This PR removes the section on local sharing which was added to the documentation in https://github.com/laravel/docs/pull/5677. The reasoning for this removal is that the feature doesn't exist in Laravel Valet. If a user follows the steps outlined in the documentation they'll always get back the default Laravel Valet 404 not found page.

    I'm not sure why it was added to the documentation, but it seems at least @driesvints knows this feature doesn't exist. Given issue (https://github.com/laravel/valet/issues/1093) was converted to a discussion for feature requests (https://github.com/laravel/valet/discussions/1143) instead of an issue.

    There is also the following comment on another issue regarding local network access (https://github.com/laravel/valet/issues/440#issuecomment-579830736) where a user suggested a fix for getting local networking to work, but that requires changing internals for Laravel Valet.

    As Laravel Valet is now there is no feature for local network sharing and the section can be removed.

    opened by thinkverse 2
Owner
The Laravel Framework
The Laravel Framework
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

SCB API Esay team 2 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

Mink 83 Nov 14, 2022
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

Nelmio 2.1k Jan 6, 2023
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,

Alexander Tømmerås 776 Dec 25, 2022
Laravel API 文档生成器,可以将基于 Laravel 项目的项目代码,自动生成 json 或 md 格式的描述文件。

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

静止 5 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 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

Ahmed Esa 106 Nov 22, 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

Chris Bautista 691 Nov 29, 2022
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

null 9.3k Jan 7, 2023
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

Fruitcake 6.2k Jan 8, 2023
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

Spatie 1.8k Dec 30, 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

Mikk Mihkel Nurges 1.9k Dec 31, 2022
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

NuWave Commerce 3.1k Jan 6, 2023
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

Md Obydullah 4 Jan 27, 2022
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

Max Base 4 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

The Peer 26 Oct 7, 2022
OpenClassify - Laravel 8 Classified Script Platform

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

openclassify 184 Dec 28, 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

one2tek 93 Oct 28, 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

Scrn 100 Oct 16, 2022
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

Sammy Kaye Powers 697 Nov 6, 2022