Code examples for the Dev tag - developer knowledge base - page 6 (351)

Learn how to use Eloquent models in Laravel with an example, to create powerful web applications.
Laravel: Get current URL w/ example. Learn how to use the URL Facade & URL::current() to get the curr. URL in your Laravel apps.
Laravel: Send POST requests w/example. Learn how to craft & send POST requests w/Laravel, & see a working example of an API request.
Learn how to create and use sessions in Laravel with this step-by-step guide and example.
Update records in Laravel with an example: Learn how to update records using Eloquent, query builder and raw SQL.
Learn how to rollback a single Laravel migration, with a step-by-step example.
Learn how to create a Laravel popup window, with an example & step-by-step instructions.
Laravel makes it easy to download files with an example: learn how to use StreamedResponse and File download methods.
Laravel makes managing sessions simple with examples on how to store, retrieve and delete session data.
Laravel CSRF protection explained w/example: learn how to disable & configure CSRF protection in Laravel apps.
Laravel tutorial: Connecting custom class w/ example. Learn how to use Laravel to create custom classes & incorporate them into your projects.
Build a basic CRUD app with Laravel & MySQL: Step-by-step guide with an example application.
Laravel: Easily add JavaScript files with a simple example. Learn how to quickly add JS to your project.
Learn how to save images in Laravel with a step-by-step example.
"Learn how to flash a message in Laravel with an easy example: create a view and use the session helper to display a message."
Build a Laravel model with an example: a step-by-step guide to getting started quickly and easily.
Laravel: Delete folder w/ example. Learn how to delete a folder & its contents using the File facade & example code.
Learn how to clear Laravel sessions with an example: discover the simple command to reset session data.
Laravel pagination: learn how to use it with an example. Easily paginate data & create custom pagination view.
Laravel provides a powerful API for file storage, allowing users to efficiently store & manage images. See an example!