Our great sponsors
Laravel | Composer | |
---|---|---|
225 | 191 | |
31,453 | 28,225 | |
1.3% | 0.3% | |
9.9 | 9.5 | |
5 days ago | 3 days ago | |
PHP | PHP | |
MIT License | MIT 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
-
Tell HN: Laravel's default truncate method uses cascade for Postgres databases
Hope this saves a future team from unexpected behavior resulting in (potential) production data loss.
When using Postgres, Laravel's default method for truncate uses the cascade option, which will ignore foreign key constraints and potentially wipe large amounts of data with no confirmation or warning.
It was originally introduced in 2018: https://github.com/laravel/framework/pull/26389/files
Here are two threads on it if you are curious: https://github.com/laravel/framework/issues/29506
-
Exploring Middleware in Laravel 11
I am just exploring middleware in this post, but as you can see this is quite a different approach than we've seen historically. I sat there scratching my head, "How do I set up my own middleware? How do I change the defaults?" I had to explore the Illuminate\Foundation\Configuration\Middleware class to find out.
- Automatizando fluxos de trabalho com GitHub Actions
- Testando filas em projetos Laravel
-
alof-lib: a PHP array-like objects functions library
For example check out this issue I reported on their side: https://github.com/laravel/framework/issues/49089
-
PHP: check dates
It does not mean you should absolutely use it everywhere, but it can make sense for your case. Many frameworks, like Laravel use it to compose new projects.
-
An Internet of PHP
https://github.com/laravel/framework/blob/00894b89e42a9d707c...
Even Tinker is a few lines of code to extend PsySH and credit is barely given.
Taylor Otwell is a fiend for creating wrappers around solid open source libraries, using PHP magic and encouraging bad practices, all just to breed an ecosystem ultimately to land him a Lambo, fuelled by amazing open source foundations that have barely been contributed back to by him.
- Laravel 10.15 Released: Sub-minute Task Scheduling, Raw SQL Query Builder Methods, and More
-
Laravel’s ForwardsCalls trait
This same system has been used in Laravel since version 4.0* albeit in the more PHP plain way, using call_user_func_array (Laravel Model Class).
- From Concept to Image: Exploring OpenAI Image Generation API with Laravel 10 and VueJS
Composer
- Tutorial Cara Instal Composer di Linux
-
From Beginner to Master: The Path to Becoming a PHP Guru
Delving into PHP frameworks like Laravel or Symfony is like building a skyscraper, with Composer acting as your "construction foreman," guiding you step by step to ensure your code is robust and awe-inspiring. This stage involves getting familiar with popular PHP frameworks such as Laravel, Symfony, CodeIgniter, etc., and utilizing the functionalities provided by these frameworks to rapidly develop efficient, maintainable web applications. Tools to consider: Laravel, Composer.
-
Routing implementation using PHP attributes
In our example application we will manage dependencies via Composer.
-
PHP Authentication: Implementing Access Token
Our project template is equipped with Composer and an autoload class pre-installed. This inclusion in the repository streamlines the setup process, particularly for this access-token course. Composer, a dependency manager for PHP, simplifies the integration of external libraries and ensures efficient autoloading of classes. It plays a pivotal role in managing project dependencies, enabling developers to focus more on implementation rather than manual library management. If you're unfamiliar with Composer or need guidance on its installation, refer to the following link for detailed instructions: [https://getcomposer.org/] and this article for more details on the setup of the packages in this project.
-
Experience Continuous Integration with Jenkins | Ansible | Artifactory | SonarQube | PHP
On you Jenkins server, install PHP, its dependencies and Composer tool (Feel free to do this manually at first, then update your Ansible accordingly later)
-
How To Send WhatsApp Messages with Laravel
Composer
-
Create Your E-Book: Converting Markdown to PDF and EPUB
Composer for installing the PHP package: https://getcomposer.org/
-
How To Setup Laravel on Windows with XAMPP: Quick Guide
Visit https://getcomposer.org/ and click on the DOWNLOAD button.
-
Bisecting vendors
Composer bisect command #11119
-
How to develop serverless PHP application with PostgreSQL database with Vercel and Neon.tech for free
Composer is a PHP package manager and it will allow us to use many out-of-the-box packages and features such as HTTP requests, logging, and templates and database management. I use it to develop large, complex applications.
What are some alternatives?
nuxt3-supabase - Nuxt 3 module and composables for Supabase.
Pickle - PHP Extension installer
octane - Supercharge your Laravel application's performance.
Melody - One-file composer scripts
fingerprintjs - Browser fingerprinting library. Accuracy of this version is 40-60%, accuracy of the commercial Fingerprint Identification is 99.5%. V4 of this library is BSL licensed.
Composer Installers - A Multi-Framework Composer Library Installer
FrameworkBenchmarks - Source for the TechEmpower Framework Benchmarks project
composer-unused - Show unused composer dependencies by scanning your code
Nextcloud - ☁️ Nextcloud server, a safe home for all your data
Climb
ProxiTok - Open source alternative frontend for TikTok made using PHP
Laravel - Laravel is a web application framework with expressive, elegant syntax. We’ve already laid the foundation for your next big idea — freeing you to create without sweating the small things.