Melola Discovery

← Melola Discovery

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

DOI
10.31940/matrix.v14i2.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-authorOrganisationJoint articles
Gyska Indah HaryaAffiliation unknown1
Taufik SetyadiAffiliation unknown1
Dwi PuspitasariUniversity of Pembangunan Nasional Veteran Jawa Timur1
Taufik SetyadiUniversity of Pembangunan Nasional Veteran Jawa Timur1
Gyska Indah HaryaUniversity of Pembangunan Nasional Veteran Jawa Timur1

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.

Metadata source: OAI-PMH (metadata jurnal) https://ojs2.pnb.ac.id/index.php/MATRIX/oai, first harvested 19 Nov 2026, last seen 19 Nov 2026.
Original metadata (oai_dc)
<oai_dc:dc xmlns="http://www.openarchives.org/OAI/2.0/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:oai_dc="http://www.openarchives.org/OAI/2.0/oai_dc/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.openarchives.org/OAI/2.0/oai_dc/  http://www.openarchives.org/OAI/2.0/oai_dc.xsd">
	<dc:title xml:lang="en-US">Laravel framework and native PHP: Comparison in the crea-tion of rest API</dc:title>
	<dc:creator>Ariyanto, Yuri</dc:creator>
	<dc:creator>Rachmad, Mochamad Farhan Fitrahtur</dc:creator>
	<dc:creator>Puspitasari  , Dwi </dc:creator>
	<dc:subject xml:lang="en-US">Code Efficiency</dc:subject>
	<dc:subject xml:lang="en-US">Laravel Framework</dc:subject>
	<dc:subject xml:lang="en-US">MVC Architecture</dc:subject>
	<dc:subject xml:lang="en-US">PHP Native</dc:subject>
	<dc:subject xml:lang="en-US">RestAPI</dc:subject>
	<dc:description xml:lang="en-US">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.</dc:description>
	<dc:publisher xml:lang="en-US">Unit Publikasi Ilmiah, P3M, Politeknik Negeri Bali</dc:publisher>
	<dc:date>2024-07-31</dc:date>
	<dc:type>info:eu-repo/semantics/article</dc:type>
	<dc:type>info:eu-repo/semantics/publishedVersion</dc:type>
	<dc:type xml:lang="en-US">Peer-reviewed Article</dc:type>
	<dc:format>application/pdf</dc:format>
	<dc:identifier>https://ojs2.pnb.ac.id/index.php/MATRIX/article/view/1413</dc:identifier>
	<dc:identifier>10.31940/matrix.v14i2.66-73</dc:identifier>
	<dc:source xml:lang="en-US">Matrix : Jurnal Manajemen Teknologi dan Informatika; Vol. 14 No. 2 (2024): Matrix: Jurnal Manajemen Teknologi dan Informatika; 66-73</dc:source>
	<dc:source>2580-5630</dc:source>
	<dc:source>2088-284X</dc:source>
	<dc:source>10.31940/matrix.v14i2</dc:source>
	<dc:language>eng</dc:language>
	<dc:relation>https://ojs2.pnb.ac.id/index.php/MATRIX/article/view/1413/890</dc:relation>
	<dc:rights xml:lang="en-US">Copyright (c) 2024 Matrix : Jurnal Manajemen Teknologi dan Informatika</dc:rights>
	<dc:rights xml:lang="en-US">https://scholar.google.co.id/citations?user=NDE5gXYAAAAJ&amp;hl=id</dc:rights>
</oai_dc:dc>