Journal SINTA 3
Laravel framework and native PHP: Comparison in the crea-tion of rest API
Matrix: Jurnal Manajemen Teknologi dan Informatika · Vol. 14 No. 2 (2024) · pp. 66–73
- ISSN
- 2580-5630, 2088-284X
- Published
- 2024-07-31
- Publisher
- Unit Publikasi Ilmiah, P3M, Politeknik Negeri Bali
- Language
- eng
Abstract
As technology evolves, the need for data communication grows. One technology facilitating this communication between applications and databases is the REST API, widely used by companies to provide access to their data and services. REST APIs can be developed using PHP, known as PHP Native. However, PHP Native faces performance issues and a monotonous, repetitive code structure, making maintenance and scalability challenging. Consequently, developers have created PHP frameworks like Laravel. This research compares the Laravel framework with PHP Native in REST API development, evaluating aspects such as processing speed, code efficiency, URL routing structure, and architectural models. The analysis reveals four key points: REST API processing speed, code efficiency, URL routing structure, and project architectural models. In terms of processing speed, PHP Native is slightly superior to Laravel, with speeds of 18.3 ms compared to 344.52 ms, due to additional processes in Laravel like routes, controllers, and models. For code efficiency, Laravel excels due to its ORM feature, unlike PHP Native, which requires manual SQL query writing. In URL routing, Laravel is superior with a structured routing feature, whereas PHP Native requires process file inclusion in route calls. Lastly, Laravel’s architectural model, which implements MVC, is superior to PHP Native, which lacks a standardized architectural model, leading developers to create their own.
Keywords
Collaboration network of the authors
8 authors · 18 co-authorship links · 3 across different organisations
Hover or tap a name to highlight its co-authors. Double-click to open the author's page.
- Politeknik Negeri Malang
- University of Pembangunan Nasional Veteran Jawa Timur
- Affiliation unknown
- Different organisations
- Same organisation
- Affiliation unknown
- Thicker line = more joint articles · bigger circle = more articles
Show as table
| Co-author | Organisation | Joint articles |
|---|---|---|
| Gyska Indah Harya | Affiliation unknown | 1 |
| Taufik Setyadi | Affiliation unknown | 1 |
| Dwi Puspitasari | University of Pembangunan Nasional Veteran Jawa Timur | 1 |
| Taufik Setyadi | University of Pembangunan Nasional Veteran Jawa Timur | 1 |
| Gyska Indah Harya | University of Pembangunan Nasional Veteran Jawa Timur | 1 |
Affiliations come from OpenAlex; journal OAI-PMH metadata carries none. Authors without an OpenAlex ID are matched by name, which can merge or split people.