Laravel
Yii2
Our great sponsors
- SonarQube - Static code analysis for 29 languages.
- CodiumAI - TestGPT | Generating meaningful tests for busy devs
- InfluxDB - Access the most powerful time series database as a service
- ONLYOFFICE ONLYOFFICE Docs — document collaboration in your environment
Laravel | Yii2 | |
---|---|---|
315 | 30 | |
73,564 | 14,085 | |
0.8% | 0.1% | |
9.2 | 9.4 | |
4 days ago | 7 days ago | |
PHP | PHP | |
MIT License | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Laravel
-
Build a LinkedIn Bio Generator in Laravel using the REST API of OpenAI, Livewire and Tailwind CSS.
Laravel is a PHP framework with expressive, elegant syntax that strives to provide an amazing developer experience while providing powerful features. In this article, we will build a LinkedIn Bio Generator in Laravel using the REST API of OpenAI. The Tailwind CSS and Livewire part will be for a nice graphical user interface. ✨ At the end, you’ll have a web page where the user will provide one or more keywords that will be sent to OpenAI's API. The API will generate a bio containing those keywords and it will be shown to the user. This web page will look like this :
-
Autoloading, coding standards and file structure in WordPress plugin development
I don’t want to dictate which standards you should follow, but I stick to the PSR, as they are also followed by other PHP frameworks like Symfony and Laravel. If you rely on PSR, you are not trapped in the WordPress universe and can seamlessly work on Symfony or Laravel projects as well. Opinions differ here, though; there are numerous advocates of the WordPress standard when programming for WordPress. If you ever want to become a core developer, you should definitely be aware that different coding standards exist.
- My SaaS makes $50K MRR and is built on vanilla Ruby on Rails and jQuery
-
Guidance regarding open source terminologies
"Frameworks" is along the same lines, but a framework is often a much large existing library that would sit at the foundation of your application, which you'd build on top of. As an example, I often use the "Laravel" PHP framework which provides a stricture and a lot of common fundemental functionality for building a PHP web application, so I can build on-top of that, focusing on the custom thing I want to build instead of having to create my own application structure and common functionality.
-
Laravel – Closing Tickets
A better question: why were most of these _opened_? Seems like a ton of minimal-changes PRs being opened on that repo recently...
https://github.com/laravel/laravel/pulls?q=is%3Apr+is%3Aclos...
-
which backend technology do you see having the brightest future? (for jobs)
Take a look at Laravel it’s a great framework with a huge community. https://laravel.com
- Introducing Punchcard - Object Configs for Laravel
- Phoenix 1.7.0 Released: Built-In Tailwind, Verified Routes, LiveView Streams
-
Structuring REST API
This is how Laravel and Slim does this.
Yii2
- 🔥 Yii Database abstraction release
-
Creating an application # 5 - install using sub directory
In Yii Framework we have a middleware that will allow us to access our applications without the need to point the web server to the public directory of each template, so we will use the middleware SubFolder::class.
- Slim, possívelmente o framework ideal para quem vem do Golang
-
Assets #2 - installation
asset-packagist: This is the traditional Yii2 way, here we will add the following to our composer.json.
-
Assets #1 - definitions
It is often preferable to manage Yii Assets programmatically. For example, when you use the widget in a page, it will automatically include the required css and javascript files, instead of asking you to manually find these files and include them. And when you upgrade the widget to a new version, it will automatically use the new version of the Yii Assets. In this tutorial, we will describe the powerful Yii Assets management capability provided in Yii Framework .
-
Creating an application #2 - the concept of configuration
As we can see in the example above, we have defined the configuration of our packages in files .php (it doesn’t matter if they are YiiFramework packages or not), this allows us to define the configuration of each component in a very simple way to understand.
-
Templates available in Yii3.
Now if we want to create an extension, under the code standard used in the Yii Framework v.3 packages, we can use yiisoft/template, provides us the tools necessary for our code to comply with good coding standards they are:
-
Creating an application in Yii3 - part 3 the container di.
Now we understand how to do any configuration of any YiiFramework package or external, it is not necessary to have a single long and complex configuration file, we can organize it according to the group of configurations and Yii config will do the work for you, as well as the container it applies the definitions for you, with the automatic wiring facility in controllers, which makes it easy to access any container dependency without the need to use static access to it, or depend on the container itself.
-
Creating an application in Yii3.
YiiFramework it has a powerful tool to make configurations easier, when configuring the container di, we present Yii Config, your solution for building configurations.
-
best php-based cms/tech choice
For all CMSs I think you will find advantages and disadvantages (there is also a german website collecting CMS https://cmsstash.de/empfehlungen/php-cms https://cmsstash.de/empfehlungen/php-cms, or you will even find CMS projects on Symfony CMS page https://symfony.com/projects/category/cms but even unmaintained projects are listed there), I think it is good to be always open for all technologies and use the correct choice what is best matches how your team is working on the project. So you maybe want first decide if you want to go into a Framework based CMS or stay with a Traditional CMS or even want to use a Headless based CMS and there for self hosted or SaaS. There are Flat Filesystem based CMS which you maybe want to give a try. There are even a lot of small CMS systems around, sure there is always a risk of that such systems get abandoned if not backed by some company. Also none free systems like CraftCMS (Yii 2 Framework based) and Ibexa EzPlatform and co exists. You also will find Data management tools like PimCore, which are not focus on CMS but are listed as CMS alternative, or find Plugin Extension for shop systems like Magento or Sylius. They have its limits but can solve small content management problems.
What are some alternatives?
Spiral Framework - High-Performance PHP Framework
Gin - Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Slim Framework - Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs.
CodeIgniter - Open Source PHP Framework (originally from EllisLab)
Slim - Slim Framework 4 Skeleton Application
Phalcon - High performance, full-stack PHP framework delivered as a C extension.
Ubiquity - Ubiquity framework
Symfony - The Symfony PHP framework
Flask - The Python micro framework for building web applications.
Nette - 📖 The Nette documentation