Coder Social home page Coder Social logo

laravel-app's Introduction

Laravel Logo

Build Status Total Downloads Latest Stable Version License

About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

Laravel is accessible, powerful, and provides tools required for large, robust applications.

Learning Laravel

Laravel has the most extensive and thorough documentation and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

You may also try the Laravel Bootcamp, where you will be guided through building a modern Laravel application from scratch.

If you don't feel like reading, Laracasts can help. Laracasts contains over 2000 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel Patreon page.

Premium Partners

Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the Laravel documentation.

Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the Code of Conduct.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [email protected]. All security vulnerabilities will be promptly addressed.

License

The Laravel framework is open-sourced software licensed under the MIT license.

check: Xampp Composer Git GitHub for desktop Vscode Browser

extensions: auto close tag auto rename tag bracket pair colorization toggler code spell checker composer Laravel Artisan Laravel Blade Prettier Rainbow Brackets

download: https://github.com/merzainc/bootstrap-offline-docs/releases/tag/v.5.3

prepare: bootstrap cheatsheet

<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> @vite(['resources/sass/app.scss', 'resources/js/app.js']) laravel controller picture

steps: create folder, open in cmd, type code .

[need net] open vs terminal type 'composer create-project laravel/laravel .' // for installing bootstrap composer require laravel/ui // install bootstrap php artisan ui bootstrap // bootstrap npm i [email protected] // check node installation

for node

node -v

for npm

npm -v // run bootstrap npm install npm run dev

open xampp, start apache & mysql go to localhost/phpmyadmin create db named laravel-test once laravel create proj is finished, add to .env 'laravel-test' as db name php artisan make:model Products -mc php artisan serve - to run the server configure web.php for product index add products folder and index.blade.php create index function in ProductsController edit products table in databases folder (bigincrement id, string product_name, bigint quantity, string unit, bigint price, string image_path, timestamp) migrate db insert into db ui in index $products = Product::all(); return view('product.index', compact('products')); double check 's' in product's' in Pcontroller @foreach in index.blade.php do show route Pcontroller route model binding return view product.show views of product.show add protected $guarded = []; in models

get post put patch delete

help commands php artisan list php artisan make:model Products -controller -migration/ -mc

Laravel Notes

// create new laravel project composer create-project laravel/laravel example-app

// change directory cd example-app

// start hosting php artisan serve

// for installing bootstrap composer require laravel/ui

// install bootstrap php artisan ui bootstrap

// bootstrap npm i [email protected]

// check node installation

for node

node -v

for npm

npm -v

// run bootstrap npm install npm run dev

// php artisan storage:link

@vite(['resources/sass/app.scss', 'resources/js/app.js'])
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">

<!-- Load jQuery -->
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>

<!-- Load Bootstrap JS with Popper.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"></script>

<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"></script>

laravel-app's People

Contributors

audricat avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.