Bookmarks tagged with #php.
Show all
Show all
Laracon 2017 – A Recap (And Links Galore) – Koomai – Medium
I attended my first Laracon in person and I have to say I really enjoyed the experience — maybe more than I expected to. It was well organised and the talks were diverse, informative and actionable…
Saved
on: 2017-07-28
Handling Incoming Webhooks in PHP | LornaJane
An increasing number of applications now offer webhooks as an integration, often in addition to an API. The classic example, familiar to most developers, is the GitHub webhooks which can notify your other systems such as CI tooling that a new commit has been added to a branch. If you imagine how m
Tags:
#php
Saved
on: 2017-07-25
Progressive Feature Rollout
The document outlines strategies for the progressive rollout of new features, emphasizing the roles of product owners, software engineers, and users in the development process. It discusses the importance of A/B testing, feature toggling, and metrics tracking using tools like Google Analytics and backend systems to assess user engagement and feature effectiveness. Key takeaways include the need for robust statistical evaluation and proper planning during feature deployment to minimize risks and enhance user experience.
Saved
on: 2017-06-22
Functional Programming in PHP7. Higher Order Functions | Neil Charlton
Saved
on: 2017-06-12
Stitcher 1.0
Create loop-able, array-like collections in PHP with type checking.
Saved
on: 2017-06-12
How to Use Laravel Mix in Non-Laravel Projects — SitePoint
Is it possible to use Laravel Mix - the "Webpack simplifier" - in non-Laravel projects? Let's find out! Join Lasse Rafn on this explanatory journey!
Saved
on: 2017-05-24
An open-source web platform for the new President of France (Symfony Blog)
The web platform running the winning campaign of the next President of France, Emmanuel Macron, is made with Symfony and is open source.
Saved
on: 2017-05-19
Type-safe data structures and bananas without gorillas in PHP : r/PHP
Saved
on: 2017-05-01
(2) SOLIDay 2015 - Mathias Verraes - Identity #4 - YouTube
Mathias Verraes - Identity SOLIDay 2015 - Conference about software architecture, best programming practices and design patterns.http://soliday.phpsrbija.rs/...
Saved
on: 2017-04-28
Is isolated testing dead? - BrandonSavage.net
Recently there’s been a great deal of discussion as to the merits of isolated testing versus integration and acceptance testing. Some proponents argue that integration testing far outweighs the value of isolated testing. While this is a perfectly valid position, I feel oversimplifies the complexity of testing in the same way that the “isolated testing […]
Saved
on: 2017-04-07
PHP UK Conference 2017 - YouTube
Share your videos with friends, family, and the world
Saved
on: 2017-04-04
How to set up your Laravel application for zero-downtime (Envoyer/Capistran
If you've ever worked with Capistrano or Envoyer, you've probably seen a directory structure in your webroot that looks something like this:
root root 4096 Mar 29 18:44 .
root root 4096 Mar 28 14:15 ..
root root 47 Mar 29 14:54 current -> ./releases/1490824249
root root 4096 Mar 29 14:50 releases
Where you're expecting to see your webroot containing your Git repository, instead it's this weird structure. What gives?
A brief introduction to Capistrano-style zero-downtime deploys
The reason you're getting zero-downtime deploy from these tools is because the entire deploy process—clone, composer install, etc.—doesn't happen in the directory that is currently serving your site. Instead, each new release gets its own separate "release" directory, all while your site is still being served from its current "release" directory.
- current -> ./releases/1490802721 * apache/nginx serves from this directory
- releases
- 1490802133 (the new release you're building right now)
- 1490802721 (latest complete release)
- 1490803081 (a little bit older release)
- 1490824249 (an even older release)
All of these release directories are just subdirectories of releases. Each directory here represents one of your deploys, and each directory individually has everything needed to serve your site. Your web server points to yourproject/current/public and therefore the "currently served" release is just that which has a symlink pointed at it from yourproject/current.
So, once the build process is complete for each new release, your deploy tool will delete the current symlink and create a new current symlink that points to your latest release. Boom. Now that release is live.
Caveats
In general, Laravel is no different from any other project in that this style of deployment works great. In fact, a tool provided by Taylor Otwell, Envoyer, is predicated around this release style.
However, every tool has a different set of caveats around how to handle them well in zero-downtime settings. Here's why:
There are always some things that you want to persist between releases. Most of it lives in databases and caches, which is fine—nothing's wiping your database on every deploy. But some isn't. Take the storage folder; do you want to wipe that every time you push a new release? Naw. What about the .env file? Definitely naw. So there are a few quick tricks.
How to set up your deploy for Laravel
Remember: If you use Envoyer, this is all handled for you. But if you don't, here's what to do.
Clone your release into a new release folder. This should be handled by your deploy tool.
composer install -o --no-interaction
php artisan migrate --no-interaction --force
(optional, if you don't commit your built scripts) npm install (or yarn) and either gulp --production (Elixir) or npm run production (Mix)
rm -rf storage && ln -s ../../storage ./
(Delete the storage directory and symlink it to a storage folder in the parent)
ln -s ../../.e
Saved
on: 2017-03-31
Typography, the right way with JoliTypo
Most of content on the web are full of typography mistakes—and I will not talk about grammar, that's another story. Content of your website is like your code, if it’s not well indented, if you don't put a carriage return in the right place, if you don’t respect code standard and
Tags:
#php
Saved
on: 2017-03-24
How to Build a NASA Photo Gallery with Zend Expressive — SitePoint
Saved
on: 2017-03-22
How We Engineered CMS Airship to be Simply Secure - Paragon Initiative Enterprises Blog
A deep dive into the security engineering decisions that went into CMS Airship. A lot of the decisions we made are subtle.
Saved
on: 2017-03-20
Slevomat Coding Standard 2.0, which helps with transition to PHP 7.0 & 7.1 and includes a lot of cool features, is out! : r/PHP
Tags:
#php
Saved
on: 2017-03-14
Using Repository Pattern in Laravel 5 - Bosnadev - Code Factory
Implementation of Repository Pattern in Laravel means separations of the data access logic from the business logic. Communication between the data access
Saved
on: 2017-03-03
Migrating a PHP 5 App to PHP 7 (Tools & Implementation) - Part 3
Let's go through migrating a simple PHP 5 app to PHP 7 and also the tools that will help to make the process painless!
Tags:
#php
Saved
on: 2017-02-09
I'm a contract Symfony PHP developer in between gigs. What questions have y
Tags:
#php
Saved
on: 2016-11-11
http://codepancake.com/php-books-for-beginners-and-intermediate/
Saved
on: 2016-01-08
Build your own PHP Framework with Symfony Components
Learn how to combine various independent Symfony components to build your own PHP framework
Tags:
#php
Saved
on: 2015-11-17
SEO-Helper/README.md at master · ARCANEDEV/SEO-Helper
:mag: SEO Helper is a package that provides tools and helpers for SEO (Search Engine Optimization). - ARCANEDEV/SEO-Helper
Saved
on: 2015-10-18
How to create a PSR-4 PHP package | Culttt
This article explains how to create a PHP package, including setting up the directory structure, creating the composer.json file, writing tests and pushing the package to GitHub and Packagist.
Tags:
#php
Saved
on: 2015-09-08
piwik/device-detector
The Universal Device Detection library will parse any User Agent and detect the browser, operating system, device used (desktop, tablet, mobile, tv, cars, console, etc.), brand and model. - GitHub...
Saved
on: 2015-08-11
DesignPatternsPHP — DesignPatternsPHP 1.0 documentation
a collection of known design patterns along with implementations in PHP8
Saved
on: 2015-08-11
Automated deployment with AWS Elastic Beanstalk (EB) – Part II | Piotr Pasich
Saved
on: 2015-08-08
Learn Symfony with Silex, the Demo App and the Best Practises Book | Symfon
Diese Domain steht zum Verkauf!
Saved
on: 2015-07-30
Continuous Deployment environment with Docker, AWS EB and Codeship | Piotr
Saved
on: 2015-07-24
malkusch/lock
Popular PHP library for serialized execution of critical code in concurrent situations - php-lock/lock
Saved
on: 2015-07-24
namshi/jose
JSON Object Signing and Encryption library for PHP. - namshi/jose
Tags:
#php
Saved
on: 2015-07-20
Domain-Driven Design - Tuts Code Article
In my country, you won't make it through school without reading how Goethe's Faust complains, I've studied now Philosophy - And Jurisprudence, Medicine, - And even, alas! Theology - All through...
Saved
on: 2015-07-17
Setting up Laravel 5.1 on Semaphore CI - YouTube
Here I show how to set up a Laravel 5.1 project on Semaphore CI for continuous integration testing.Sorry about the crickets in the background, and occasional...
Saved
on: 2015-07-14
Why experienced developers consider Laravel as a poorly designed framework?
Tags:
#php
Saved
on: 2015-07-01
Frameworkless, or How I use PHP — Medium
There are a lot of large frameworks for PHP out there that will do everything you could ever imagine. But what if you don’t need all of that extra power and complexity? I first started by looking at…
Tags:
#php
Saved
on: 2015-06-29
tpunt/PHP7-Reference · GitHub
An overview of the features, changes, and backward compatibility breakages in PHP 7 - tpunt/PHP7-Reference
Tags:
#php
Saved
on: 2015-06-22
marcelgsantos/learning-oop-in-php · GitHub
A collection of resources to learn object-oriented programming and related concepts for PHP developers. - marcelgsantos/learning-oop-in-php
Tags:
#php
Saved
on: 2015-06-16
PHP Authorization with JWT (JSON Web Tokens)
Need to authenticate requests to a server? Learn what JWTs are and how to use them to authenticate your users via API calls.
Tags:
#php
Saved
on: 2015-06-12
JetBrains PhpStorm :: Ultimate Debugging Guide
PhpStorm IDE boosts PHP developer productivity by helping write, edit, analyze, refactor, test,
and debug PHP code on Windows, macOS, and Linux.
Saved
on: 2015-06-11
10 pillars of modern PHP development
Our best practices in PHP application design
Tags:
#php
Saved
on: 2015-06-04
dunglas/DunglasApiBundle · GitHub
The server component of API Platform: hypermedia and GraphQL APIs in minutes - api-platform/core
Saved
on: 2015-05-23
Home | CRUD/MySQL Admin Generator for PHP, Laravel, Codeigniter and others
Saved
on: 2015-05-21
LessQL: PHP ORM Alternative
LessQL: A lightweight and performant PHP ORM alternative - morris/lessql
Tags:
#php
Saved
on: 2015-05-21
php-slides/src/common at master · willdurand-edu/php-slides
[OUTDATED AS OF 08/2016] Slides of my PHP lectures. - willdurand-edu/php-slides
Tags:
#php
Saved
on: 2015-05-05
shulard/CDNThumbnailer
A php library which resize images dynamically. A proxy allow to use it with a cache for an image CDN - shulard/CDNThumbnailer
Tags:
#php
Saved
on: 2015-04-24
Using BoltCMS to Build a Small Business Website
Nick Salloum takes a look at BoltCMS - a new player in the CMS game - and uses it to build a sample small business website. See how!
Tags:
#php
Saved
on: 2015-04-24
StackPHP Explained
Originally published at: http://www.sitepoint.com/stackphp-explained/ Today we are going to look at StackPHP and try to understand what this thing is all about. Although this post will have some code, this article will be rather theoretical as we are interested in learning what StackPHP actually is, where it comes from and why it is useful. As the front page of the StackPHP project says, Stack is a convention for composing HttpKernelInterface middlewares. But, in order to actually understand...
Saved
on: 2015-04-23
Introducing the Symfony Demo application (Symfony Blog) : PHP
Saved
on: 2015-04-21
Developing a web application with Lumen and MySql
This tutorial shows step-by-step how to bootstrap a Lumen project, configure MySQL, create migrations and models, seed the database, define routes and templates to build a fully working motivational quote web app in less than 30 minutes.
Tags:
#php
Saved
on: 2015-04-20
Lumen - PHP Micro-Framework By Laravel
Lumen - The Stunningly Fast PHP Micro-Framework By Laravel
Tags:
#php
Saved
on: 2015-04-14
mnapoli/silly
Silly CLI micro-framework based on Symfony Console - mnapoli/silly
Saved
on: 2015-03-23
Category Archive "ReactPHP Series" — Cees-Jan Kiewiet's blog
Saved
on: 2015-03-12
phptodayorg/php-must-watch
list of interesting conference talks and videos on PHP - - GitHub - phptodayorg/php-must-watch: list of interesting conference talks and videos on PHP -
Saved
on: 2015-03-02
beberlei/php-rfc-watch
Interactive voting results for PHP RFC process
Tags:
#php
Saved
on: 2015-02-27
Using StackPHP middleware in Laravel 5 – Barry vd. Heuvel
TLDR; Want StackPHP middleware in Laravel 5.0? Try barryvdh/laravel-stack-middleware Middleware and Laravel 4 In version 4.1, Laravel introduced compatibility with StackPHP middleware. As Laravel uses the Symfony HttpFoundation and the Application class implements the HttpKernelInterface, it made sense to support this. This made it easy to use middlewares from StackPHP,...
Saved
on: 2015-02-27
Introduction to Silex - A Symfony Micro-framework
Rafie Younes introduces Silex, the microframework from Sensiolabs, the makers of Symfony. What is it good for? Is it better than Symfony? Find out!
Saved
on: 2015-02-27
Economy of Tests
Migrate test levels to improve the long term sustainability of your test suite.
Saved
on: 2015-01-12
php-books.com官方网站👉澳洲幸运5的开奖历史-历史开奖记录168结果-幸运澳澳洲五查询开奖结果体彩-澳洲5幸运五开奖官网开奖
Sandman Books is an 幸运澳洲5官网计划 幸运五澳洲体彩官方开奖网 澳洲幸运五开奖官网开奖结果号码查询 澳洲幸运5的开奖历史-历史开奖记录168结果-幸运澳澳洲五查询开奖结果体彩 澳洲5幸运5官网开奖-奥五幸运官方记录号码查询 幸运澳洲5结果官网网站-168历史开奖记录 澳洲5历史开奖记录官方 幸运历史结果 澳洲幸运5开奖结果号码查询,历史记录,168澳洲幸运5开奖号码历史查询 澳洲幸运5官网开奖记录历史查询-168查询澳洲五记录 澳洲幸运5开奖官网开奖-澳洲幸运五官网查询开奖结果 澳洲5+澳洲幸运5官方开奖历史记录 官方澳洲幸运五开奖 168澳洲幸运5官方网站.
Tags:
#php
Saved
on: 2015-01-12
florianv/swap · GitHub
:currency_exchange: Currency exchange rates library - florianv/swap
Tags:
#php
Saved
on: 2015-01-11
Divi WordPress Theme | Elegant Themes
Divi. The most popular WordPress Theme in the world and the most advanced WordPress Page Builder.
Saved
on: 2015-01-05
Automattic/_s · GitHub
Hi. I'm a starter theme called _s, or underscores, if you like. I'm a theme meant for hacking so don't use me as a Parent Theme. Instead try turning me into the next, most awesome, Word...
Saved
on: 2015-01-05
Where is the model in Symfony2? Entities, Repositories and Services | PHPLa
Saved
on: 2014-11-25
Interfaces For Traits — We Are Connect — Medium
Traits are little more than compiler-assisted copy and paste. I love them! They have their quirks, and if you (as with everything) use them judiciously then they can be super helpful. I want to…
Tags:
#php
Saved
on: 2014-10-30
Getting Started With Aura V2 - Random thoughts | Hari KT
Yesterday aura framework v2 stable released. Lots of complains about documentation or missing documentation. So this is a quick start. Probably a five minutes walk …
Tags:
#php
Saved
on: 2014-10-06