browsershot
larastan
Our great sponsors
browsershot | larastan | |
---|---|---|
12 | 7 | |
4,676 | 5,192 | |
1.2% | 1.8% | |
8.2 | 9.1 | |
13 days ago | 6 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.
browsershot
-
My decade long, carefully maintained collection of 700+ handy web dev & design bookmarks. Delve in to my toolkit!
Sure! PHP makes it really simple. I use https://github.com/spatie/browsershot that just makes its way through a JSON feed of the links on a cronjob. I host a lot of stuff on a single VPS so its super flexible.
- Seeking recommendation for image generation in PHP
-
[Showoff Saturday] 10+ years of collecting web dev/design resources in one easy to discover web dev toolkit 🧰 (link in comments)
I used https://github.com/spatie/browsershot along with the WP REST API on a cronjob. I actually used it for social preview images too! https://twitter.com/addy_codes. Each link has a hidden page that builds the social preview in HTML then the screenshot tool screenshots it for me.
-
Any libraries out there that make building a document/template builder for the end user a possibility? Any suggestions for alternatives?
We have an application that generates shipping documentation in PDF formats based on data pulled from our ERP software. I wrote this application myself and uses templates defined in CSS and then use this package to generate the PDF: https://github.com/spatie/browsershot
-
Options for server-end HTML to PDF?
I've recently switched from wkhtmltopdf to https://github.com/spatie/browsershot.
-
Best way to create a pdfs (Recommend a library)
I highly recommend using Chrome in headless mode using this package.
-
How to make screenshots in Laravel with Browsershot
Browsershot is a software by Spatie that converts a webpage into an image or PDF by utilising a headless instance of Chrome. In this post, you will learn how to install it in your Laravel application and use it.
-
10 Laravel packages that might save your day
An alternative and a more popular solution to this is of course spatie/browsershot which does the same thing but using headless Chrome. I used to use Snappy years ago, but now I use Browsershot.
- Convert a webpage to an image or pdf using headless Chrome
-
Vapor custom Docker image + Browsershot
Has anyone managed to make Browsershot (https://github.com/spatie/browsershot) work on Laravel Vapor with docker ?
larastan
-
7 Laravel Packages to Improve Coding Standards and Reduce Bugs
Larastan is a Coding Standards Fixer tool, It's a PHPStan wrapper for Laravel. Larastan focuses on finding errors in your code. It catches whole classes of bugs even before you write tests for the code.
-
Underestimated PHP
Static analysis or Laravel-lovers
-
Modern PHP practices... where to start, what to look out for?
Static Analysis Tools - there are a number of tools that help you to manage code style (PHPCS, PHP-CSFixer, and a new one, Laravel Pint), as well as tools to analyse the "correctness" of your code (Psalm, PHPstan, in particular LaraStan).
-
10 Laravel packages that might save your day
7. nunomaduro/larastan
-
Matt Brown, the creator of psalm, stops working at Vimeo (and stops working with PHP)
https://github.com/nunomaduro/larastan should help with this specifically
-
Larastan 0.7.3 is released with a rule that can check Laravel Octane compatibility
New 0.7.3 release includes a rule that can check Laravel Octane compatibility of your application. It basically automates the things mentioned in the official docs. You can give it a try now! And let me know what do you think!
-
I am attracted to Symfony a lot while I already develop very well with Laravel. Should I also learn Symfony?
again, not trying to get into a symfony vs laravel debate, but you can do static analysis https://github.com/nunomaduro/larastan
What are some alternatives?
Dompdf - HTML to PDF converter for PHP
PHPStan - PHP Static Analysis Tool - discover bugs in your code without running it!
headless-chromium-php - Instrument headless chrome/chromium instances from PHP
pint - Laravel Pint is an opinionated PHP code style fixer for minimalists.
laravel-snappy - Laravel Snappy PDF
laravel-ide-helper - IDE Helper for Laravel
pagedjs - Display paginated content in the browser and generate print books using web technology
psalm-plugin-laravel - A Psalm plugin for Laravel
mPDF - PHP library generating PDF files from UTF-8 encoded HTML
phpinsights - 🔰 Instant PHP quality checks from your console
chrome-aws-lambda-layer - 58 MB Google Chrome to fit inside AWS Lambda Layer compressed with Brotli
enlightn - Your performance & security consultant, an artisan command away.