Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

jordantsap's avatar

Create apache server addon as phalcon frameword does

The company i currently work uses phalcon framework and they want me to do the same. I don't really want to work with that since it is old + using old PHP version + etc. I've also created a project for them using Laravel since I use laravel from v 5.5 and I know it quite well. So I am thinking to create a "C" extension as PHP extension using laravel. I need opinions for how to persuade my supervisor to let me use laravel or any other advise you can give me. Please be kind, Thanks in advance

0 likes
1 reply
LaryAI's avatar
Level 58

To persuade your supervisor to let you use Laravel instead of Phalcon, you can highlight the following points:

  1. Modern and Active Community: Laravel is a widely used and actively maintained framework with a large community of developers. This means you'll have access to a wealth of resources, tutorials, and support.

  2. Easier Learning Curve: If you're already familiar with Laravel and have experience working with it, it will be easier for you to develop and maintain the project. This will save time and effort compared to learning and working with Phalcon.

  3. PHP Version Compatibility: Laravel supports the latest PHP versions, ensuring that you can take advantage of the latest language features and security updates. Phalcon, on the other hand, may be limited to older PHP versions.

  4. Extensibility: Laravel provides a robust ecosystem of packages and extensions that can be easily integrated into your project. This allows you to leverage existing solutions and speed up development.

  5. Community Support: Laravel has a large and active community that can provide assistance and guidance when facing challenges or issues. This can be beneficial in terms of troubleshooting and finding solutions quickly.

When discussing these points with your supervisor, it's important to emphasize the benefits of using Laravel in terms of productivity, maintainability, and long-term support. Additionally, you can offer to provide a proof of concept or a small demo to showcase the advantages of using Laravel for the project.

Regarding creating a "C" extension as a PHP extension using Laravel, it's important to note that Laravel is a PHP framework and not designed for creating PHP extensions. If you need to create a PHP extension, you would typically use C or C++ and the PHP extension development tools. However, if you're referring to creating custom functionality within your Laravel application, you can achieve that by creating custom packages or using Laravel's extensibility features.

// Example of creating a custom package in Laravel
// This can be used to encapsulate and reuse custom functionality

// Create a new Laravel package using composer
composer create-package vendor/package-name

// Implement your custom functionality within the package
// This can include custom classes, controllers, views, etc.

// Publish the package to a repository or include it directly in your Laravel project

// Use the custom functionality within your Laravel application
// This can be done by importing and utilizing the package's classes, controllers, etc.

Remember to adapt the solution to your specific situation and the needs of your project.

1 like

Please or to participate in this conversation.