Our great sponsors
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.
spatie.be
-
Installing Xdebug 3 on MacOS and Debug in VS Code
How do you debug your code in PHP? Do you use var_dump or dd in Laravel? Many of us also use logger to log output & figure out the problem in multiple steps. Spatie built a debugging tool called Ray that one can use to simplify the operation over dd or logger.
-
How to use Laravel Permission by Spatie in Vue
When in comes to Laravel packages, the guys at Spatie are probably the kings. They have hundreds of free packages you can pick from and use into your projects. Hats down for their commitment and contribution to this beautiful ecosystem.
-
A Complete Guide To Managing User Permissions In Laravel Apps
In this article, we'll be using the Laravel Permission package from Spatie.
-
A package that allow you to import data from a spreadsheet to your Laravel application. UI components: React, Vue 2 / 3, Livewire, and Blade components
I'm thinking to make it as a software license, one-time payment with one year updates, as spatie.be do.
-
My MacBook Setup for Development!
Ray by Spatie - Debugger tool
-
Speeding up SSL checking process
We use Oh Dear from spatie.be to check availability, dead links, certs and more for our critical FQDNs. Works perfectly fine. we also see it as a way to give something back to them in return for all their hard work in maintaining their open-source packages for Laravel.
-
Modern PHP Cheat Sheet
The guys behind it work at Spatie[1] which you have probably heard of some of their packages, and Freek has a blog[2] that has a lot of PHP stuff on - lots Laravel, and lots just general new language stuff (covering PHP8 features etc)
[1] https://spatie.be
-
Can anyone point me to a repo for a website built in Laravel that has what you would consider really well written tests that I can learn from.
Spatie (https://spatie.be) makes a lot of great packages for Laravel. It also has a website with video courses and the code is open-sourced here https://github.com/spatie/spatie.be. I’ve learned a lot about testing from Spatie packages.
-
Coming Up With Project Ideas (Naturally)
So I along with my colleague M H Hasib started working on a project of our own inspired from the API of laravel-permissions package by Spatie and the result was mongoose-permissions package.
-
Wrapping my side projects into a one-person agency, good idea?
Examples would be something like spatie.be, beyondco.de, and serversforhackers.com
async
-
PHP in 2023 - stitcher.io
I really wanna get into writing more asynchronous PHP but having to switch to a whole different web server and execution mode is a major stumbling block. The only library (that I know of) that allows asynchronous code in traditional PHP environment is this one by Spatie.
-
Is it possible that PHP will ever get async/await functions?
You can leverage https://github.com/amphp/parallel or https://github.com/spatie/async without changing the app much.
-
Handling big API request (2.5gb) without timeout
To handle this problem i've used "https://github.com/halaxa/json-machine" to decrease the memory usage and "https://github.com/spatie/async" to decrease the take taken for the "update process" to complete
-
I Avoid Async/Await
It drove me crazy too, until I needed to use Puppeteer which requires you to write async/await (there are Puppeteer implementations in other languages, but they all seem to make compromises I didn't want). Generally speaking, async/await allows you to write code that looks and feels serial. Perhaps try using one of the async libraries for PHP to wrap your mind around the concept of async/await (like https://github.com/spatie/async)
-
Speeding up SSL checking process
Try using spatie's async package and run a chunk of 10 tests in each batch, if that works it might cut your waiting time by quite a lot.
-
Differences among Asynchronous PHP libraries: ReactPHP | amphp | Parallel (pThreads) | Swoole | Fibers | Spatie
Spatie
- What is best and easiest library (packagist) for async process in PHP?
- A pattern for promises in Laravel?
What are some alternatives?
laratrust - Handle roles and permissions in your Laravel application
async-php-8-io-http - True asynchronous PHP I/O and HTTP without frameworks, extensions, or annoying code. Uses PHP Fibers introduced in PHP 8.1
Akaunting - Online Accounting Software
fork - A lightweight solution for running code concurrently in PHP
Crater Invoice - Open Source Invoicing Solution for Individuals & Businesses
Swoole - 🚀 Coroutine-based concurrency library for PHP
API Platform - Create REST and GraphQL APIs, scaffold Jamstack webapps, stream changes in real-time.
parallel - An advanced parallelization library for PHP, enabling efficient multitasking, optimizing resource use, and application responsiveness through multiple CPU threads.
MongoDB - The MongoDB Database
React - Event-driven, non-blocking I/O with PHP.
node - Node.js JavaScript runtime ✨🐢🚀✨
coroutine - Cooperative multitasking using generators. The basics of coroutines, async and await!