+
Skip to content

i1Zeus/Travel-API

Repository files navigation

Laravel Logo

Build Status Total Downloads Latest Stable Version License

About this project

I've just started working api in Laravel and this is my first project. I've used Laravel 8 and php 7.4. used mysql database. used postman for testing api. used Laravel dusk for testing. used Laravel ui for authentication. used Laravel sanctum for authentication.

More about this project

  • You'll find That I've installed UnoCSS, that was too as a test there is only a little of ppl that have installed it with Laravel.
  • Used Laravel pint for styling and formatting the code.
  • Used Larastan for static analysis.
  • Used Scribe to document the api.

How to install UnoCSS with Laravel

  1. install NodeJS, then install UnoCSS with this command npm install -D unocss.

  2. create a file called uno.config.js and put this code inside it.

import {
    defineConfig,
    presetAttributify,
    presetUno,
    presetIcons,
} from "unocss"; // install and add ny preset you want

export default defineConfig({
    presets: [presetUno(), presetAttributify(), presetIcons()],
});
  1. in your vite.config.js file you need to add this code inside the "plugins".
UnoCSS({ content: { filesystem: ["./resources/views/**/*.blade.php"] },}),
  1. in your resources -> js -> app.js file you need to add this code.
import "virtual:uno.css";
  1. That's it, you can now use UnoCSS in your project.

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.

Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via taylor@laravel.com. All security vulnerabilities will be promptly addressed.

License

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载