Best of PHP — December 2022
- 1
- 2
Laravel News·3y
OpenAI for Laravel
Nuno Maduro released an OpenAI PHP Client for Laravel in October. This week he announced a brand Laravel integration called OpenAPI Laravel. The integration allows developers to use OpenAI's powerful natural language processing capabilities in their Laravel applications.
- 3
Laravel News·3y
A Look at What's Coming to Laravel 10
A Look at What's Coming to Laravel 10 Laravel v10 is the next major version of Laravel, planned for release on February 7th, 2023. Laravel uses a variety of community-driven packages as well as nine Symfony components for a number of features within the framework.
- 4
InfoSec Write-ups·3y
Exploiting XSS with Javascript/JPEG Polyglot
Polyglots are a combination of two different file types. Applications allow only certain file types on features like file upload and don’t allow other file types like.php or.js files as these can enable the attacker to upload malicious files on the application. Mozilla fixed this in Firefox 51 and after versions.
- 5
Laravel News·3y
Supercharging Your Artisan Commands With Termwind
Termwind is a PHP package created and maintained by Nuno Maduro (and other awesome contributors such as Francisco Madeira) It allows you to use Tailwind-like CSS classes in your PHP code to add styling to your output. To get started with using Termwind in your Laravel apps, you'll need to install it using Composer.
- 6
Community Picks·3y
How to use Bootstrap with Laravel and Vite
Bootstrap- one of the most used CSS frameworks currently on the market, is still widely used by a portion of the Laravel community. Since Laravel's switch to Vite, the status quo of Webpack and Mix was broken. Bootstrap relies on Popper for its dropdowns, popovers, and tooltips.
- 7
Laravel·3y
Laravel Loves PHP 8.2
Laravel Loves PHP 8.2, bringing with it features such as read-only classes, DNF types, and much more. You should update your dependencies to use the latest versions of the framework as well as the latest version of all first-party packages such as Cashier, Passport, Scout, etc.
- 8
Community Picks·3y
How to use jQuery with Laravel and Vite
How to use jQuery with Laravel and Vite is one of the OG JavaScript libraries still in heavy use in the Laravel community to this day. Installing jQuery is installed with a single command from your terminal using your preferred node package manager. We can import jQuery anywhere really, but for this example, we will add it below the lodash import.
- 9
Honeybadger·3y
How to Create PDFs in PHP
How to create PDFs in PHP Portal Document Format (PDF) is among the most popular file formats today. The contents of the PDF document will appear the same on all platforms. You can access the complete code that will be used in this tutorial from this GitHub repository. You should also have installed XAMPP on your computer.
- 10
Laravel News·3y
Laravel News top 10 posts of 2022
Laravel 9 came out in February with controller route groups, a refreshed default Ignition error page, Laravel Scout database engine, Symfony mailer integration, Flysystem 3.x, Improved Eloquent accessors/mutators, and more. Laravel Roles and Permissions: Gates and Policies Explained.