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:
-[Simple, fast routing engine](https://laravel.com/docs/routing).
Laravel is accessible, powerful, and provides tools required for large, robust applications.
## Learning Laravel
Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) 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](https://bootcamp.laravel.com), where you will be guided through building a modern Laravel application from scratch.
If you don't feel like reading, [Laracasts](https://laracasts.com) 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](https://patreon.com/taylorotwell).
### Premium Partners
-**[Vehikl](https://vehikl.com/)**
-**[Tighten Co.](https://tighten.co)**
-**[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
-**[64 Robots](https://64robots.com)**
-**[Cubet Techno Labs](https://cubettech.com)**
-**[Cyber-Duck](https://cyber-duck.co.uk)**
-**[Many](https://www.many.co.uk)**
-**[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
## Code of Conduct
In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).
## Security Vulnerabilities
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.
## License
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
->get(['audits.id as aid','users.name as uname','stations.name as sname','vehicles.type as vtype','vehicles.vehicle_no as vno','fueltypes.name as ftyoe','audits.amount','audits.qty','audits.created_at'])
->get(['bowsers.id','bowsers.name','bowsers.vehicle_no','bowsers.curent_location','bowsers.capacity','users.name as uname','users.email','users.phone']);
}else{
$respond=Bowser::join('users','users.id','=','bowsers.user_id')->get(['bowsers.id','bowsers.name','bowsers.vehicle_no','bowsers.curent_location','bowsers.capacity','users.name as uname','users.email','users.phone']);
->first(['bowsers.id','bowsers.name','bowsers.vehicle_no','bowsers.curent_location','bowsers.capacity','users.name as uname','users.email','users.phone']);
->where('bowsers.id',$req->id)->first(['bowsers.id','bowsers.name','bowsers.vehicle_no','bowsers.curent_location','bowsers.capacity','users.name as uname','users.email','users.phone']);
returnresponse()->json(['respond'=>$respond]);
}
// This function for create a new Bowser with user
->where('queues.station_id',$station->id)->where('queues.status',0)->get(['fueltypes.name as fname','users.name as uname','queues.no as no','queues.id as id','vehicles.type as vtype',
'vehicles.id as vid','fueltypes.id as fid','users.id as uid','queues.station_id as sid']);
->where('queues.station_id',$station->id)->where('queues.status',0)->get(['fueltypes.name as fname','users.name as uname','queues.no as no','queues.id as id','vehicles.type as vtype',
'vehicles.id as vid','fueltypes.id as fid','users.id as uid','queues.station_id as sid']));
->get(['vehicles.id as vid','vehicles.type','vehicles.vehicle_no','vehicles.capacity','fueltypes.name as ftype','users.name as uname','users.email','users.phone']);
->get(['vehicles.id as vid','vehicles.type','vehicles.vehicle_no','vehicles.capacity','fueltypes.name as ftype','users.name as uname','users.email','users.phone']);
->first(['vehicles.id as vid','vehicles.type','vehicles.vehicle_no','vehicles.capacity','vehicles.fueltype_id','users.name as uname','users.email','users.phone']);
Laravel has wonderful, thorough documentation covering every aspect of the framework. Whether you are new to the framework or have previous experience with Laravel, we recommend reading all of the documentation from beginning to end.
Laracasts offers thousands of video tutorials on Laravel, PHP, and JavaScript development. Check them out, see for yourself, and massively level up your development skills in the process.
Laravel News is a community driven portal and newsletter aggregating all of the latest and most important news in the Laravel ecosystem, including new package releases and tutorials.
Laravel's robust library of first-party tools and libraries, such as <ahref="https://forge.laravel.com"class="underline">Forge</a>, <ahref="https://vapor.laravel.com"class="underline">Vapor</a>, <ahref="https://nova.laravel.com"class="underline">Nova</a>, and <ahref="https://envoyer.io"class="underline">Envoyer</a> help you take your projects to the next level. Pair them with powerful open source libraries like <ahref="https://laravel.com/docs/billing"class="underline">Cashier</a>, <ahref="https://laravel.com/docs/dusk"class="underline">Dusk</a>, <ahref="https://laravel.com/docs/broadcasting"class="underline">Echo</a>, <ahref="https://laravel.com/docs/horizon"class="underline">Horizon</a>, <ahref="https://laravel.com/docs/sanctum"class="underline">Sanctum</a>, <ahref="https://laravel.com/docs/telescope"class="underline">Telescope</a>, and more.