Best of PHPJune 2024

  1. 1
    Article
    Avatar of stitcherstitcher.io·2y

    What's new in PHP 8.4

    PHP 8.4 will introduce property hooks, allow 'new' keyword without parentheses, JIT improvements, deprecated implicit nullable types, and new DOM HTML5 support.

  2. 2
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    JavaScript Frameworks vs Laravel – Which Should You Choose for Web Development?

    Comparing JavaScript frameworks to Laravel for web development. Discusses the lack of a Laravel-like framework in the JavaScript ecosystem. Highlights the benefits of JavaScript frameworks and libraries, as well as the advantages of using Laravel. Provides a comparison between JavaScript frameworks and Laravel in terms of features, flexibility, salary, availability of tools, security, documentation, testing & debugging, learning curve, scalability, deployment & hosting, customization, performance, and future prospects.

  3. 3
    Article
    Avatar of phpdevPHP Dev·2y

    Why people complain about PHP

    The post seeks reader opinions on why PHP is often criticized and why its features are undermined. It invites both positive and negative views on PHP, asking for context to understand different perspectives better.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    Livewire VS Inertia

    Choosing between Livewire and Inertia depends on project needs and team expertise. Both offer unique benefits, such as seamless integration with front-end frameworks and server-side rendering.

  5. 5
    Article
    Avatar of communityCommunity Picks·2y

    Laravel Code Tips

    Learn how to view outdated dependencies of your Laravel app using the `composer outdated --direct` command.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Concurrency in PHP

    Explore how to achieve concurrency in PHP using the spatie/fork package, which allows for running tasks in parallel and aggregating the results, resulting in improved performance.

  7. 7
    Article
    Avatar of freekFREEK.DEV·2y

    WeakMaps, a hidden gem in PHP

    Oh Dear offers an all-in-one monitoring tool for websites, including uptime, SSL certificates, broken links, scheduled tasks, and more. It features a developer-friendly API and excellent documentation. Users can also create a public status page quickly and start monitoring with a free trial. Monthly newsletters are available with programming tips, tutorials, opinions, and packages, particularly focusing on the Laravel framework.

  8. 8
    Article
    Avatar of lnLaravel News·2y

    A Lightweight Cart Package for Laravel

    The binafy/laravel-cart package integrates shopping cart functionality into Laravel applications, simplifying tasks like storing and managing cart items, supporting multiple payment gateways, and handling recurring payments. It offers robust validation, error handling, and a highly customizable architecture, making it a versatile tool for ecommerce development.

  9. 9
    Article
    Avatar of communityCommunity Picks·2y

    HOW TO DEAL WITH EXCEPTIONS IN LARAVEL

    Learn how to better deal with exceptions in Laravel and improve error handling in your application.

  10. 10
    Article
    Avatar of communityCommunity Picks·2y

    What is Bref and serverless? – Bref

    Serverless architecture allows running applications without managing servers, offering automated scaling, cost efficiency, and reliability. Bref simplifies deploying PHP applications on AWS Lambda by providing tooling, PHP runtimes, and integration with frameworks like Laravel and Symfony. It covers use cases such as APIs, websites, and cron jobs, but may require code adjustments for legacy applications and isn't ideal for real-time apps due to possible latency.

  11. 11
    Article
    Avatar of honeybadgerHoneybadger·2y

    A guide to PHP attributes

    Learn about attributes in PHP, how to use them, and how to create your own attributes. Use attributes to add metadata to your code in a structured way.

  12. 12
    Article
    Avatar of communityCommunity Picks·2y

    Hosting Control Panel

    CloudPanel is a free, user-friendly hosting control panel focused on simplicity and performance. It supports multiple applications like PHP, Node.js, and Python, and can be launched on major cloud platforms or dedicated servers with operating systems like Debian and Ubuntu. Key features include automated backups, robust security measures, site isolation, firewall configuration, and free Let's Encrypt SSL certificates. Additionally, it offers high performance with optimized server components and low resource consumption.

  13. 13
    Article
    Avatar of communityCommunity Picks·2y

    Give WordPress a try - it's not as bad as you think

    WordPress is the most popular CMS with a dominant market share. It has evolved over the years, debunking common stereotypes. Despite its reputation, it is a flexible and secure CMS. Changes include the introduction of the Block Editor (Gutenberg), Full Site Editing, REST and GraphQL APIs, WP-CLI, WordPress Playground, 1-click and auto-updates, performance improvements, modern PHP options, templating engines, and the WordPress Performance Team. Building a WordPress website can be done with no-code/low-code, block themes, modern PHP, headless approach, or the legacy way.

  14. 14
    Article
    Avatar of hnHacker News·2y

    corcel/corcel: Use WordPress backend with Laravel or any PHP application

    Corcel is a set of PHP classes built on top of Laravel's Eloquent ORM, enabling the extraction of data directly from a WordPress database. It allows the use of WordPress as a backend, facilitating integration with any PHP application that uses Composer. Corcel is compatible with multiple Laravel versions and offers robust functionalities for post and meta data management, custom post types, taxonomies, and shortcodes. Installation is straightforward via Composer, followed by database configuration. It supports various scopes to filter and retrieve data flexibly, as well as extensions for handling custom fields and taxonomies.

  15. 15
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    PHP Arrays in Practice: How to Rebuild the Football Team Cards Project with PHP and MongoDB

    Learn how to rebuild the football team cards project from freeCodeCamp's JavaScript curriculum using PHP and MongoDB. The guide covers installation of MongoDB for PHP, setup of MongoDB Atlas, and performing CRUD operations. Basic PHP knowledge and familiarity with HTML, CSS, JavaScript, and databases are prerequisites for following along.

  16. 16
    Video
    Avatar of t3dotggTheo - t3․gg·2y

    Dev YouTubers Are Lying To Us | Theo Reacts

    YouTubers are accused of lying to viewers about job opportunities and exaggerating the potential to make money in the software engineering industry. The video also criticizes YouTubers for trend-chasing and bashing PHP. It emphasizes the importance of responsibility and research when creating videos.

  17. 17
    Article
    Avatar of lnLaravel News·2y

    Sentry and Laravel announce a new partnership

    Sentry and Laravel have announced a new partnership, making Sentry the preferred monitoring and debugging solution for Laravel projects using Forge or Vapor. The integration allows users to easily link their Sentry account, configure and connect sites, and start tracking errors immediately. Sentry also offers new features, such as a feedback widget for user bug reports.